From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199802251514.KAA06360@linux03.amt.tay1.dec.com> Date: Wed, 25 Feb 1998 10:14:40 +0500 From: Jay.Estabrook@digital.com Subject: Re: ARC=yes doesn't solve my random date problem In-Reply-To: <34F3F6A6.4DA64CF3@cogency.co.uk> >>> David Alan Gilbert said: > Jonathan L Dubois wrote: > > > > I have an LX164 running stock redhat 5.0 + updates. > > > > When I defined ARC=false in /etc/sysconfig/clock, rebooting caused the > > date to jump ~ 30 years into the future. > > > > With ARC=yes however, the date jumps ~30 years into the past. > > There are TWO problems here - and I think your fixing the wrong one!! > > Problem 1) There are two different standards for the format of date > held in the hardware clock; thats what ARC changes. If you > are exactly 20 years out then thats your problem. If you're MILO from AlphaBIOS, then ARC=true is the appropriate setting. Make sure that you set the correct date/time using the AlphaBIOS facility, or set it under LINUX using "date" and then write it *in ARC format* using "clock -w -A". > 2) The RedHat distribution 'clock' program is broken and > sometimes gives a broken value - there is an updated version > somewhere which fixes it. This is usually very noticeable; you get a real bogus date once in a while while the rest of the time it's OK. Try: while true; do clock -r -A; done and if you see some bogus dates, get: gatekeeper.dec.com:/pub/DEC/Linux-Alpha/Kernels/clock-pc164-rh50 and replace /sbin/clock with it. --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. (978) 506-4202 or (DTN) 226-4202 151 Taylor Street - TAY1-2 enet: Jay.Estabrook@digital.com Littleton, MA 01460-1407 ------------------------------------------------------------------------------- -- 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