Re: [Linuxptp-users] [Linuxptp-devel] Debugging ptp4l
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Drasko D. <dra...@gm...> - 2013-05-31 18:38:35
|
Hi Richard, On Thu, May 30, 2013 at 7:53 PM, Richard Cochran <ric...@gm...> wrote: > On Thu, May 30, 2013 at 07:34:45PM +0200, Drasko DRASKOVIC wrote: >> >> 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 ? > > I guess that the wireless stack returns ENOENT because it doesn't have > an error queue for the time stamps, or something like that. This can be a good hint, but I still did not found where I can check this. I have traced timestamping in the kernel and function skb_tstamp_tx() is called, and inside sock_queue_err_skb(sk, skb) as well. This gives me good indication that skb has been enqueued well in sk->sk_error_queue. Where should I check for ENOENT value ? BR, Drasko |