[LinuxPPS] NTP not using PPS

susmi sarah george sarah_13 at rediffmail.com
Wed Oct 24 17:44:51 CEST 2007


  
i configured my GPS Receiver for NMEA(RMC),
I used latest LinuxPPS Patch - ntp-pps-2.6.23-bis.diff
My ntp package is : ntp-4.2.4p4
i patched ntp package for Linuxpps Support bu using nmea.patch.
Kernel version :2.6.23rc2

i am getting following outputs,but i dont know whether NMEA is taking pps or not.No information about pps in kernel log messages.
Please Help me how to check whether my time server is taking PPS or NOT

root at localhost log]# dmesg
PPS event on source 3 at at 1193236985.781147147
capture assert seq #2788 for source 3
PPS event on source 3 at at 1193236986.520945043
capture clear seq #2789 for source 3
PPS event on source 3 at at 1193236986.780678343
capture assert seq #2789 for source 3
PPS event on source 3 at at 1193236987.520951972
capture clear seq #2790 for source 3
PPS event on source 3 at at 1193236987.780722708
capture assert seq #2790 for source 3
PPS event on source 3 at at 1193236988.520958638
capture clear seq #2791 for source 3

[root at localhost log]# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*GPS_NMEA(3)     .GPS.            0 l   14   16  377    0.000   -1.013   1.688
 LOCAL(0)        LOCAL(0)        10 l   29   64  377    0.000    0.000   0.004
[root at localhost log]# ntpq
ntpq> rv
assID=0 status=0464 leap_none, sync_uhf_clock, 6 events, event_peer/strat_chg,
version="ntpd 4.2.0a at 1.1190-r Mon Oct 11 09:10:20 EDT 2004 (1)",
processor="i686", system="Linux/2.6.23-rc2", leap=00, stratum=1,
precision=-18, rootdelay=0.000, rootdispersion=2.818, peer=36156,
refid=GPS, reftime=cac9d883.00292817  Wed, Oct 24 2007 20:13:15.000,
poll=4, clock=cac9d886.b991dde3  Wed, Oct 24 2007 20:13:18.724, state=4,
offset=-0.708, frequency=-142.059, noise=1.271, jitter=2.074,
stability=1.520


if i see log messages,vi /var/log/messages

Oct 24 19:32:15 localhost ntpd: ntpd startup succeeded
Oct 24 19:32:17 localhost ntpd[16608]: peer GPS_NMEA(3) event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)
Oct 24 19:32:17 localhost ntpd[16608]: peer LOCAL(0) event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)
Oct 24 19:33:04 localhost ntpd[16608]: system event 'event_peer/strat_chg' (0x04) status 'sync_alarm, sync_uhf_clock, 2 events, event_restart' (0xc421)
Oct 24 19:33:04 localhost ntpd[16608]: synchronized to GPS_NMEA(3), stratum 0
Oct 24 19:32:53 localhost ntpd[16608]: time reset -11.937932 s
Oct 24 19:32:53 localhost ntpd[16608]: kernel time sync disabled 0041
Oct 24 19:32:53 localhost ntpd[16608]: system event 'event_clock_reset' (0x05) status 'sync_alarm, sync_unspec, 3 events, event_peer/strat_chg' (0xc034)
Oct 24 19:33:08 localhost ntpd[16608]: peer GPS_NMEA(3) event 'event_reach' (0x84) status 'unreach, conf, 2 events, event_reach' (0x8024)
Oct 24 19:33:56 localhost ntpd[16608]: peer LOCAL(0) event 'event_reach' (0x84) status 'unreach, conf, 2 events, event_reach' (0x8024)
Oct 24 19:33:58 localhost ntpd[16608]: system event 'event_peer/strat_chg' (0x04) status 'sync_alarm, sync_uhf_clock, 4 events, event_clock_reset' (0xc445)
Oct 24 19:33:58 localhost ntpd[16608]: synchronized to GPS_NMEA(3), stratum 0
Oct 24 19:33:58 localhost ntpd[16608]: system event 'event_sync_chg' (0x03) status 'leap_none, sync_uhf_clock, 5 events, event_peer/strat_chg' (0x454)
Oct 24 19:33:58 localhost ntpd[16608]: system event 'event_peer/strat_chg' (0x04) status 'leap_none, sync_uhf_clock, 6 events, event_sync_chg' (0x463)
Oct 24 19:34:14 localhost ntpd[16608]: kernel time sync enabled 0001


thnaks,
lola.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.enneenne.com/pipermail/linuxpps/attachments/20071024/97cb1608/attachment.htm


More information about the LinuxPPS mailing list