| Re: [chrony-users] Integrating chrony with gpsd | 
[ Thread Index | 
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
] 
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
 
- Subject: Re: [chrony-users] Integrating chrony with gpsd
 
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
 
- Date: Mon, 14 Dec 2020 11:12:16 +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=1607940741;	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=m2me4//hwM6OgiTophISXh6wuihr8sExq/TK+/M6IJs=;	b=Ma241dwv0nc2uMnoBfeRPE1hwaGwttSTGZ386q+362G/z+Z6HTtNZzBYh9Gfd5h4LkQO6b	NQVcndBVSRwQzMq5oxZkfDsQ+FxHKCzoNeCavyJObEYdVBnqqULsWIBbf7CPylF8/C+Z7Q	GiCEhmBiKDIAgS7aVw5sX53N2Nz4s4Y=
 
On Sat, Dec 12, 2020 at 11:25:12AM +0000, Ben Barker wrote:
> MS Name/IP address         Stratum Poll Reach LastRx Last sample
> ===============================================================================
> #? NMEA                          0   4     0     -     +0ns[   +0ns] +/-    0ns
> 
> 
> If I am correct, then the "?" means chronyd can not connect to gpsd...?
It means it is not getting any samples from gpsd in the SHM segment.
> This test was carried out when the GPS had no fix - should I expect chronyd
> to get time successfully in the absence of a GPS fix in this scenario
> (since the NMEA strings do still contain time thanks to the RTC)....or is
> there some other issue I am missing?
gpsd should not send any samples to SHM if the GPS has no fix. You can
use the ntpshmmon utility from gpsd to confirm that.
-- 
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.