[Soekris] clock drift on net4801 + FreeBSD 4.9

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Nov 12 20:46:04 UTC 2003


In message <011201c3a95c$eb396b40$0c7fa8c0 at asus2000>, "Denis Fortin" writes:

>Amongst other things, the machine is running ntpd to have the correct time.
>
>However, looking at the /var/log/messages, I see this:
>
>    Nov  9 21:22:45 poterne ntpd[77]: time reset -0.181141 s
>    Nov 10 01:11:41 poterne ntpd[77]: time reset 0.205618 s
>    Nov 11 01:43:40 poterne ntpd[77]: time reset -0.136751 s
>    Nov 11 10:09:10 poterne ntpd[77]: time reset -0.222172 s
>    Nov 11 12:13:30 poterne ntpd[77]: time reset 0.138263 s
>    Nov 11 15:35:37 poterne ntpd[77]: time reset 0.142746 s
>    Nov 12 20:53:29 poterne ntpd[77]: time reset -0.219649 s
>
>Now, that doesn't look too good...
>
>What should I be doing to get the clock to be more stable?  Any suggestions?

You need to disable the TSC, it should not be used as timecounter,
try:
	sysctl kern.timecounter.hardware=i8254


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the Soekris-tech mailing list