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

unruh unruh at invalid.ca
Fri Feb 10 23:53:08 UTC 2012


On 2012-02-10, Mark C. Stephens <marks at non-stop.com.au> wrote:
> 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

No idea why your have those # in there. AFAIK a # is recongnized as a
comment only if it occurs at the beginning of the line. Anyway I would
remove them all. and if you want to change something in the line, remove
it. 

> 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