* y2k problem with Ruffian (AlphaPC164UX)
@ 2000-01-07 5:00 Andreas Feldner
2000-01-07 5:00 ` Michal Jaegermann
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Feldner @ 2000-01-07 5:00 UTC (permalink / raw)
Hi,
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. Some adventurous code to
determine the type of clock from the year number stored within breaks on
Ruffian with year 2000. In fact, I'm sure that Ruffian clock is not
supported at all and only worked by accident between 1996 and 1999 ;-)
Okay, it's easy to fix for Ruffian, but then it will probably break on the
other machines! I think this really should go into some run-time
configuration option or a proper detection of the board type in use.
Unfortunately the seems to be a problem with the e-mail adress of the rtc
author :-(
So, in the mean time, any Ruffian user should check if he doesn't life
already in 2052. Also, I can tell them my cheap and dirty patch, but this
is not for public, really ;-)
Cheers, Andreas.
--
Feldner & Braun Software GdbR Tel. +49 921 47463
Fichtestr. 33 e-mail flying-snail@spektracom.de
D-95445 Bayreuth http://www.flying-snail.de/
Germany
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: y2k problem with Ruffian (AlphaPC164UX)
2000-01-07 5:00 y2k problem with Ruffian (AlphaPC164UX) Andreas Feldner
@ 2000-01-07 5:00 ` Michal Jaegermann
0 siblings, 0 replies; 2+ messages in thread
From: Michal Jaegermann @ 2000-01-07 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-01-07 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-07 5:00 y2k problem with Ruffian (AlphaPC164UX) Andreas Feldner
2000-01-07 5:00 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox