Daniel Le
2016-01-15 16:19:23 UTC
Hello,
My ptp4l version 1.4 in software timestamping mode works fine with a Linux kernel 2.6.35, however when I switch to the kernel 3.18.12 (and new Ethernet driver), I see the master offsets are huge and never converge. Any pointer to debug this is much appreciated.
/ #ptp4l -f /etc/ptp4l.conf
ptp4l[250704.924]: port 1: INITIALIZING to LISTENING on INITIALIZE
ptp4l[250704.924]: port 0: INITIALIZING to LISTENING on INITIALIZE
ptp4l[250705.355]: port 1: new foreign master 00b0ae.fffe.02d103-1
ptp4l[250708.955]: selected best master clock 00b0ae.fffe.02d103
ptp4l[250708.955]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[250709.856]: port 1: minimum delay request interval 2^-7
ptp4l[250710.698]: master offset1 -6601404463576 s0 freq +100000000 path delay 220834
ptp4l[250711.598]: master offset1 -6601404940762 s0 freq +100000000 path delay 224676
ptp4l[250712.498]: master offset1 -6601405412898 s0 freq +100000000 path delay 223500
ptp4l[250713.398]: master offset1 -6601405890510 s0 freq +100000000 path delay 227796
ptp4l[250714.298]: master offset1 -6601406361480 s0 freq +100000000 path delay 225458
ptp4l[250715.198]: master offset1 -6601406835542 s0 freq +100000000 path delay 226236
ptp4l[250716.098]: master offset1 -6601407311244 s0 freq +100000000 path delay 228594
ptp4l[250716.998]: master offset1 -6601407784176 s0 freq +100000000 path delay 228218
ptp4l[250717.898]: master offset1 -6601408255930 s0 freq +100000000 path delay 226660
ptp4l[250718.798]: master offset1 -6601408732050 s0 freq +100000000 path delay 229468
ptp4l[250719.698]: master offset1 -6601409205854 s0 freq +100000000 path delay 229956
ptp4l[250720.598]: master offset1 -6601409673392 s0 freq +100000000 path delay 224186
ptp4l[250721.497]: master offset1 -6601410151822 s0 freq +100000000 path delay 229300
ptp4l[250722.397]: master offset1 -6601410625760 s0 freq +100000000 path delay 229898
ptp4l[250723.297]: master offset1 -6601411100194 s0 freq +100000000 path delay 231052
ptp4l[250724.197]: master offset1 -6601411564234 s0 freq +100000000 path delay 221780
ptp4l[250725.097]: master offset1 -6601412044146 s1 freq +99573391 path delay 228348
ptp4l[250725.208]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.319]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.426]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.536]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.638]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.741]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.853]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.965]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.998]: master offset1 -2711305334 s0 freq +99573391 path delay 228348
ptp4l[250726.068]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.176]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.280]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.387]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.491]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.605]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.713]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.814]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.898]: master offset1 -2711772472 s0 freq +99573391 path delay 222142
ptp4l[250726.916]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250727.020]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250727.120]: clockcheck: clock jumped forward or running faster than expected!
Thanks,
Daniel
My ptp4l version 1.4 in software timestamping mode works fine with a Linux kernel 2.6.35, however when I switch to the kernel 3.18.12 (and new Ethernet driver), I see the master offsets are huge and never converge. Any pointer to debug this is much appreciated.
/ #ptp4l -f /etc/ptp4l.conf
ptp4l[250704.924]: port 1: INITIALIZING to LISTENING on INITIALIZE
ptp4l[250704.924]: port 0: INITIALIZING to LISTENING on INITIALIZE
ptp4l[250705.355]: port 1: new foreign master 00b0ae.fffe.02d103-1
ptp4l[250708.955]: selected best master clock 00b0ae.fffe.02d103
ptp4l[250708.955]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[250709.856]: port 1: minimum delay request interval 2^-7
ptp4l[250710.698]: master offset1 -6601404463576 s0 freq +100000000 path delay 220834
ptp4l[250711.598]: master offset1 -6601404940762 s0 freq +100000000 path delay 224676
ptp4l[250712.498]: master offset1 -6601405412898 s0 freq +100000000 path delay 223500
ptp4l[250713.398]: master offset1 -6601405890510 s0 freq +100000000 path delay 227796
ptp4l[250714.298]: master offset1 -6601406361480 s0 freq +100000000 path delay 225458
ptp4l[250715.198]: master offset1 -6601406835542 s0 freq +100000000 path delay 226236
ptp4l[250716.098]: master offset1 -6601407311244 s0 freq +100000000 path delay 228594
ptp4l[250716.998]: master offset1 -6601407784176 s0 freq +100000000 path delay 228218
ptp4l[250717.898]: master offset1 -6601408255930 s0 freq +100000000 path delay 226660
ptp4l[250718.798]: master offset1 -6601408732050 s0 freq +100000000 path delay 229468
ptp4l[250719.698]: master offset1 -6601409205854 s0 freq +100000000 path delay 229956
ptp4l[250720.598]: master offset1 -6601409673392 s0 freq +100000000 path delay 224186
ptp4l[250721.497]: master offset1 -6601410151822 s0 freq +100000000 path delay 229300
ptp4l[250722.397]: master offset1 -6601410625760 s0 freq +100000000 path delay 229898
ptp4l[250723.297]: master offset1 -6601411100194 s0 freq +100000000 path delay 231052
ptp4l[250724.197]: master offset1 -6601411564234 s0 freq +100000000 path delay 221780
ptp4l[250725.097]: master offset1 -6601412044146 s1 freq +99573391 path delay 228348
ptp4l[250725.208]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.319]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.426]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.536]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.638]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.741]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.853]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.965]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250725.998]: master offset1 -2711305334 s0 freq +99573391 path delay 228348
ptp4l[250726.068]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.176]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.280]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.387]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.491]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.605]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.713]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.814]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250726.898]: master offset1 -2711772472 s0 freq +99573391 path delay 222142
ptp4l[250726.916]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250727.020]: clockcheck: clock jumped forward or running faster than expected!
ptp4l[250727.120]: clockcheck: clock jumped forward or running faster than expected!
Thanks,
Daniel