* Re: Date
[not found] <Pine.BSF.3.91.961211185209.3396E-100000@phluffy.cyberport.net>
@ 1996-12-12 4:33 ` Chris Adams
1996-12-12 5:20 ` Date Michal Jaegermann
1996-12-12 8:46 ` Date Miguel Avillez
1 sibling, 1 reply; 14+ messages in thread
From: Chris Adams @ 1996-12-12 4:33 UTC (permalink / raw)
Once upon a time, Mike Holling wrote
> > On Wed, 11 Dec 1996, Randy Lee Carpenter wrote:
> > > WHy is it that Linux believes the date to be 20 years later than what the
> > > firware is set to? if I set the firmware to 1996, Linux sez 2016. Is it
> > > safe to set the firmware to 1976 so Linux is right?
> > I've got the same problem on my EB164... I've just set the date manually
> > and haven't rebooted. =)
> Same on my UDB. It's really annoying, anyone know what's going on?
I guess the Alpha systems store the date differently internally.
According to clock(8), there is a "-A" option to tell Linux that your
clock is a UDB clock. The annoying thing about this is that during
install, RedHat 4.0 asks you if your system stores the date as local,
UTC, or UDB time. However, the system assumes that if you have it on
UDB time that you are using UTC, not local, time. So, the startup files
have "clock -A -a -u" in them for the UDB. I think these should be
separate options (as some other, not to be named on this list, operating
systems prefer the time in local time).
--
Chris Adams - cadams@ro.com
System Administrator - Renaissance Internet Services
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Date
1996-12-12 4:33 ` Date Chris Adams
@ 1996-12-12 5:20 ` Michal Jaegermann
0 siblings, 0 replies; 14+ messages in thread
From: Michal Jaegermann @ 1996-12-12 5:20 UTC (permalink / raw)
>
> I guess the Alpha systems store the date differently internally.
Sigh! This is really not Alpha but ARC console - which is meant for
NT. Accordingly to docs (I do not remember where, but I know that
I did not invent that myself :-) one is supposed to have such line
CLOCKMODE="ARC"
in /etc/sysconfig/clock - IF booting from ARC and not SRM.
> According to clock(8), there is a "-A" option to tell Linux that your
> clock is a UDB clock.
Not exactly. This is what I see on the manpage:
-A Indicates that the clock is in the ARC Console's
time
I have seen Alpha shifting time on a reboot but by some hours and
not by 20 years. :-)
> RedHat 4.0 asks you if your system stores the date as local,...
I did fall in the same trap initially. "LOCAL" in this context seems
to mean something totally different.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Date
[not found] <Pine.BSF.3.91.961211185209.3396E-100000@phluffy.cyberport.net>
1996-12-12 4:33 ` Date Chris Adams
@ 1996-12-12 8:46 ` Miguel Avillez
1 sibling, 0 replies; 14+ messages in thread
From: Miguel Avillez @ 1996-12-12 8:46 UTC (permalink / raw)
hi
I done the following :
I change the date in the firmaware then I went to the system setup and
changed another thing to the it was already and saved the changes (which
actually were none)
and reboot the machine it works perfectly allright. I guess that because
you change the date in firmaware and not save the changes when you reboot
it cames with year 2016... uf ...
anyway the problem has to do with firmware..actually when you change the
date setup there is no option to save the changes...
hope this helps
I am, using a 233 MHz UDB with RH-4.0
On Wed, 11 Dec 1996, Mike Holling wrote:
> > On Wed, 11 Dec 1996, Randy Lee Carpenter wrote:
> >
> > > WHy is it that Linux believes the date to be 20 years later than what the
> > > firware is set to? if I set the firmware to 1996, Linux sez 2016. Is it
> > > safe to set the firmware to 1976 so Linux is right?
> > >
> > I've got the same problem on my EB164... I've just set the date manually
> > and haven't rebooted. =)
>
> Same on my UDB. It's really annoying, anyone know what's going on?
>
> - Mike
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* date
@ 1998-04-25 0:12 Joakim Roubert
0 siblings, 0 replies; 14+ messages in thread
From: Joakim Roubert @ 1998-04-25 0:12 UTC (permalink / raw)
To: Axp List
Hi!
In some of the mail I send I get the date screwed up; instead of a nice
and clean date there is a lot och garbage characters. (RH 4.1).
This is a known bug, I reckon, but I don't know what programs that are
involved (=what rpm:s I ought to upgrade). Ideas?
/Jokke tmw.
---
* Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
Vem vill vara techno-hög när man kan vara teknolog? :nigirO *
^ permalink raw reply [flat|nested] 14+ messages in thread[parent not found: <Pine.LNX.3.95.961212084408.996A-100000@astro1.ce.uevora.pt>]
[parent not found: <Pine.SUN.3.91.961211192634.1784A-100000@promised-land>]
* Re: Date
[not found] <Pine.SUN.3.91.961211192634.1784A-100000@promised-land>
@ 1996-12-12 1:53 ` Mike Holling
1996-12-12 4:29 ` Date Brian E.W. Wood
` (2 subsequent siblings)
3 siblings, 0 replies; 14+ messages in thread
From: Mike Holling @ 1996-12-12 1:53 UTC (permalink / raw)
> On Wed, 11 Dec 1996, Randy Lee Carpenter wrote:
>
> > WHy is it that Linux believes the date to be 20 years later than what the
> > firware is set to? if I set the firmware to 1996, Linux sez 2016. Is it
> > safe to set the firmware to 1976 so Linux is right?
> >
> I've got the same problem on my EB164... I've just set the date manually
> and haven't rebooted. =)
Same on my UDB. It's really annoying, anyone know what's going on?
- Mike
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Date
[not found] <Pine.SUN.3.91.961211192634.1784A-100000@promised-land>
1996-12-12 1:53 ` Date Mike Holling
@ 1996-12-12 4:29 ` Brian E.W. Wood
1996-12-12 7:18 ` Date Randy Lee Carpenter
1996-12-12 15:32 ` Date jestabro
3 siblings, 0 replies; 14+ messages in thread
From: Brian E.W. Wood @ 1996-12-12 4:29 UTC (permalink / raw)
On Wed, 11 Dec 1996, sp0t the w0nder slug wrote:
> On Wed, 11 Dec 1996, Randy Lee Carpenter wrote:
>
> > WHy is it that Linux believes the date to be 20 years later than what the
> > firware is set to? if I set the firmware to 1996, Linux sez 2016. Is it
> > safe to set the firmware to 1976 so Linux is right?
> >
> I've got the same problem on my EB164... I've just set the date manually
> and haven't rebooted. =)
Hmmm.... My UDB sometimes gets the date correct when I boot and sometimes
gets the day and month correct but thinks it is 1980. I have been
just checking the date when I boot and re-booting if the machine i
living in the past (I don't re-boot very often).
Sure sounds like some strange things are happening with the clock.
Brian E.W. Wood
beww@intac.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Date
[not found] <Pine.SUN.3.91.961211192634.1784A-100000@promised-land>
1996-12-12 1:53 ` Date Mike Holling
1996-12-12 4:29 ` Date Brian E.W. Wood
@ 1996-12-12 7:18 ` Randy Lee Carpenter
1996-12-12 15:32 ` Date jestabro
3 siblings, 0 replies; 14+ messages in thread
From: Randy Lee Carpenter @ 1996-12-12 7:18 UTC (permalink / raw)
On Wed, 11 Dec 1996, sp0t the w0nder slug wrote:
> On Wed, 11 Dec 1996, Randy Lee Carpenter wrote:
>
> > WHy is it that Linux believes the date to be 20 years later than what the
> > firware is set to? if I set the firmware to 1996, Linux sez 2016. Is it
> > safe to set the firmware to 1976 so Linux is right?
> >
> I've got the same problem on my EB164... I've just set the date manually
> and haven't rebooted. =)
Doing this totally hosed the Firmware settings. Went to 2076, and fubar'ed
the time too.
> --
> David Savilonis
> MIT Artificial Intelligence Lab
> Cambridge, Ma
> spot@ai.mit.edu
>
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
____________________________________________________________________________
Randy Carpenter - Computer Science Major, Recording Technology Minor
Bowling Green State University
Computer Consultant - University Computer Services
email: rcarpen@mail.bgsu.edu
WWW: http://www.bgsu.edu/~rcarpen/
____________________________________________________________________________
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Date
[not found] <Pine.SUN.3.91.961211192634.1784A-100000@promised-land>
` (2 preceding siblings ...)
1996-12-12 7:18 ` Date Randy Lee Carpenter
@ 1996-12-12 15:32 ` jestabro
3 siblings, 0 replies; 14+ messages in thread
From: jestabro @ 1996-12-12 15:32 UTC (permalink / raw)
>>> sp0t the w0nder slug said:
> On Wed, 11 Dec 1996, Randy Lee Carpenter wrote:
>
> > WHy is it that Linux believes the date to be 20 years later than what the
> > firware is set to? if I set the firmware to 1996, Linux sez 2016. Is it
> > safe to set the firmware to 1976 so Linux is right?
> >
> I've got the same problem on my EB164... I've just set the date manually
> and haven't rebooted. =)
When booting from ARC console (via MILO), one wants the clock command
executed during bootup to be:
clock -A -a
which tells the code to expect the year to be as maintained by the ARC
firmware.
The /etc/sysconfig/clock script file should contain:
CLOCKMODE="ARC"
And finally, the /etc/rc.d/rc.sysinit script file should have clock-related
stuff looking like:
> # Set the system clock.
> echo -n "Setting clock: "
>
> if [ -f /etc/sysconfig/clock ]; then
> . /etc/sysconfig/clock
> if [ ${CLOCKMODE} = "GMT" ]; then
> clock -u -a
> else
> if [ ${CLOCKMODE} = "ARC" ]; then
> clock -A -a
> else
> clock -a
> fi
> fi
> else
> clock -a
> fi
>
> date
Note especially the intentionally missing "-u" on the "clock -A -a" line. I
think this was a problem with the stock RedHat 4.0 script?
If you run from SRM, then CLOCKMODE would be LOCAL or GMT, I guess, and you'd
not want the "-u" on anything *except* when "GMT", as above.
Make sure, if you update the time while running LINUX, that you write it
back to the hardware with the appropriate switches; ie, if booting via ARC,
use "clock -A -w".
Would someone please put this in a FAQ somewhere?
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools - LINUX Project
Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Date
@ 1996-12-12 4:16 Steven N. Hirsch
0 siblings, 0 replies; 14+ messages in thread
From: Steven N. Hirsch @ 1996-12-12 4:16 UTC (permalink / raw)
Randy Lee Carpenter wrote:
>
> WHy is it that Linux believes the date to be 20 years later than what the
> firware is set to? if I set the firmware to 1996, Linux sez 2016. Is it
> safe to set the firmware to 1976 so Linux is right?
>
Per the 'man' page for Alpha Linux's clock command, try:
$ clock -A -a
The '-A' apparently compensates for a different concept of the epoch
from that held by most PC clocks.
Steve
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <Pine.OSF.3.93.961211182512.16514A-100000@alpha.bgsu.edu>]
* Re: Date
[not found] <Pine.OSF.3.93.961211182512.16514A-100000@alpha.bgsu.edu>
@ 1996-12-12 0:27 ` sp0t the w0nder slug
0 siblings, 0 replies; 14+ messages in thread
From: sp0t the w0nder slug @ 1996-12-12 0:27 UTC (permalink / raw)
On Wed, 11 Dec 1996, Randy Lee Carpenter wrote:
> WHy is it that Linux believes the date to be 20 years later than what the
> firware is set to? if I set the firmware to 1996, Linux sez 2016. Is it
> safe to set the firmware to 1976 so Linux is right?
>
I've got the same problem on my EB164... I've just set the date manually
and haven't rebooted. =)
--
David Savilonis
MIT Artificial Intelligence Lab
Cambridge, Ma
spot@ai.mit.edu
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <43n2vlwhr6.fsf@comnets.rwth-aachen.de>]
* Re: Date
[not found] <43n2vlwhr6.fsf@comnets.rwth-aachen.de>
@ 1996-12-11 23:26 ` Randy Lee Carpenter
0 siblings, 0 replies; 14+ messages in thread
From: Randy Lee Carpenter @ 1996-12-11 23:26 UTC (permalink / raw)
WHy is it that Linux believes the date to be 20 years later than what the
firware is set to? if I set the firmware to 1996, Linux sez 2016. Is it
safe to set the firmware to 1976 so Linux is right?
On 11 Dec 1996, Martin Ostermann wrote:
> RHS Linux User <Soren@dk-online.dk> writes:
> > How do I get my linux to save the date ????. Everytime I start my computer
> > the date is 1970.....
>
> 'man clock'
>
> 'apropos' is a good way to find out about unknown commands.
>
> Martin
> --
> Martin Ostermann | mailto:ost@comnets.rwth-aachen.de
> Communication Networks | http://www.comnets.rwth-aachen.de/~ost
> Aachen University of Technology | phoneto:++49/241/807917
> Germany | faxto:++49/241/8890378
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
____________________________________________________________________________
Randy Carpenter - Computer Science Major, Recording Technology Minor
Bowling Green State University
Computer Consultant - University Computer Services
email: rcarpen@mail.bgsu.edu
WWW: http://www.bgsu.edu/~rcarpen/
____________________________________________________________________________
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Date
@ 1996-12-11 9:30 Martin Ostermann
0 siblings, 0 replies; 14+ messages in thread
From: Martin Ostermann @ 1996-12-11 9:30 UTC (permalink / raw)
RHS Linux User <Soren@dk-online.dk> writes:
> How do I get my linux to save the date ????. Everytime I start my computer
> the date is 1970.....
'man clock'
'apropos' is a good way to find out about unknown commands.
Martin
--
Martin Ostermann | mailto:ost@comnets.rwth-aachen.de
Communication Networks | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phoneto:++49/241/807917
Germany | faxto:++49/241/8890378
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Date
@ 1996-12-10 18:57 RHS Linux User
0 siblings, 0 replies; 14+ messages in thread
From: RHS Linux User @ 1996-12-10 18:57 UTC (permalink / raw)
Hi....
How do I get my linux to save the date ????. Everytime I start my computer
the date is 1970.....
Regards, Soren
---
Soren Mathiasen Roskilde Business College
Soren@dk-online.dk Computer Science Department
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~1998-04-25 0:33 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.BSF.3.91.961211185209.3396E-100000@phluffy.cyberport.net>
1996-12-12 4:33 ` Date Chris Adams
1996-12-12 5:20 ` Date Michal Jaegermann
1996-12-12 8:46 ` Date Miguel Avillez
1998-04-25 0:12 date Joakim Roubert
[not found] <Pine.LNX.3.95.961212084408.996A-100000@astro1.ce.uevora.pt>
1996-12-12 20:32 ` Date sp0t the w0nder slug
[not found] <Pine.SUN.3.91.961211192634.1784A-100000@promised-land>
1996-12-12 1:53 ` Date Mike Holling
1996-12-12 4:29 ` Date Brian E.W. Wood
1996-12-12 7:18 ` Date Randy Lee Carpenter
1996-12-12 15:32 ` Date jestabro
-- strict thread matches above, loose matches on Subject: below --
1996-12-12 4:16 Date Steven N. Hirsch
[not found] <Pine.OSF.3.93.961211182512.16514A-100000@alpha.bgsu.edu>
1996-12-12 0:27 ` Date sp0t the w0nder slug
[not found] <43n2vlwhr6.fsf@comnets.rwth-aachen.de>
1996-12-11 23:26 ` Date Randy Lee Carpenter
1996-12-11 9:30 Date Martin Ostermann
1996-12-10 18:57 Date RHS Linux User
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox