Hello, Have connected Server to a switch. The switch act as a Boundary clock and provides timing to the server using ptp.
On the server, we are running ptp4l and phc2sys process. As part of testing, we are doing disable and enable of PTP on the switch. Sometimes we are observing phc2sys process struck on "Waiting for ptp4l". Please let me know if this is fixed in latest releases? regards, Ramesh Jun 30 15:56:16 ptp4l: [113392.006] handle_state_decision_event PS_SLAVE Jun 30 15:56:16 ptp4l: [113392.006] port 1: LISTENING to UNCALIBRATED on RS_SLAVE Jun 30 15:56:16 ptp4l: [113392.006] PS_SLAVE: port_e2e_transition Jun 30 15:56:16 ptp4l: [113392.126] port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED Jun 30 15:56:16 ptp4l: [113392.126] PS_SLAVE: port_e2e_transition Jun 30 15:56:17 ptp4l: [113393.006] rms 1059386 max 2163105 freq -2207284 +/- 920482 delay -41410 +/- 25811 Jun 30 15:56:17 ptp4l: [113393.261] selected best master clock 40b5c1.fffe.7b083f Jun 30 15:56:17 ptp4l: [113393.261] handle_state_decision_event PS_SLAVE Jun 30 15:56:18 ptp4l: [113394.006] rms 397954 max 489864 freq -407181 +/- 377766 delay -13706 +/- 7315 Jun 30 15:56:19 ptp4l: [113395.006] rms 376195 max 475259 freq +255291 +/- 51294 delay 1286 +/- 1440 Jun 30 15:56:20 ptp4l: [113396.006] rms 127843 max 219841 freq +205626 +/- 48533 delay 3164 +/- 594 Jun 30 15:56:21 ptp4l: [113397.006] rms 19534 max 29511 freq +57700 +/- 31071 delay 1541 +/- 934 Jun 30 15:56:22 ptp4l: [113398.006] rms 27033 max 30256 freq -5731 +/- 7417 delay 227 +/- 124 Jun 30 15:56:23 ptp4l: [113399.006] rms 11949 max 18787 freq -10217 +/- 2374 delay -99 +/- 64 Jun 30 15:56:24 ptp4l: [113400.006] rms 1772 max 3816 freq -848 +/- 2494 delay 99 +/- 51 Jun 30 15:56:25 ptp4l: [113401.006] rms 1794 max 1914 freq +4826 +/- 825 delay 213 +/- 20 Jun 30 15:56:26 ptp4l: [113402.006] rms 1056 max 1526 freq +5878 +/- 84 delay 247 +/- 5 Jun 30 15:56:26 ptp4l: [113402.126] EV_STATUS_REPORT_TIMEOUT_EXPIRES Jun 30 15:56:27 ptp4l: [113403.006] rms 229 max 454 freq +5348 +/- 179 delay 247 +/- 3 Jun 30 15:56:28 ptp4l: [113404.010] rms 103 max 122 freq +4892 +/- 80 delay 234 +/- 3 Jun 30 15:56:29 ptp4l: [113405.006] rms 90 max 115 freq +4747 +/- 11 delay 232 +/- 1 Jun 30 15:56:30 ptp4l: [113406.006] rms 26 max 50 freq +4772 +/- 14 delay 231 +/- 1 Jun 30 15:56:31 ptp4l: [113407.006] rms 8 max 15 freq +4811 +/- 10 delay 232 +/- 0 Jun 30 15:56:32 ptp4l: [113408.006] rms 9 max 17 freq +4827 +/- 6 delay 232 +/- 1 Jun 30 15:56:33 ptp4l: [113409.006] rms 5 max 11 freq +4826 +/- 7 delay 232 +/- 1 Jun 30 15:56:34 ptp4l: [113410.006] rms 3 max 6 freq +4824 +/- 5 delay 233 +/- 1 Jun 30 15:56:35 ptp4l: [113411.006] rms 3 max 7 freq +4825 +/- 6 delay 232 +/- 0 Jun 30 15:56:36 ptp4l: [113412.006] rms 3 max 5 freq +4824 +/- 6 delay 232 +/- 1 Jun 30 15:56:37 ptp4l: [113413.006] rms 3 max 6 freq +4823 +/- 5 delay 232 +/- 0 Jun 30 15:56:38 ptp4l: [113414.006] rms 3 max 6 freq +4820 +/- 5 delay 232 +/- 0 Jun 30 15:56:39 ptp4l: [113415.006] rms 3 max 6 freq +4821 +/- 5 delay 232 +/- 1 Jun 30 15:56:40 ptp4l: [113416.006] rms 3 max 6 freq +4821 +/- 5 delay 233 +/- 1 Jun 30 15:56:41 ptp4l: [113417.006] rms 3 max 7 freq +4821 +/- 5 delay 233 +/- 1 Jun 30 15:56:42 ptp4l: [113418.006] rms 4 max 6 freq +4822 +/- 6 delay 232 +/- 0 Jun 30 15:56:43 ptp4l: [113419.006] rms 3 max 6 freq +4817 +/- 5 delay 232 +/- 0 Jun 30 15:56:44 phc2sys: [113419.955] uds: sendto failed: No such file or directory Jun 30 15:56:44 ptp4l: [113420.010] rms 3 max 6 freq +4818 +/- 5 delay 232 +/- 0 Jun 30 15:56:45 phc2sys: [113420.959] Waiting for ptp4l... Jun 30 15:56:45 phc2sys: [113420.959] uds: sendto failed: No such file or directory Jun 30 15:56:45 ptp4l: [113421.006] rms 3 max 6 freq +4816 +/- 5 delay 232 +/- 0 Jun 30 15:56:46 phc2sys: [113421.962] Waiting for ptp4l... Jun 30 15:56:46 phc2sys: [113421.962] uds: sendto failed: No such file or directory Jun 30 15:56:46 ptp4l: [113422.006] rms 4 max 6 freq +4810 +/- 5 delay 232 +/- 0 Jun 30 15:56:47 phc2sys: [113422.963] Waiting for ptp4l... Jun 30 15:56:47 phc2sys: [113422.963] uds: sendto failed: No such file or directory Jun 30 15:56:47 ptp4l: [113423.006] rms 3 max 5 freq +4809 +/- 5 delay 232 +/- 0 Jun 30 15:56:48 phc2sys: [113423.966] Waiting for ptp4l... Jun 30 15:56:48 phc2sys: [113423.966] uds: sendto failed: No such file or directory Jun 30 15:56:48 ptp4l: [113424.006] rms 4 max 9 freq +4815 +/- 6 delay 232 +/- 1 Jun 30 15:56:49 phc2sys: [113424.967] Waiting for ptp4l... Jun 30 15:56:49 phc2sys: [113424.967] uds: sendto failed: No such file or directory Jun 30 15:56:49 ptp4l: [113425.006] rms 3 max 6 freq +4815 +/- 5 delay 232 +/- 0 Jun 30 15:56:50 phc2sys: [113425.971] Waiting for ptp4l... Jun 30 15:56:50 phc2sys: [113425.971] uds: sendto failed: No such file or directory
Jun 30 15:56:16 ptp4l: [113392.006] handle_state_decision_event PS_SLAVE Jun 30 15:56:16 ptp4l: [113392.006] port 1: LISTENING to UNCALIBRATED on RS_SLAVE Jun 30 15:56:16 ptp4l: [113392.006] PS_SLAVE: port_e2e_transition Jun 30 15:56:16 ptp4l: [113392.126] port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED Jun 30 15:56:16 ptp4l: [113392.126] PS_SLAVE: port_e2e_transition Jun 30 15:56:17 ptp4l: [113393.006] rms 1059386 max 2163105 freq -2207284 +/- 920482 delay -41410 +/- 25811 Jun 30 15:56:17 ptp4l: [113393.261] selected best master clock 40b5c1.fffe.7b083f Jun 30 15:56:17 ptp4l: [113393.261] handle_state_decision_event PS_SLAVE Jun 30 15:56:18 ptp4l: [113394.006] rms 397954 max 489864 freq -407181 +/- 377766 delay -13706 +/- 7315 Jun 30 15:56:19 ptp4l: [113395.006] rms 376195 max 475259 freq +255291 +/- 51294 delay 1286 +/- 1440 Jun 30 15:56:20 ptp4l: [113396.006] rms 127843 max 219841 freq +205626 +/- 48533 delay 3164 +/- 594 Jun 30 15:56:21 ptp4l: [113397.006] rms 19534 max 29511 freq +57700 +/- 31071 delay 1541 +/- 934 Jun 30 15:56:22 ptp4l: [113398.006] rms 27033 max 30256 freq -5731 +/- 7417 delay 227 +/- 124 Jun 30 15:56:23 ptp4l: [113399.006] rms 11949 max 18787 freq -10217 +/- 2374 delay -99 +/- 64 Jun 30 15:56:24 ptp4l: [113400.006] rms 1772 max 3816 freq -848 +/- 2494 delay 99 +/- 51 Jun 30 15:56:25 ptp4l: [113401.006] rms 1794 max 1914 freq +4826 +/- 825 delay 213 +/- 20 Jun 30 15:56:26 ptp4l: [113402.006] rms 1056 max 1526 freq +5878 +/- 84 delay 247 +/- 5 Jun 30 15:56:27 ptp4l: [113403.006] rms 229 max 454 freq +5348 +/- 179 delay 247 +/- 3 Jun 30 15:56:28 ptp4l: [113404.010] rms 103 max 122 freq +4892 +/- 80 delay 234 +/- 3 Jun 30 15:56:29 ptp4l: [113405.006] rms 90 max 115 freq +4747 +/- 11 delay 232 +/- 1 Jun 30 15:56:30 ptp4l: [113406.006] rms 26 max 50 freq +4772 +/- 14 delay 231 +/- 1 Jun 30 15:56:31 ptp4l: [113407.006] rms 8 max 15 freq +4811 +/- 10 delay 232 +/- 0 Jun 30 15:56:32 ptp4l: [113408.006] rms 9 max 17 freq +4827 +/- 6 delay 232 +/- 1 Jun 30 15:56:33 ptp4l: [113409.006] rms 5 max 11 freq +4826 +/- 7 delay 232 +/- 1 Jun 30 15:56:34 ptp4l: [113410.006] rms 3 max 6 freq +4824 +/- 5 delay 233 +/- 1 Jun 30 15:56:35 ptp4l: [113411.006] rms 3 max 7 freq +4825 +/- 6 delay 232 +/- 0 Jun 30 15:56:36 ptp4l: [113412.006] rms 3 max 5 freq +4824 +/- 6 delay 232 +/- 1 Jun 30 15:56:37 ptp4l: [113413.006] rms 3 max 6 freq +4823 +/- 5 delay 232 +/- 0 Jun 30 15:56:38 ptp4l: [113414.006] rms 3 max 6 freq +4820 +/- 5 delay 232 +/- 0 Jun 30 15:56:39 ptp4l: [113415.006] rms 3 max 6 freq +4821 +/- 5 delay 232 +/- 1 Jun 30 15:56:40 ptp4l: [113416.006] rms 3 max 6 freq +4821 +/- 5 delay 233 +/- 1 Jun 30 15:56:41 ptp4l: [113417.006] rms 3 max 7 freq +4821 +/- 5 delay 233 +/- 1 Jun 30 15:56:42 ptp4l: [113418.006] rms 4 max 6 freq +4822 +/- 6 delay 232 +/- 0 Jun 30 15:56:43 ptp4l: [113419.006] rms 3 max 6 freq +4817 +/- 5 delay 232 +/- 0 Jun 30 15:56:44 phc2sys: [113419.955] uds: sendto failed: No such file or directory Jun 30 15:56:44 ptp4l: [113420.010] rms 3 max 6 freq +4818 +/- 5 delay 232 +/- 0 Jun 30 15:56:45 phc2sys: [113420.959] Waiting for ptp4l... Jun 30 15:56:45 phc2sys: [113420.959] uds: sendto failed: No such file or directory Jun 30 15:56:45 ptp4l: [113421.006] rms 3 max 6 freq +4816 +/- 5 delay 232 +/- 0 Jun 30 15:56:46 phc2sys: [113421.962] Waiting for ptp4l... Jun 30 15:56:46 phc2sys: [113421.962] uds: sendto failed: No such file or directory Jun 30 15:56:46 ptp4l: [113422.006] rms 4 max 6 freq +4810 +/- 5 delay 232 +/- 0 Jun 30 15:56:46 ptp4l: [113422.126] EV_STATUS_REPORT_TIMEOUT_EXPIRES Jun 30 15:56:47 phc2sys: [113422.963] Waiting for ptp4l... Jun 30 15:56:47 phc2sys: [113422.963] uds: sendto failed: No such file or directory Jun 30 15:56:47 ptp4l: [113423.006] rms 3 max 5 freq +4809 +/- 5 delay 232 +/- 0 Jun 30 15:56:48 phc2sys: [113423.966] Waiting for ptp4l... Jun 30 15:56:48 phc2sys: [113423.966] uds: sendto failed: No such file or directory Jun 30 15:56:48 ptp4l: [113424.006] rms 4 max 9 freq +4815 +/- 6 delay 232 +/- 1 Jun 30 15:56:49 phc2sys: [113424.967] Waiting for ptp4l... Jun 30 15:56:49 phc2sys: [113424.967] uds: sendto failed: No such file or directory Jun 30 15:56:49 ptp4l: [113425.006] rms 3 max 6 freq +4815 +/- 5 delay 232 +/- 0 Jun 30 15:56:50 phc2sys: [113425.971] Waiting for ptp4l... Jun 30 15:56:50 phc2sys: [113425.971] uds: sendto failed: No such file or directory
_______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel