From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199702050754.IAA08690@kandinsky> Date: Wed, 05 Feb 1997 04:11:44 -0500 (EST) From: David R. McGown Subject: RE: Time gets reset on reboot In-Reply-To: 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