Hi experts, I am trying to run 'ntpd' on power-pc platform running 2.6.28 linux. I am able to cross compile, and run ntpd on my system. It is able to communicate with "servers" and get reference time. But, when I run "ntpq -c rv", I get the following output.
ntpq> rv associd=0 status=c628 leap_alarm, sync_ntp, 2 events, no_sys_peer, version="ntpd [email protected] Fri Aug 20 20:58:47 UTC 2010 (2)", processor="ppc", system="Linux/2.6.28.9", leap=11, stratum=2, precision=-20, rootdelay=11.349, rootdisp=2296.181, refid=16.84.134.123, reftime=d0196bc4.f13c2bd0 Fri, Aug 20 2010 16:01:56.942, clock=d0196bce.5000fbaa Fri, Aug 20 2010 16:02:06.312, peer=22672, tc=4, mintc=3, offset=0.000, frequency=0.000, sys_jitter=819.249, clk_jitter=56.636, clk_wander=0.000 The status is always "leap_alarm". I think, that means leap is not in sync. Please suggest me why is it so? Is it anything to do with the realtime clock in the system? Is it something to do with linux kernel in my system. Please someone help me out. I am not able to make any progress. Few other debug outputs. ntpq> pe remote refid st t when poll reach delay offset jitter ============================================================================== +ntp.hp.net 16.230.58.10 3 u 45 64 377 1.335 5535.47 3093.59 *ntp1.usa.hp.com .GPS. 1 u 2 16 377 11.316 5982.03 723.065 ntpq> as ind assid status conf reach auth condition last_event cnt =========================================================== 1 22671 9414 yes yes none candidate reachable 1 2 22672 961a yes yes none sys.peer sys_peer 1 ntpq> rv 22672 associd=22672 status=961a conf, reach, sel_sys.peer, 1 event, sys_peer, srcadr=ntp1.usa.hp.com, srcport=123, dstadr=16.84.190.146, dstport=123, leap=00, stratum=1, precision=-17, rootdelay=0.000, rootdisp=1.480, refid=GPS, reftime=d0196d80.3eae6c8f Fri, Aug 20 2010 16:09:20.244, rec=d0196d92.f13c16a4 Fri, Aug 20 2010 16:09:38.942, reach=377, unreach=0, hmode=3, pmode=4, hpoll=4, ppoll=4, headway=6, flash=00 ok, keyid=0, offset=6143.689, delay=11.326, dispersion=0.240, jitter=723.031, xleave=0.057, filtdelay= 11.33 11.32 11.31 11.36 11.33 11.34 11.38 11.43, filtoffset= 6143.69 5982.03 5820.36 5658.67 5497.00 5335.32 5173.65 5011.94, filtdisp= 0.01 0.25 0.49 0.73 0.97 1.21 1.45 1.69 Regards sreedhar _______________________________________________ pool mailing list [email protected] http://lists.ntp.org/listinfo/pool
