Am 04.01.2011 02:31, schrieb Dale:
Hi,
I been watching my clock here for a while. On my old rig, ntp kept the clock
set very, very well. This rig seems to have issues. I tried the stable version
of ntp and it just seems to keep resetting the time but not adjusting the drift
file at all. I even adjusted manually once and my entry was better than the one
it made.
Maybe the drift of your systemclock is to large. E.g. in (full) virtuell
machines i experienced this problem.
In such a case ntp only resets the clock regulary ("time reset +2.171765 s" in
/var/log/ntp).[1]
I have solved it with adjtimex as i speedup the systemclock a little bit
(params: tick and freq). Since ntpd is working as expected again.
[2] gave me the hint.
Steffen
[1] man 8 ntpd (just look for "maximum slew rate")
[2] http://www.ep.ph.bham.ac.uk/general/support/adjtimex.html