[ltp] clock drift
Markus Alt
linux-thinkpad@www.bm-soft.com
Fri, 05 May 2000 13:04:52 +0200
Geert Janssen wrote:
>
> Dear George,
>
> I have a TP 770Z and for a while also suffered from strange time warps and
> drifts. Then I built a custom kernel (2.2.10) and choose NOT to "store RTC
> in GMT format". This solved the problem for me. Since then the Linux "date"
> consistently shows the correct date and time. I lately got ntp up and
> running
> to be even more precise since my afs client doesn't tolerate too large time
> drifts.
Similar story for me: On my 770E I have also set CONFIG_APM_RTC_IS_GMT
to "no" before building my own kernel (2.2.14 under SuSE 6.4). In
/sbin/init.d/boot.local I sync the system clock with the HW clock via
"hwclock --hctosys".
The prove that my system clock is set up correctly this way is the AFS
client I'm running. That one forces clock sync initiated by the AFS
server (which itself is synced via NTP) if the client's clock differs
too much from the server's. These messages are logged on the client side
(e.g. visisble in xconsole) and I noticed that I get far fewer (if any
at all) of those since I use that "hwclock --hctosys" line. Conclusion:
HW clock appears to be accurate.
Markus
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html