I also had the same time problem on an alix board with voyage 0.6.1 kernel. After some investigation, the problem was actually the usage of the geode-mfgpt timers. geode-mfgpt provides two clock sources, tsc and the default jiffies. tsc is reported unstable and jiffies is selected (you can see that by issuing the command  cat /sys/devices/system/clocksource/clocksource0/available_clocksource and  cat /sys/devices/system/clocksource/clocksource0/current_clocksource). jiffies clocksource is well known to be inacurate and losing time sync. I solved the problem by disabling geode-mfgpt timers (by adding nomfgpt in the kernel cmdline options). After that, pit is selected as clocksource and I have no timer issues.<br>
<br>I guess a newer kernel build (like the mentioned 2.6.27) might fix the geode-mfgpt tsc clocksource reported as unstable, thus eliminating the timer problem.<br><br>Hope this helps<br><br><div class="gmail_quote">On Thu, Apr 2, 2009 at 12:46 AM, Alexander Krsek <span dir="ltr"><<a href="mailto:merlin@gremlin.cz">merlin@gremlin.cz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Stéphane Acounis <stephane.acounis@...> writes:<br>
<br>
><br>
> Le Tue, 31 Mar 2009 21:21:25 -0500<br>
</div>> Sam <voyage@...> a écrit:<br>
<div class="im">><br>
> > I don't know what hardware you are using but ntp won't work on the<br>
> > alix boards as their time skew is beyond the limits allowed in ntp.<br>
> > Just running ntpdate with cron every hour or so usually works better<br>
> > (if hardware is the issue).<br>
> ><br>
> > Sam<br>
><br>
> Hi,<br>
><br>
> I'm using Voyage 0.5.2 on an Alix3c2 board.<br>
><br>
> ntpq -p<br>
>      remote           refid      st t when poll reach   delay   offset<br>
>      jitter<br>
><br>
==============================================================================<br>
>      LOCAL(0)        .LOCL.          10 l   57   64  377    0.000<br>
>      0.000   0.015 *192.168.0.1     134.158.24.1     7 u   30   64<br>
>      377    0.262    0.049   0.194<br>
><br>
> uptime:<br>
> 09:54:02 up 6 days, 17:17,  2 users,  load average: 0.00, 0.01, 0.00<br>
><br>
> The NTP server is broadcasting time he has received from the network.<br>
><br>
> So ntp is working on Alix boards.<br>
><br>
<br>
</div>It depends.<br>
<br>
I had same problem with voyage 0.6.1 (distribution kernel 2.6.26) on Alix 2D3<br>
board. Time skew was like one second less every 20 seconds.<br>
<br>
I solved it with adjtimex package, which quite fixed constant time skew and<br>
then run ntpd on top of that.<br>
<br>
Interesting is, that with (self configured/compiled) 2.6.27 kernel there is no<br>
such issue. Also some time ago, voyage 0.5.2 (with distribution kernel) did not<br>
have any such problem with ntpd on that board.<br>
<br>
So yes, ntp is working on Alix boards. And most of time without any other<br>
help ;)<br>
<div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</div></div></blockquote></div><br>