From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,85df2fdff400c0d3 X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: y2k problem with Ruffian (AlphaPC164UX) Date: 2000/01/07 Message-ID: <855mvg$iss$2@pulp.srv.ualberta.ca>#1/1 X-Deja-AN: 569723746 References: Organization: Disorganized Bits Reply-To: michal@phys.ualberta.ca Newsgroups: comp.os.linux.alpha Andreas Feldner (pelzi@alpha1.internal.flying-snail.de) wrote: : Ruffian, along with the 2.2.9 kernel (vsn. 1.09 of the Real Time Clock : Driver drivers/char/rtc.c) has a millennium bug. Er, no, not exactly. toaster:~# date Fri Jan 7 14:33:14 MST 2000 toaster:~# clock -ur Fri Jan 7 14:33:18 2000 -0.195702 seconds toaster:~# clock -r Fri Jan 7 21:35:10 2000 -4.469301 seconds toaster:~# cat /proc/cpuinfo .... system type : Ruffian .... : Some adventurous code to : determine the type of clock from the year number stored within breaks on : Ruffian with year 2000. It is quite possible that a version of 'clock' program you happen to be using is broken, though, but this is not likely to have something to do with millenium. Also in RH 6.1 distribution the code in /etc/rc.d/rc.sysconfig is __forcing__ a use of '-A' flag if your system boots with Milo - like Ruffian always would. The catch is that with a version of 'clock' included with 6.1 (it is actually /sbin/hwclock from util-linux package) a use of '-A' on Ruffian backs a read value by 20 years and you end up in a year 1980. The cure is simple: make sure that /etc/sysconfig/clock has 'ARC=false' in it and that these lines in /etc/rc.d/rc.sysconfig which add '-A' when they see milo are commented out. Michal