Re: Kernel unable to adjust timeofday

From: Rafal
Date: Sat Oct 04 2008 - 21:46:38 EST


H. Peter Anvin wrote:

> adjtimex --tick 9972
>
> ... in your startup scripts, before ntpd is started.
>
> If NTP still goes off the rails, then adjust the tick value in steps of
> about 5 until you can get it to converge.
>
> -hpa

Hi,
after adjtimex --tick 10029 the calls to ntpdate pool.ntp.org seem to be
working:

5 Oct 03:42:37 ntpdate[13218]: adjust time [...] offset -0.318571 sec
5 Oct 03:42:44 ntpdate[13223]: adjust time [...] offset -0.318193 sec
5 Oct 03:43:14 ntpdate[13226]: adjust time [...] offset -0.317724 sec
5 Oct 03:43:49 ntpdate[13233]: adjust time [...] offset -0.326299 sec
5 Oct 03:45:01 ntpdate[13263]: adjust time [...] offset -0.325523 sec

Which seems to be improvement since previously the offset was increasing 0.1
0.2 0.3 etc, untill it reached 0.5 and then jumped to 0.

Now I will test with ntpd but I hope it will work this time;
Thanks

--
RafaÅ Maj
Software developer
http://www.limcore.com/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/