Re: [chrony-users] Issue with chrony dropping PPS signal |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Issue with chrony dropping PPS signal
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 4 Mar 2021 12:23:45 +0100
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614857783; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4NtLN3nNHTFR0xSO7GK8cWJFFIglD6E0Op1eazhGotU=; b=MGSD4Ske1x7sW7V61NgqBbCgfnmba5g1LI7K7d7qPLA5Hdf2pYWOTzJMxRstU6+7HKXV9t s1eb5T83yqP6r7y4f+8QvxTYyNiWWRJ379IbW29x3sKQpFAZq1DLk2hpIbEjw3fCztEzlq Ddb9gKoQgNk7TWYj2+c0srG9wtY0Vz4=
On Thu, Mar 04, 2021 at 10:50:11AM +0000, Vincenzo Miceli wrote:
> I have seen a couple of times the Chrony server drift away from the ntpd server only to reset back hours later. I have enabled chrony logging and I was able to verify that when this happens, the PPS is not being logged in rfclocks.log while the GPS still is. This means that the GPS still has a lock as NMEA GPS has meaningful data, hence the PPS is still available, but it is not being picked or used by chrony. The way I have setup the ublox is that PPS is only sent out if there is a GPS lock.
The logs and configuration looks good to me.
It could be an issue with chronyd rejecting the samples if the offset
between PPS and GPS was larger, but in this case I suspect the GPS is
losing lock or switching to a degraded mode (2D only?). In the second
screenshot of the refclocks log there is a jump in the GPS offset when
PPS appears, which suggests there are more messages in the serial
data.
Can you please check whether /sys/class/pps/pps0/assert shows new
samples when chronyd stops receving PPS?
--
Miroslav Lichvar
--
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.