[ntp:questions] uclinux and ntpd

DeviPrasad Natesan ndprasad at gmail.com
Wed May 17 02:22:18 UTC 2006


Hi,
I am running ntpd(version 4.1.1) from the uclinux-dist in my
target(microblaze) running at 60mhz and trying to sync my system time
with one of the internal server which has startum 1 source.  I am
getting a periodic time slip with clock moving from stratum 2 to 16
and back to stratum2. I am not sure is it uClinux/microblaze specific.
I used the default config.h for the uclinux.

I used the same config.h to configure it to run in the native desktop
linux passing the same ntp.conf and i see it is getting synchronised
one shot and no drift after that (in the last one day atleast).  So i
am just wondering is it specific to uClinux/microblaze as it works ok
on the native linux.

Has anybody running ntpd successfully without stratum drift in the
uclinux? I posted the same question in the uclinux forum.
Any pointers on what may be the reason this is happening will be really helpful.

Thanx
- Prasad

==============================================================
6>May 16 02:23:08 ntpd[143]: osys_peer != sys_peer Event: Peer Stratum Change
<5>May 16 02:23:08 ntpd[143]: time set -0.004777 s
<6>May 16 02:23:08 ntpd[143]: Clock was Stepped.Event
ClockReset.synchronisation lost
<6>May 16 02:23:08 ntpd[143]: Leap not in Sync.Report SyncChnage
<6>May 16 02:26:27 ntpd[143]: osys_peer != sys_peer Event: Peer Stratum Change
<6>May 16 02:26:27 ntpd[143]: Leap not in Sync.Report SyncChnage
<6>May 16 02:26:27 ntpd[143]: ostratum = 16 sys_stratum=2
<6>May 16 02:26:27 ntpd[143]: clock_update ostratum != sys_stratum
Event: Peer Stratum Change
<5>May 16 02:39:17 ntpd[143]: time reset 0.397058 s
<6>May 16 02:39:17 ntpd[143]: Clock was Stepped.Event
ClockReset.synchronisation lost
<6>May 16 02:39:17 ntpd[143]: ostratum = 2 sys_stratum=16
<6>May 16 02:39:17 ntpd[143]: clock_update ostratum != sys_stratum
Event: Peer Stratum Change
<6>May 16 02:42:31 ntpd[143]: osys_peer != sys_peer Event: Peer Stratum Change
<6>May 16 02:42:31 ntpd[143]: ostratum = 16 sys_stratum=2
<6>May 16 02:42:31 ntpd[143]: clock_update ostratum != sys_stratum
Event: Peer Stratum Change
==============================================================

 ntpdc -p
 remote           local      st poll reach  delay   offset    disp
=======================================================================
*192.168.1.199   192.168.1.104    1   64   37 0.00174 -0.596261 0.43750
=ems02.your-free 192.168.1.104    3   64   37 0.00000  0.000000 0.43750



More information about the questions mailing list