[ntp:questions] Come back PPS I miss you!

Mark C. Stephens marks at non-stop.com.au
Fri Feb 10 15:09:08 UTC 2012


So.. I am replying to my own posts too..




Started ntpd in debug and seeing a lot of GPS_NMEA(1) PPS_RELATE_NONE


>From the source:
* The function returns PPS_RELATE_NONE (0) if no PPS edge correlation
 * can be fixed; PPS_RELATE_EDGE (1) when a PPS edge could be fixed, but
 * the distance to the reference time stamp is too big (exceeds +/-400ms)
 * and the ATOM driver PLL cannot be used to fix the phase; and
 * PPS_RELATE_PHASE (2) when the ATOM driver PLL code can be used.

So does this mean basically I am screwed and can get on with life?


Many thanks,
Mark


-----Original Message-----
From: Mark C. Stephens 
Sent: Friday, 10 February 2012 11:47 PM
To: 'questions at lists.ntp.org'
Subject: Come back PPS I miss you! 

Hi All, and probably Dave specifically,


I have tried everything with my PPS, inverting it in hardware, in software (flag2 1) I just can't get PPS tally to come on.

Today, I restarted and noticed:
refclock_params: time_pps_setparams: Unknown error: 45

in event log.

Here is the usual:

Config:
keys "C:\Program Files\NTP\etc\ntp.key"
trustedkey 1 100 101
requestkey 100
controlkey 101
driftfile "D:\NTP\ntp.drift"

#server 127.127.20.1 mode 24 minpoll 4 maxpoll 4 # prefer # noselect #mode 24 # # NMEA serial port, 16 = 9600 baud, 8 = $GPZDA server 127.127.20.1 mode 24 minpoll 4 maxpoll 4 # prefer # noselect #mode 24 # # NMEA serial port, 16 = 9600 baud, 8 = $GPZDA fudge 127.127.20.1 flag1 1 flag2 1 time2 -0.4886745895 #fudge 127.127.20.1 flag1 1 time2 -0.4886745895

peer ntp.non-stop.com.au iburst

# Aussie time servers
<removed>

#ignore_bigtimestep yes
logconfig =clockevents +syncevents +sysevents +clockstatus +syncstatus +sysstatus +clockinfo +syncinfo +sysinfo +clockall +syncall +sysall enable stats statsdir D:\ntp\stats statistics loopstats peerstats clockstats

C:\Program Files\NTP\bin>ntpq -c ass -c "rv &1"

ind assid status  conf reach auth condition  last_event cnt ===========================================================
  1 47083  9659   yes   yes  none  sys.peer  leap_armed  5
  2 47084  9424   yes   yes  none candidate   reachable  2
  3 47085  9324   yes   yes  none   outlyer   reachable  2
  4 47086  9324   yes   yes  none   outlyer   reachable  2
  5 47087  9424   yes   yes  none candidate   reachable  2
associd=47083 status=9659 conf, reach, sel_sys.peer, 5 events, leap_armed, srcadr=GPS_NMEA(1), srcport=123, dstadr=127.0.0.1, dstport=123, leap=00, stratum=0, precision=-9, rootdelay=0.000, rootdisp=0.000, refid=GPS,
reftime=d2df8b4f.83033977  Fri, Feb 10 2012 23:25:51.511,
rec=d2df8b50.02e7f094  Fri, Feb 10 2012 23:25:52.011, reach=377, unreach=0, hmode=3, pmode=4, hpoll=4, ppoll=4, headway=0, flash=00 ok, keyid=0, ttl=229, offset=-0.446, delay=0.000, dispersion=0.234, jitter=0.051,
filtdelay=     0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00,
filtoffset=   -0.45   -0.49   -0.41   -0.44   -0.37   -0.39   -0.42   -0.37,
filtdisp=      0.00    0.24    0.48    0.72    0.96    1.20    1.46    1.68

C:\Program Files\NTP\bin>ntpq -c ass -c "rv &1"

ind assid status  conf reach auth condition  last_event cnt ===========================================================
  1 47083  9659   yes   yes  none  sys.peer  leap_armed  5
  2 47084  9424   yes   yes  none candidate   reachable  2
  3 47085  9324   yes   yes  none   outlyer   reachable  2
  4 47086  9324   yes   yes  none   outlyer   reachable  2
  5 47087  9424   yes   yes  none candidate   reachable  2
associd=47083 status=9659 conf, reach, sel_sys.peer, 5 events, leap_armed, srcadr=GPS_NMEA(1), srcport=123, dstadr=127.0.0.1, dstport=123, leap=00, stratum=0, precision=-9, rootdelay=0.000, rootdisp=0.000, refid=GPS,
reftime=d2df8b4f.83033977  Fri, Feb 10 2012 23:25:51.511,
rec=d2df8b50.02e7f094  Fri, Feb 10 2012 23:25:52.011, reach=377, unreach=0, hmode=3, pmode=4, hpoll=4, ppoll=4, headway=0, flash=00 ok, keyid=0, ttl=229, offset=-0.446, delay=0.000, dispersion=0.234, jitter=0.051,
filtdelay=     0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00,
filtoffset=   -0.45   -0.49   -0.41   -0.44   -0.37   -0.39   -0.42   -0.37,
filtdisp=      0.00    0.24    0.48    0.72    0.96    1.20    1.46    1.68

C:\Program Files\NTP\bin>ntpq -c peer
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*GPS_NMEA(1)     .GPS.            0 l    7   16  377    0.000   -0.559   0.093
+ntp             .GPS.            1 s   25   64  376    0.370    3.274   0.227
<removed>

I have just restarted so it takes many moons to settle down again, if any idea what's going on, now would be a good time, before it settles down too much?

Many thanks, Mark






More information about the questions mailing list