clock running too fast

Chuck Swiger cswiger at mac.com
Sun Oct 29 14:46:19 UTC 2006


Thierry Lacoste wrote:
> On one of my servers running 6.1-RELEASE-p10 I cannot keep the clok
> synchronized using ntpd. AFAICS this is certainly because the clock
> is running way too fast (about one second per minute).
> 
> After I run ntpdate then ntpd the clock is drifting and /var/db/ntp.drift
> contains 0.00.
> 
> Is there a way to slow down the system clock (something like tickadj
> under some linux distributions) ?

Take a look at "sysctl kern.timecounter", and choose another clock from the 
list of choices (by setting kern.timecounter.hardware to something else in the 
list of choices).

If you are using TSC now, especially on a dual-CPU system, try using ACPI-safe 
or i8254 instead.  If you are using the ACPI timecounter, try looking for a 
BIOS update for your hardware; perhaps that might fix the bogus clock.

-- 
-Chuck


More information about the freebsd-questions mailing list