[chrony-users] chrony not demoting broken PPS source |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] chrony not demoting broken PPS source
- From: Chris Spencer <spencercw@xxxxxxxxx>
- Date: Wed, 9 Sep 2020 10:55:41 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=r/Yksz7MQbmxV7z3iEopoREXaWg4eZ5W5IIp2eTqKZI=; b=X/TWYI8p/PbmOp4CAifjYk+onfENCGMvtHFaciVEPbN21cGhiVmzGdLZPH2EVPb/PB PgTdYgYgKA2Vdr7ZyIB7Q8Nsnt+cKs2kmPPEm9VrOLq3Hrl+1Yo963cZTmSwe0X5+r9G iErdZn0tEndgs6SSAGmxHxWS0aOtJhp+xFB3pKTFJatfYL9NUI1hW9RODur9fKLw1vzf VK1eNgOHgDV5gRKVCsHzvWSICpYudozzoXvQ3nAFW69ZHPYI0utqawbzqEhOCCpzhtWz JU4K0XSRBHj+tJeRvAGbSZm66/Cr6TFRR0FjyoXcRJyMQNsNLgXVRy3nMyjbTCA1DJ9H c+Pg==
Hi,
I have come across some slightly odd behaviour from chrony. We have a
GPS time source with PPS. The device is currently indoors so the PPS
is dropping in and out, but NMEA timestamps are still coming through.
For some reason, chrony is still trying to use the broken PPS source
even though it's not providing any data:
# chronyc sources
210 Number of sources = 6
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#- NMEA 0 4 377 11 -77ms[ -77ms] +/- 100ms
#* GPS 0 4 0 101m +2315ns[+3536ns] +/- 141ns
^- time.cloudflare.com 3 6 377 100 -1167us[-1167us] +/- 64ms
^- ntp1.unix-solutions.be 2 6 136 359 -62us[ -62us] +/- 53ms
^- ntp.devrandom.be 2 6 377 100 +352us[ +352us] +/- 24ms
^- ntp2.unix-solutions.be 2 6 324 24m -150us[ -150us] +/- 30ms
After manually restarting the service it has switched back to the NMEA
data, which is what I expected:
# chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#* NMEA 0 4 377 13 -15ms[ -19ms] +/- 100ms
#? GPS 0 4 0 - +0ns[ +0ns] +/- 0ns
^? hl2dm.sameteem.com 3 6 121 53 +43ms[ +23ms] +/- 36ms
^+ lux.22pf.org 3 6 37 61 +40ms[ +55ms] +/- 43ms
^? ntp1.unix-solutions.be 0 6 0 - +0ns[ +0ns] +/- 0ns
^? 183.ip-51-89-151.eu 0 6 0 - +0ns[ +0ns] +/- 0ns
Any thoughts on why this might be happening?
# chronyd --version
chronyd (chrony) version 3.4 (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP
-SCFILTER -SIGND +ASYNCDNS -SECHASH +IPV6 -DEBUG)
# cat /etc/chrony.conf
refclock SHM 0 offset 0.155 delay 0.2 refid NMEA
refclock PPS /dev/pps0 lock NMEA refid GPS
pool pool.ntp.org iburst maxpoll 6
makestep 1.0 -1
rtconutc
rtcsync
logdir /var/log/chrony
log measurements statistics tracking
Thanks,
Chris
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.