Hello everyone!
I am new to the PTP topic and I am wrapping my head around a problem
which I am not sure how to solve. I try to get a unicast PTP master
slave example to work and I am running into the following issue:
root@arria10:/usr/linuxptp# ./ptp4l -f configs/user_gen.cfg -l 6 -m
ptp4l[11164.204]: selected /dev/ptp0 as PTP clock
ptp4l[11164.240]: port 0: hybrid_e2e only works with E2E
ptp4l[11164.242]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[11164.243]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[11165.370]: port 1: new foreign master 1c697a.fffe.a60c6e-1
ptp4l[11181.370]: selected best master clock 1c697a.fffe.a60c6e
ptp4l[11181.372]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[11182.372]: master offset 157635964 s0 freq +47 path
delay 7465
ptp4l[11183.372]: master offset 157635896 s0 freq -75 path
delay 7458
ptp4l[11184.372]: master offset 157635916 s0 freq -28 path
delay 7458
ptp4l[11185.372]: master offset 157635866 s0 freq -35 path
delay 7458
ptp4l[11186.372]: master offset 157635912 s0 freq -16 path
delay 7452
ptp4l[11187.372]: master offset 157635887 s0 freq -18 path
delay 7452
ptp4l[11188.372]: master offset 157635788 s0 freq -33 path
delay 7441
ptp4l[11189.371]: master offset 157635861 s0 freq -20 path
delay 7428
ptp4l[11190.372]: master offset 157635776 s0 freq -28 path
delay 7428
ptp4l[11191.372]: master offset 157635672 s0 freq -37 path
delay 7427
ptp4l[11192.372]: master offset 157635718 s2 freq -31 path
delay 7406
ptp4l[11192.405]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[11193.372]: master offset 157635673 s0 freq -45 path
delay 7406
ptp4l[11193.372]: port 1: SLAVE to UNCALIBRATED on SYNCHRONIZATION_FAULT
ptp4l[11194.372]: master offset 157635638 s0 freq -40 path
delay 7406
ptp4l[11195.372]: master offset 157635593 s0 freq -42 path
delay 7406
ptp4l[11196.372]: master offset 157635583 s0 freq -34 path
delay 7406
ptp4l[11197.371]: master offset 157635618 s0 freq -20 path
delay 7406
ptp4l[11198.372]: master offset 157635563 s0 freq -26 path
delay 7406
ptp4l[11199.372]: master offset 157635496 s0 freq -31 path
delay 7413
ptp4l[11200.372]: master offset 157635481 s0 freq -29 path
delay 7413
ptp4l[11201.372]: master offset 157635554 s0 freq -18 path
delay 7410
ptp4l[11202.372]: master offset 157635469 s2 freq -25 path
delay 7410
ptp4l[11202.405]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[11203.372]: master offset 157635479 s0 freq +10 path
delay 7410
ptp4l[11203.372]: port 1: SLAVE to UNCALIBRATED on SYNCHRONIZATION_FAULT
ptp4l[11204.372]: master offset 157635541 s0 freq +45 path
delay 7428
ptp4l[11205.371]: master offset 157635451 s0 freq +0 path
delay 7428
ptp4l[11206.372]: master offset 157635476 s0 freq +2 path
delay 7413
ptp4l[11207.372]: master offset 157635501 s0 freq +10 path
delay 7428
ptp4l[11208.372]: master offset 157635556 s0 freq +18 path
delay 7428
ptp4l[11209.372]: master offset 157635571 s0 freq +17 path
delay 7428
ptp4l[11210.372]: master offset 157635523 s0 freq +10 path
delay 7436
ptp4l[11211.372]: master offset 157635631 s0 freq +21 path
delay 7438
ptp4l[11212.372]: master offset 157635574 s2 freq +14 path
delay 7440
ptp4l[11212.405]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[11213.371]: master offset 157635624 s0 freq +50 path
delay 7440
ptp4l[11213.371]: port 1: SLAVE to UNCALIBRATED on SYNCHRONIZATION_FAULT
ptp4l[11214.372]: master offset 157635624 s0 freq +25 path
delay 7440
ptp4l[11215.372]: master offset 157635603 s0 freq +12 path
delay 7446
I use linuxptp v2.0 on the client side and v2.0.1 on the server side. I
tried with Debian 9 and Ubuntu 2004 on two different machines. I am not
sure where the error is coming from!
I attached some more detailed info. Any ideas what it can be or how I
can debug this problem? Any advice is appreciated! Thanks in advance!
Client config: https://pastebin.com/YJGhzmAd
Server config: https://pastebin.com/NRAnm6vu
Client debug output: https://pastebin.com/D2f56EYN
Server debug output: https://pastebin.com/NvmCLvn8
Best Nils
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users