From: Marc 'BlackJack' Rintsch (marc_at_rintsch.de)
Date: 2002-12-11 19:18:10
On Tuesday 10 December 2002 23:08, Stephan Lesch wrote: > > yeah, not only that... even if i fix it, its displaying wrong time > > pretty quickly. this seems to be a linux problem, a bunch of > > friends have exactly the same problem :=P > > Same here, too :) Had that too. IIRC the kernel reads the hardware clock at boot and then uses the timer interrupt to keep the "kernel time" up to date. If you shut down the system the kernel time is compared to the hardware clock and from the difference the kernel calculates some "correction value" that is stored somewhere in /etc/ and this will be added at every n-th timer interrupt. So if you set just the kernel time an hour back, and run the computer let's say 6 hours, the kernel thinks at shut down your hardware clock is behind one hour during that 6 hour span and from the next boot on your kernel time runs faster to correct the "wrong" value read from the hardware clock at boot time. Setting kernel time *and* the hardware clock and deleting the file in /etc/ (which one? -> RTFM ;-) should fix that problem. Ciao, Marc 'BlackJack' Rintsch -- The real problem is the paranoids. They are afraid of me and are out to get me. I am sure of it. They watch my every move. They are sly and they watch from hiding and I got proof they are hiding. The proof they are hiding out there is that you can't see 'em. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-12-11 20:05:30 CET