Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: michal@gortel.phys.ualberta.ca (Michal Jaegermann)
Subject: Re: y2k problem with Ruffian (AlphaPC164UX)
Date: 2000/01/07	[thread overview]
Message-ID: <855mvg$iss$2@pulp.srv.ualberta.ca> (raw)
In-Reply-To: Pine.LNX.4.10.10001071142120.30647-100000@alpha1.internal.flying-snail.de

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




      reply	other threads:[~2000-01-07  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-07  5:00 y2k problem with Ruffian (AlphaPC164UX) Andreas Feldner
2000-01-07  5:00 ` Michal Jaegermann [this message]
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