Re: [Linuxptp-users] recvmsg tx timestamp failed: Resource temporarily unavailable
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Keller, J. E <jac...@in...> - 2013-02-05 20:51:28
|
To use the configuration files you have to pass them to ptp4l via "-f default.cfg", the default won't change any settings as it represents the default settings. However, just modifying the file won't cause ptp4l to automatically load it. You have to request loading using the -f flag. > -----Original Message----- > From: Richard Cochran [mailto:ric...@gm...] > Sent: Tuesday, February 05, 2013 8:51 AM > To: Rayagond Kokatanur > Cc: lin...@li... > Subject: Re: [Linuxptp-users] recvmsg tx timestamp failed: Resource > temporarily unavailable > > On Tue, Feb 05, 2013 at 09:23:03PM +0530, Rayagond Kokatanur wrote: > > > > I am not getting how to write configuration file that can be provided as > > input to *ptp4l, *please send me one example. > > There are two example files in the code, default.cfg, and gPTP.cfg. > I would start with the first one. > > > Yes, it is unpublished driver and I referred Linux driver and document > and > > added PTP support into my driver. > > > > I have written PHC driver, but its not yet complete, need to implement > some > > other clock operations like .adjfreq and .enable. > > You can leave .enable as a stub, but you must implement the other > methods, otherwise you won't be able to run PTP. > > > My test setup is as below, > > > > 1. Two system connected back to back and both the system running > Linux > > 3.1.1 kernel. > > 2. On one side my HW and driver is running and on other side realteck > 8169 > > driver is running. I modified the realteck driver to support software > > timestamping ie added "skb_tx_timestamp()" in start_xmit function. > Since I > > don't have other NIC card that support HW time stamping, so I am > using > > software timestaping on other side. > > > > So is it possible to do basic validation/tetsing of PTP using above setup > ? > > Yes, I think so. > > > Feb 5 20:11:04 snps ptp4l: [17640.898] failed to adjust the clock: > > Operation not supported > > Because your driver isn't finished. > > > I am new to PTP so not able to understand the above log completely, > please > > let me know if my test setup is correct or not. > > Looks okay to me. > > HTH, > Richard > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Linuxptp-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxptp-users |