[Soekris] Time drift on a net4801

Andreas Kahari ak+soekris at freeshell.org
Tue Jul 27 21:33:24 UTC 2004


On Sat, Jul 24, 2004 at 10:27:24PM -0000, Robbie Stone wrote:
> Hi,
> 
> I'm running OpenBSD 3.5 on a net4801 with NTP v4.1.1c-rc1 at 1.836 and I keep
> seeing time slew errors reported in my syslog. 
> 
> Jul 23 14:25:27 charon ntpd[19849]: time slew -0.344605 s
> Jul 23 23:31:34 charon ntpd[19849]: time slew 0.183619 s
[cut]
> 
> It seems like the time is drifting quite a bit. Has anyone else run into this? 
> Should I be tuning a kernel option or changing the timer values to compensate
> for the constant clock drift? NTP is mitigating the problem, of course, but
> without being synced it would drift way the heck off :-\ Not exactly what I'd
> like..
> 
> So, any ideas?

(sorry if this message is duplicated)


I'm not sure what could be causing that.  Try the new native
ntpd in OpenBSD-current if you have the opportunity.  I
just set up a 4801 running -current and I don't have any
time-keeping problems.  This is syncing against some servers in
uk.pool.ntp.org:

Jul 27 17:13:57 gateway ntpd[13999]: adjusting local clock by 0.076639s
Jul 27 17:49:26 gateway ntpd[13999]: adjusting local clock by -0.004229s
Jul 27 18:22:08 gateway ntpd[13999]: adjusting local clock by 0.011131s
Jul 27 18:51:30 gateway ntpd[13999]: adjusting local clock by 0.015726s
Jul 27 19:10:28 gateway ntpd[13999]: adjusting local clock by 0.042424s
Jul 27 19:36:30 gateway ntpd[13999]: adjusting local clock by 0.068440s
Jul 27 20:07:18 gateway ntpd[13999]: adjusting local clock by 0.043587s
Jul 27 20:45:37 gateway ntpd[13999]: adjusting local clock by 0.033549s
Jul 27 21:09:52 gateway ntpd[13999]: adjusting local clock by 0.004181s
Jul 27 21:45:37 gateway ntpd[13999]: adjusting local clock by -0.023282s

Two adjustments per hour seems to be what it settles for.

$ sysctl kern.version
kern.version=OpenBSD 3.5-current (GENERIC) #31: Sun Jul 25 20:51:53 BST 2004
    root at shibito.local:/usr/src/sys/arch/i386/compile/GENERIC


-- 
Andreas Kähäri

:wq



More information about the Soekris-tech mailing list