| Summary: | Clock running at 2x speed of wall clock | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Jeffrey D. Brower <Jeff> |
| Component: | i386 | Assignee: | freebsd-i386 (Nobody) <i386> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Jeffrey D. Brower
2006-10-27 20:30:19 UTC
Could you check which timecounter is being used, with the kern.timecounter.hardware sysctl? The ACPI-safe source is known to run far too fast on many systems, and it's better to use i8254 instead: try putting the following in /etc/sysctl.conf and rebooting kern.timecounter.hardware=i8254 If the clock is still running slightly fast (e.g. 1s per minute) then you can configure ntpd to track and correct the drift. There's a guide to setting it up in the handbook at http://www.freebsd.org/doc/en/books/handbook/network-ntp.html -- Bruce Cran I verified that the timecounter was indeed i8254 after I recompiled with that option and it still ran double time. Everything I tried failed - even NTP gave up because it was constantly slewing. No one could solve it and I never got an answer so I ended up pulling the box and replacing it with a more modern motherboard about a year and a half ago and I have had no problems since. Frankly, the board was past its prime anyway - but it was fine for a dedicated firewall if I could have gotten it to work. I just needed the clock to be right so that the logs would match in case I needed to do forensics. -- Jeff State Changed From-To: open->closed according to Bruce, the issue does not occur anymore as the machine has been swapped. |