From: <Tim...@de...> - 2013-05-15 09:12:34
|
Please correct me if I'm wrong ... master offset 113817 : the offset time of the two ptp clocks in ns s0-2: the connection stage of ptp4l adj +12655: Here I'm not sure, because on my tests it always was called "freq". It should be the servo rate to adjust the time path delay 53184: the delay of your Ethernet connection But the values are pretty hight. Mine are about : ptp4l[71767.156]: master offset 11 s2 freq +123009 path delay 719 Are you using SW time stamping or HW time stamping? Keep in mind to use the phc2sys program to set the system time, if you want to use the syncronized time as system time. - Benny Von: Ledda William EXT [mailto:Wil...@it...] Gesendet: Mittwoch, 15. Mai 2013 09:29 An: lin...@li... Betreff: [Linuxptp-users] Output of ptp4l Hi all, I'm newbie user of linuxptp. I need some help to understand the output produced by ptp4l. ptp4l[1821211.588]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[1821211.592]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[1821212.510]: port 1: new foreign master 008063.fffe.db5e00-15 ptp4l[1821216.510]: selected best master clock 00a069.fffe.01c094 ptp4l[1821216.510]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE ptp4l[1821216.705]: port 1: minimum delay request interval 2^3 ptp4l[1821218.509]: master offset 171578 s0 adj +0 path delay 53481 ptp4l[1821219.509]: master offset 172021 s0 adj +0 path delay 53481 ptp4l[1821220.510]: master offset 174685 s0 adj +0 path delay 53481 ptp4l[1821221.509]: master offset 177810 s1 adj +0 path delay 53481 ptp4l[1821222.509]: master offset 753 s2 adj +76 path delay 53481 ptp4l[1821222.509]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED ptp4l[1821223.509]: master offset 17736 s2 adj +1792 path delay 53481 ptp4l[1821224.509]: master offset 17754 s2 adj +1812 path delay 53481 ptp4l[1821225.508]: master offset 38232 s2 adj +3898 path delay 53481 ptp4l[1821226.508]: master offset 47856 s2 adj +4908 path delay 53481 ptp4l[1821227.508]: master offset 57136 s2 adj +5893 path delay 53481 ptp4l[1821228.508]: master offset 67594 s2 adj +7006 path delay 53481 ptp4l[1821229.508]: master offset 75302 s2 adj +7853 path delay 53481 ptp4l[1821230.508]: master offset 71573 s2 adj +7551 path delay 53481 ptp4l[1821231.508]: master offset 77021 s2 adj +8173 path delay 53481 ptp4l[1821232.508]: master offset 90924 s2 adj +9654 path delay 53481 ptp4l[1821233.508]: master offset 93511 s2 adj +10006 path delay 53481 ptp4l[1821234.508]: master offset 92060 s2 adj +9953 path delay 53481 ptp4l[1821235.508]: master offset 93137 s2 adj +10154 path delay 53481 ptp4l[1821236.508]: master offset 102429 s2 adj +11186 path delay 53481 ptp4l[1821237.507]: master offset 109941 s2 adj +12047 path delay 53481 ptp4l[1821238.507]: master offset 106116 s2 adj +11771 path delay 53184 ptp4l[1821239.507]: master offset 113817 s2 adj +12655 path delay 53184 .... It is not clear to me how the master offset is expressed: Is it in ns? Could you explain the meaning of the different values? Thanks William |