On 5/18/2023 9:14 AM, Bernie Elayda wrote:
> Hello, I have an update.  I obtained the HEAD for linuxptp yesterday and
> re-ran my setup. Unfortunately, phc2sys failed again with a Connection
> timed out:
> 
> phc2sys[470789.265]: CLOCK_REALTIME phc offset       -63 s2 freq   -9645
> delay      0
> phc2sys[470790.265]: CLOCK_REALTIME phc offset      -797 s2 freq  -10398
> delay      0
> phc2sys[470791.266]: CLOCK_REALTIME phc offset       524 s2 freq   -9316
> delay      0
> phc2sys[470792.266]: CLOCK_REALTIME phc offset       598 s2 freq   -9085
> delay      0
> phc2sys[470793.266]: CLOCK_REALTIME phc offset      -247 s2 freq   -9750
> delay      0
> phc2sys[470794.267]: CLOCK_REALTIME phc offset       -22 s2 freq   -9599
> delay      0
> phc2sys[470795.267]: ioctl PTP_SYS_OFFSET_PRECISE: Connection timed out
> 
> Is there something I can do to troubleshoot this?  Our application needs to
> run for days.  My solution is to modify the phc2sys's sysoff_precise to
> just use the last pctns and ts result when an ioctl error happens.
> when this connection timed out happen, ptp4l is still running.
> 
> regards,bernardo

What hardware are you using? I suspect the PHC driver must be returning
some error here which is what ultimately causes sys_offset_precise to fail.


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to