RE: [EXTERNAL] Re: [chrony-users] time sync query

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Hi Miroslav,

Just to give some background of the current usage:
In my system GPS is a source of time/date which I am getting from some other controller. But I am feeding the offset every one second on the refclock. The other source CAN is not used at all currently. The reason why there is a huge offset is because it is kind of testing in the sense that if the system clock was changed to any extent, I wish chrony to set it right based on the GPS (say generically a source fed every one second to a refclock socket) data input that I am feeding to its socket.

Offset of the reference is not jumping as I am constantly feeding data every one sec.
May I know what is the max offset range that chrony can consider to correct it.

I have already experimented about makestep and found that even if the time is set to epoch, for initial feeds the time gets corrected. But what if abruptly I am setting the time to epoch then I see chrony is not able to sync. 
I am trying to test the working of chrony on typical embedded system.

BR,
Bhushan J.
-----Original Message-----
From: Miroslav Lichvar [mailto:mlichvar@xxxxxxxxxx] 
Sent: Tuesday, August 08, 2017 12:03 PM
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] Re: [chrony-users] time sync query

On Mon, Aug 07, 2017 at 05:07:45PM +0000, Jahagirdar, Bhushan wrote:
> MS Name/IP address         Stratum Poll Reach LastRx Last sample
> ===============================================================================
> #? GPS                           0   2   377     2   -4509h[ -4509h] +/-  6567m
> #? CAN                           0   2     0     -     +0ns[   +0ns] +/-    0ns

The error of +/- 6567 minutes is probably what causes chronyd to ignore the source. The offset of the reference time may be jumping around. What is on the other side of the socket? Is it gpsd?

You could enable the refclocks log to see what values is chronyd getting.

--
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.


--
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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/