Re: Linux an my RTC don't get along

Frank van Maarseveen (F.vanMaarseveen@inter.NL.net)
Sat, 27 Nov 1999 14:48:07 +0100


On Thu, Nov 25, 1999 at 10:23:47AM -0800, brian@worldcontrol.com wrote:
> routr# rdate -s time.nist.gov
> routr# setclock
> routr# date
> Thu Nov 25 10:18:12 PST 1999
>
> routr# shutdown -f -h now
>
> (power off)
> (power on)
>
> ....
>
> routr# date
> Thu Nov 4 11:41:48 PST 1999
I've seen similar behavior. It was caused by a mistake when setting
the clock on a freshly installed system. Somehow my error
propagated into /etc/adjtime, causing an enormous clock adjust at boot
time. Look at the first number in /etc/adjtime on the first line: it
should be in the range -10.0...10.0 to be reasonable (I have 1.3).
It is safe to throw this file away (see man hwclock, man adjtimex).

-- 
Frank

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/