From: David R. McGown <dmcgown@access.digex.net>
Subject: RE: Time gets reset on reboot
Date: Wed, 05 Feb 1997 04:11:44 -0500 (EST) [thread overview]
Message-ID: <f71089ce1fbe25e8a4bc779946a7d135.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.3.89.9702042235.A8304-0100000@mill2.MillComm.COM>
There is a bug with clock (or a related program) that does not format the
string properly to update the system (ARC) clock. Thererfore, whenever you try
to set the system clock from Linux, the ARC clock is mis-set. My
recommendation is set the correct time from the ARC console, and disable Linux
from setting the system clock at boot. You will need to modify
/etc/rc.d/rc.sysinit
..
# 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 -u <----- Original that causes the problem
clock -A -s #<----- Fixes problem, Linux system set from
else # ARC clock
clock -a
fi
fi
else
clock -a
fi
..
David
On 05-Feb-97 Adam Forsyth wrote:
>Here's whas happening to me. Whenever I reboot my alpha the arc console
>hangs and says that there are problems that need to be fixed. It
>highlites the time and the boot selections. I can never see anything
>wrong in the boot selections menu, but when I look at the time,
>everything is correct except the year is set to 2077. I then reset it
>and tell it to boot. Durring the boot process I see a line that says
>resetting the system clock, and then the next line states the date as
>being in the year 2077. After its booted if I set the time with the X
>control pannel, it seems to keep time beautifully. My first thought was
>the battery, but only the year is messed up. The hour, minutes and date
>are correct.
>Can anybody offer any suggestions?
>
>Thanks
>
>--
>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
======================================================================
David R. McGown
dmcgown@access.digex.net -o-O-o- LINUX INSIDE!
Home: (703)683-1599 206 Adams Ave ALPHA GENERATION!
Work: (703)416-1240 Alexandria, VA 22301
--
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
next parent reply other threads:[~1997-02-05 9:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.3.89.9702042235.A8304-0100000@mill2.MillComm.COM>
1997-02-05 9:11 ` David R. McGown [this message]
1997-02-05 12:23 ` Time gets reset on reboot Steven N. Hirsch
1997-02-05 15:31 Maurice Hilarius
[not found] <Pine.LNX.3.95.970204181605.1087A-100000@notfoo.res.cmu.edu>
1997-02-05 4:36 ` Adam Forsyth
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox