Re: [Linuxptp-users] Which distributions have native ptp support?
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Keller, J. E <jac...@in...> - 2013-10-28 22:37:17
|
What version of linuxPTP are you using? It appears you aren't using the 1.3 version as we moved to a method for obtaining the Tx timestamp that uses the poll() call. That might fix your issue. The other option would be to increase the tx_timestamp_timeout value, but I think moving to the newest Linux PTP should be a fix. Regards, Jake On Mon, 2013-10-28 at 21:35 +0000, Gabe Black wrote: > Nm, it was right. We have two subnets that will route to the meinberg, and they both work... So that means I still I don't know what it is... > > strace it shows: > sendto(11, "\1\2\0,\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2406\237\377\376\30*\213\0\1\0\0"..., 44, 0, {sa_family=AF_INET, sin_port=htons(319), sin_addr=inet_addr("224.0.1.129")}, 16) = \ > 44 > Followed by a bunch of: > > recvmsg(11, 0x7fff67459250, MSG_ERRQUEUE) = -1 EAGAIN (Resource temporarily unavailable) > nanosleep({0, 1000}, NULL) = 0 > recvmsg(11, 0x7fff67459250, MSG_ERRQUEUE) = -1 EAGAIN (Resource temporarily unavailable) > nanosleep({0, 1000}, NULL) = 0 > recvmsg(11, 0x7fff67459250, MSG_ERRQUEUE) = -1 EAGAIN (Resource temporarily unavailable) > nanosleep({0, 1000}, NULL) = 0 > recvmsg(11, 0x7fff67459250, MSG_ERRQUEUE) = -1 EAGAIN (Resource temporarily unavailable) > ... > > > > > -----Original Message----- > > From: Gabe Black > > Sent: Monday, October 28, 2013 2:20 PM > > To: Gabe Black; 'Keller, Jacob E' > > Cc: 'Ledda William EXT'; 'lin...@li...' > > Subject: RE: [Linuxptp-users] Which distributions have native ptp > > support? > > > > Oh sheesh.. I had a typo and was on the wrong subnet... > > > > It is working now! > > > > > -----Original Message----- > > > From: Gabe Black > > > Sent: Monday, October 28, 2013 1:18 PM > > > To: 'Keller, Jacob E' > > > Cc: Ledda William EXT; lin...@li... > > > Subject: RE: [Linuxptp-users] Which distributions have native ptp > > > support? > > > > > > > -----Original Message----- > > > > From: Keller, Jacob E [mailto:jac...@in...] You > > > > shouldn't have to, however, I would suggest disabling EEE support, > > > > as this has been known to cause issues on the i350 > > > > > > > > ethtool --set-eee device eee off > > > > > > > > This should fix your issue, if not please me know. > > > > > > Thank you for the reply. > > > > > > That option does not appear to be available with the stock igb driver > > > of RH6.4 > > > > > > [root@ network-scripts]# ethtool -i eth3 > > > driver: igb > > > version: 4.0.1-k > > > firmware-version: 0.1470, 0x05fc8000 > > > ... > > > [root@ network-scripts]# ethtool --show-eee eth3 Cannot get EEE > > > settings: Operation not supported > > > > > > Is there another way to disable EEE? Or would not having that option > > > in ethtool mean it is off? > > > > > > Gabe > > > > > > > On Mon, 2013-10-28 at 15:29 +0000, Gabe Black wrote: > > > > > Hi William, > > > > > > > > > > I installed redhat 6.4 and have the intel i350 (with igb driver) > > > and > > > > am having trouble getting it to work with a meinberg master. > > > > > > > > > > The output I get is: > > > > > > > > > > ptp4l[246980.523]: selected /dev/ptp1 as PTP clock > > > > > ptp4l[246980.525]: port 1: INITIALIZING to LISTENING on > > INITIALIZE > > > > > ptp4l[246980.526]: port 0: INITIALIZING to LISTENING on > > INITIALIZE > > > > > ptp4l[246980.773]: port 1: new foreign master 00606e.fffe.7c230e- > > 1 > > > > > ptp4l[246985.014]: selected best master clock 00606e.fffe.7c230e > > > > > ptp4l[246985.014]: foreign master not using PTP timescale > > > > > ptp4l[246985.014]: running in a temporal vortex > > > > > ptp4l[246985.014]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE > > > > > ptp4l[246985.989]: recvmsg tx timestamp failed: Resource > > > temporarily > > > > > unavailable > > > > > ptp4l[246985.989]: port 1: send delay request failed > > > > > ptp4l[246985.989]: port 1: UNCALIBRATED to FAULTY on > > > > > FAULT_DETECTED > > > > > > > > > > Did you have to do anything differently on the stock RH6.4 > > install > > > > > to > > > > get it to work? > > > > > > > > > > Thanks, > > > > > Gabe > > > > > > > > > > > -----Original Message----- > > > > > > From: Ledda William EXT [mailto:Wil...@it...] > > > > > > Sent: Monday, October 21, 2013 1:02 AM > > > > > > To: Richard Cochran; Gabe Black > > > > > > Cc: lin...@li... > > > > > > Subject: RE: [Linuxptp-users] Which distributions have native > > > > > > ptp support? > > > > > > > > > > > > I'm currently using RH 6.4 with Intel i350 (igb driver) with > > > > success > > > > > > (no need to recompile the kernel). About RH 6.5 I know that > > > > > > there will be many improvements, more eth driver supported, and > > > > > > it should include version 1.3 of linuxptp package. > > > > > > > > > > > > William > > > > > > > |