Hi,
If configuring chrony sources to PHC and NTP, and while PHC is the current 
chosen source,
In case PHC source returns zero timestamp 
(get_phc_sample<https://github.com/mlichvar/chrony-nts/blob/master/sys_linux.c#L694>)
 Chrony will validate the timestamp, calculate the source score and will switch 
to a better source (NTP) as expected
But in case PHC source returns a failed status (for example -EIO)  Chrony will 
not switch the sources and will stay on PHC source for an infinite time
Although Chrony debug logs indicates the error:
sys_linux.c:859:(get_phc_sample) ioctl(PTP_SYS_OFFSET) failed : Input/output 
error

Is that a wanted behavior?
Thanks


Reply via email to