[Linuxptp-users] ptp4l sync and connection
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Bassam A. <als...@gm...> - 2015-11-09 16:05:15
|
Hi everyone, I have two Linux machine that are directly connected via Ethernet cable and both machines have i210 NIC. Both sides run ptp4l. I tried linuxptp 1.6 and 1.5 with the same result (as it seem something wrong on my end). Attached the result I see from both machines. They seem to be synced but there is no offset updates as the slave stuck on the state "LISTENING to UNCALIBRATED on RS_SLAVE". Thoughts?? ** Master side ** bassam@balsanieTestLDT:~/Downloads$ sudo ptp4l -i enp3s0 -m [sudo] password for bassam: ptp4l[3390.492]: selected /dev/ptp0 as PTP clock ptp4l[3390.492]: driver changed our HWTSTAMP options ptp4l[3390.492]: tx_type 1 not 1 ptp4l[3390.492]: rx_filter 1 not 12 ptp4l[3390.492]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[3390.493]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[3398.201]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES ptp4l[3398.201]: selected best master clock a0369f.fffe.1e2503 ptp4l[3398.201]: assuming the grand master role ** Slave side ** admin@NI-IC-3173-01A8EEF0:~/ptp15/linuxptp-1.5# ./ptp4l -i eth4 -s -m ptp4l[1465.773]: selected /dev/ptp4 as PTP clock ptp4l[1465.774]: driver changed our HWTSTAMP options ptp4l[1465.774]: tx_type 1 not 1 ptp4l[1465.774]: rx_filter 1 not 12 ptp4l[1465.774]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[1465.774]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[1473.223]: driver changed our HWTSTAMP options ptp4l[1473.223]: tx_type 1 not 1 ptp4l[1473.223]: rx_filter 1 not 12 ptp4l[1473.223]: selected best master clock 00802f.fffe.933a03 ptp4l[1480.552]: driver changed our HWTSTAMP options ptp4l[1480.553]: tx_type 1 not 1 ptp4l[1480.553]: rx_filter 1 not 12 ptp4l[1480.553]: selected best master clock 00802f.fffe.933a03 ptp4l[1488.001]: driver changed our HWTSTAMP options ptp4l[1488.001]: tx_type 1 not 1 ptp4l[1488.001]: rx_filter 1 not 12 ptp4l[1488.001]: selected best master clock 00802f.fffe.933a03 ptp4l[1494.149]: port 1: new foreign master a0369f.fffe.1e2503-1 ptp4l[1494.994]: driver changed our HWTSTAMP options ptp4l[1494.994]: tx_type 1 not 1 ptp4l[1494.994]: rx_filter 1 not 12 ptp4l[1494.994]: selected best master clock 00802f.fffe.933a03 ptp4l[1498.150]: selected best master clock a0369f.fffe.1e2503 ptp4l[1498.150]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE |