Hi,

I have a grandmaster server which in synchronising the system clock to the 
hardware clock perfectly with sub 100 nanoseconds offset.

Next, I have another server (in a direct connection) configured to run as the 
client. However, when starting this client server, the offset is very high and 
after a little while it jumps the clock to 70.000 + seconds offset. The pattern 
(as seen in the output below) right after LISTENING to UNCALIBRATED on RS_SLAVE 
is however the exactly the same every time: going from 69.. to 22.. to 44.. to 
66.. etc etc.. with the output always ending up in a clock jump setting it to a 
70.000+ second offset.. Anyone here who knows what I am doing wrong? I have 
stopped the chronyd as well as NTP services..

ptp4l[1800412.648]: selected /dev/ptp1 as PTP clock
ptp4l[1800412.648]: port 1: INITIALIZING to LISTENING on INITIALIZE
ptp4l[1800412.648]: port 0: INITIALIZING to LISTENING on INITIALIZE
ptp4l[1800419.073]: selected best master clock ecb1d7.fffe.55ac7c
ptp4l[1800426.985]: selected best master clock ecb1d7.fffe.55ac7c
ptp4l[1800434.382]: selected best master clock ecb1d7.fffe.55ac7c
ptp4l[1800440.411]: selected best master clock ecb1d7.fffe.55ac7c
ptp4l[1800447.085]: selected best master clock ecb1d7.fffe.55ac7c
ptp4l[1800453.525]: selected best master clock ecb1d7.fffe.55ac7c
ptp4l[1800460.724]: selected best master clock ecb1d7.fffe.55ac7c
ptp4l[1800468.138]: selected best master clock ecb1d7.fffe.55ac7c
ptp4l[1800475.874]: selected best master clock ecb1d7.fffe.55ac7c
ptp4l[1800482.282]: selected best master clock ecb1d7.fffe.55ac7c
ptp4l[1800484.635]: port 1: new foreign master 008082.fffe.4a6352-1
ptp4l[1800489.035]: selected best master clock 008082.fffe.4a6352
ptp4l[1800489.035]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[1800491.235]: master offset 69848277587755 s0 freq +599999998 path delay 
1216251358
ptp4l[1800492.335]: master offset 69844625506725 s1 freq -599999999 path delay 
1427585172
ptp4l[1800493.435]: master offset -2240706840 s2 freq -599999999 path delay 
1427585172
ptp4l[1800493.435]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[1800494.536]: master offset -4481091999 s2 freq -599999999 path delay 
1427585172
ptp4l[1800495.636]: master offset -6615597396 s2 freq -599999999 path delay 
1321918265
ptp4l[1800496.736]: master offset -8477374555 s2 freq -599999999 path delay 
943091913
ptp4l[1800497.836]: master offset -10720482741 s2 freq -599999999 path delay 
945608212
ptp4l[1800498.936]: master offset -12960789749 s2 freq -599999999 path delay 
945608212
ptp4l[1800500.037]: master offset -15063148564 s2 freq -599999999 path delay 
807770340
ptp4l[1800501.137]: master offset -17165848483 s2 freq -599999999 path delay 
669932468
ptp4l[1800502.237]: master offset -19277292751 s2 freq -599999999 path delay 
541008880
ptp4l[1800503.337]: master offset -21517561198 s2 freq -599999999 path delay 
541008880
ptp4l[1800504.437]: master offset -23758008062 s2 freq -599999999 path delay 
541008880
ptp4l[1800505.538]: master offset 70342765190689 s0 freq -599999999 path delay 
521394706
ptp4l[1800505.538]: port 1: SLAVE to UNCALIBRATED on SYNCHRONIZATION_FAULT
ptp4l[1800505.538]: clockcheck: clock jumped forward or running faster than 
expected!
ptp4l[1800506.638]: master offset 70340505125796 s2 freq -599999999 path delay 
541008880
ptp4l[1800506.638]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[1800507.738]: master offset 70338284034322 s2 freq +599999999 path delay 
521394706
ptp4l[1800508.838]: master offset 70334843545474 s2 freq +599999999 path delay 
521394706
ptp4l[1800509.939]: master offset 70331334115836 s2 freq +599999999 path delay 
589817719
ptp4l[1800511.039]: master offset 70327893273651 s2 freq +599999999 path delay 
589817719
ptp4l[1800512.139]: master offset 70324452716963 s2 freq +599999999 path delay 
589371863
ptp4l[1800513.240]: master offset 70321012257658 s2 freq +599999999 path delay 
589371863
ptp4l[1800514.340]: master offset 70317640042790 s2 freq +599999999 path delay 
520655307
ptp4l[1800515.440]: master offset 70314199841237 s2 freq +599999999 path delay 
520655307
ptp4l[1800516.540]: master offset 70310777858891 s2 freq +599999999 path delay 
501596012
ptp4l[1800517.640]: master offset 70307219345657 s2 freq +599999999 path delay 
619417134
ptp4l[1800518.741]: master offset 70303759003672 s2 freq +599999999 path delay 
638735582
ptp4l[1800519.841]: master offset 70300337564039 s2 freq +599999999 path delay 
619417134
ptp4l[1800520.941]: master offset 70296803019719 s2 freq +599999999 path delay 
713052142
ptp4l[1800522.042]: master offset 70293362280622 s2 freq +599999999 path delay 
713052142
ptp4l[1800523.142]: master offset 70289915586066 s2 freq +599999999 path delay 
718700266
ptp4l[1800524.242]: master offset 70286474676865 s2 freq +599999999 path delay 
718700266
ptp4l[1800525.343]: master offset 70282953461727 s2 freq +599999999 path delay 
799019955


Thank you in advance!

Jord
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to