Hello, I have two PTP ports (PTP1 and PTP2) running with two ptp4l instances respectively. When I observe the syslogs, I see logs with multiple port numbers under each PTP instance.
I was expecting one port for each PTP instance. Below is the syslog snippet. For each port (ptp1 and ptp2), *port0*, *port1 *etc., are created. Could someone clarify why these multiple ports are getting created for each PTP insace and what is the significance of these extra ports. *Mar 24 10:25:33 magneto-pq16-2.local ptp4l: [17.684] ptp1 ioctl SIOCETHTOOL failed: No such deviceMar 24 10:25:33 magneto-pq16-2.local ptp4l: [17.684] ptp1 selected /dev/ptp0 as PTP clockMar 24 10:25:33 magneto-pq16-2.local ptp4l: [17.686] ptp1 port 2: get_ts_info not supportedMar 24 10:25:33 magneto-pq16-2.local ptp4l: [17.687] ptp1 port 1: INITIALIZING to LISTENING on INIT_COMPLETEMar 24 10:25:33 magneto-pq16-2.local ptp4l: [17.691] ptp1 ioctl SIOCGIFHWADDR failed: No such deviceMar 24 10:25:33 magneto-pq16-2.local ptp4l: [17.696] ptp1 ioctl SIOCGIFINDEX failed: No such deviceMar 24 10:25:33 magneto-pq16-2.local ptp4l: [17.696] ptp1 port 2: INITIALIZING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)Mar 24 10:25:33 magneto-pq16-2.local ptp4l: [17.696] ptp1 port 0: INITIALIZING to LISTENING on INIT_COMPLETEMar 24 10:25:37 magneto-pq16-2.local ptp4l: [21.037] ptp1 port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRESMar 24 10:25:37 magneto-pq16-2.local ptp4l: [21.037] ptp1 selected local clock 009056.fffe.151617 as best masterMar 24 10:25:37 magneto-pq16-2.local ptp4l: [21.037] ptp1 port 1: assuming the grand master roleMar 24 10:25:37 magneto-pq16-2.local ptp4l: [21.037] ptp1 port 2: assuming the grand master roleMar 24 10:25:38 magneto-pq16-2.local ptp4l: [22.760] ptp2 ioctl SIOCETHTOOL failed: No such deviceMar 24 10:25:38 magneto-pq16-2.local ptp4l: [22.760] ptp2 selected /dev/ptp1 as PTP clockMar 24 10:25:38 magneto-pq16-2.local ptp4l: [22.761] ptp2 port 2: get_ts_info not supportedMar 24 10:25:38 magneto-pq16-2.local ptp4l: [22.761] ptp2 port 1: INITIALIZING to LISTENING on INIT_COMPLETEMar 24 10:25:38 magneto-pq16-2.local ptp4l: [22.766] ptp2 ioctl SIOCGIFHWADDR failed: No such deviceMar 24 10:25:38 magneto-pq16-2.local ptp4l: [22.770] ptp2 ioctl SIOCGIFINDEX failed: No such deviceMar 24 10:25:38 magneto-pq16-2.local ptp4l: [22.770] ptp2 port 2: INITIALIZING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)Mar 24 10:25:38 magneto-pq16-2.local ptp4l: [22.771] ptp2 port 0: INITIALIZING to LISTENING on INIT_COMPLETEMar 24 10:25:42 magneto-pq16-2.local ptp4l: [26.479] ptp2 selected local clock 009056.fffe.121314 as best masterMar 24 10:25:42 magneto-pq16-2.local ptp4l: [26.479] ptp2 port 2: assuming the grand master roleMar 24 10:25:42 magneto-pq16-2.local ptp4l: [26.479] ptp2 port 2: master state recommended in slave only modeMar 24 10:25:42 magneto-pq16-2.local ptp4l: [26.479] ptp2 port 2: defaultDS.priority1 probably misconfiguredMar 24 10:25:45 magneto-pq16-2.local ptp4l: [29.615] ptp2 selected local clock 009056.fffe.121314 as best masterMar 24 10:25:45 magneto-pq16-2.local ptp4l: [29.615] ptp2 port 2: assuming the grand master roleMar 24 10:25:45 magneto-pq16-2.local ptp4l: [29.615] ptp2 port 2: master state recommended in slave only modeMar 24 10:25:45 magneto-pq16-2.local ptp4l: [29.615] ptp2 port 2: defaultDS.priority1 probably misconfiguredJan 4 02:14:26 magneto-pq16-2.local avahi-daemon[267]: Registering new address record for 169.254.184.208 on eth0.IPv4.* Thanks in advance. Regards, Guru Gururaj S.Badiger
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users