From: Drasko D. <dra...@gm...> - 2013-05-30 17:34:54
|
On Thu, May 30, 2013 at 7:30 PM, Richard Cochran <ric...@gm...> wrote: > On Thu, May 30, 2013 at 05:57:44PM +0200, Richard Cochran wrote: >> On Thu, May 30, 2013 at 05:03:21PM +0200, Drasko DRASKOVIC wrote: >> > >> > By the way, what are port 0 and port 1? >> >> Port 0 in an internal management port (over UDP). > > Oops, I meant UDS (UNIX Domain Socket). > > Richard What I am seeing now, after inserting skb_tx_timestamp(skb) as I explained before : Master side : root@master:/linux-ptp# ./ptp4l -S -i wlan0 -m ptp4l[1591.227]: port 1: get_ts_info not supported ptp4l[1591.237]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[1591.237]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[1597.237]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES This seems OK. But on the slave side : root@slave:/linux-ptp# ./ptp4l -S -i wlan0 -s -m ptp4l[228.367]: port 1: get_ts_info not supported ptp4l[228.371]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[228.372]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[229.013]: port 1: new foreign master deadbe.fffe.ef0000-1 ptp4l[232.902]: selected best master clock deadbe.fffe.ef0000 ptp4l[232.902]: foreign master not using PTP timescale ptp4l[232.902]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE ptp4l[234.056]: poll tx timestamp failed: No such file or directory ptp4l[234.056]: port 1: send delay request failed ptp4l[234.056]: port 1: UNCALIBRATED to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED) ptp4l[250.060]: port 1: FAULTY to LISTENING on FAULT_CLEARED ptp4l[250.923]: port 1: new foreign master deadbe.fffe.ef0000-1 ptp4l[255.019]: selected best master clock deadbe.fffe.ef0000 ptp4l[255.019]: foreign master not using PTP timescale ptp4l[255.019]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE ptp4l[255.443]: poll tx timestamp failed: No such file or directory ptp4l[255.443]: port 1: send delay request failed ptp4l[255.444]: port 1: UNCALIBRATED to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED) What is : ptp4l[234.056]: poll tx timestamp failed: No such file or directory ptp4l[234.056]: port 1: send delay request failed and how is it different than : ptp4l[106753.952]: poll tx timestamp failed: Success ptp4l[106753.952]: port 1: send sync failed ptp4l[106753.952]: port 1: MASTER to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED) that I was seeing on MASTER side before skb_tx_timestamp(skb) was inserted in the driver ? Best regards, Drasko |