Re: [Linuxptp-users] recvmsg tx timestamp failed: Resource temporarily unavailable
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2013-02-05 13:24:25
|
On Tue, Feb 05, 2013 at 06:18:05PM +0530, Rayagond Kokatanur wrote: > Hi All > > I am getting following messages when I run the command - ptp4l -i eth1 > -p /dev/ptp0 -m > > ptp4l[9393.328]: selected /dev/ptp0 as PTP clock > ptp4l[9393.330]: failed to read out the clock frequency adjustment: > Operation not supported Looks like your /dev/ptp0 does not support clock_adjtime(). > ptp4l[9393.330]: port 1: get_ts_info not supported > ptp4l[9393.335]: port 1: INITIALIZING to LISTENING on INITIALIZE > ptp4l[9393.335]: port 0: INITIALIZING to LISTENING on INITIALIZE > ptp4l[9399.335]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES > ptp4l[9400.342]: recvmsg tx timestamp failed: Resource temporarily unavailable No Tx time stamp arrived on the socket error queue. The code tries to read this 100 times, but you can increase the number of retries using the 'tx_timestamp_retries' configuration file option. > I am returning the timestamp back to socket using "skb_tstamp_tx()" > api in my driver. So I guess that your have custom, unpublished driver. It looks like to me that the driver is not working correctly. You can check the PHC functions of the driver by using the 'testptp' program found in Documentation/ptp in the Linux kernel source tree. You can also test the SO_TIMESTAMPING support using the program found in Documentation/networking/timestamping. HTH, Richard |