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 On Wed, May 17, 2023 at 10:46 AM Bernie Gmail <bela...@gmail.com> wrote: > > Thank you! We have the HEAD and re-running our test overnight. Will report > back on our results tomorrow > > regards,bernardo > > Sent from fruit phone > > > On May 17, 2023, at 3:24 AM, Miroslav Lichvar <mlich...@redhat.com> > wrote: > > > > On Fri, May 12, 2023 at 04:28:40PM -0700, Bernie Elayda wrote: > >> phc2sys will stop but ptp4l will continue to run. This error appears to > >> originate from the sysoff_precise function;Doesn't this error just mean > >> when attempting to read PTP_SYS_OFFSET_PRECISE the kernel was just busy? > >> Wouldn't it be better to just 'log' the error and continue, or does even > >> one occurrence of this error mean something is misconfigured in my > setup? > > > > I think this phc2sys issue was fixed after 3.1.1 in git. Please try > > that and see if it still exits. > > > > -- > > Miroslav Lichvar > > >
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users