On Tue, Sep 03, 2019 at 09:00:08PM +0000, Essling, Adam M wrote: > Hi, I'm trying to use ptp4l with [system1] and [system2] as slaves with a > Spectracom Versasync PTP clock as master. Both slave systems are running > Ubuntu 16.04 with ptp4l v1.8. I am using the default ptp4l.conf file. When I > run the following command (on system1): > > sudo ptp4l -i eth0 -f /etc/linuxptp/ptp4l.conf -m > > I get the following output: > ptp4l: [7769.535] selected /dev/ptp0 as PTP clock > ptp4l: [7769.537] port 1: INITIALIZING to LISTENING on INITIALIZE > ptp4l: [7769.537] port 0: INITIALIZING to LISTENING on INITIALIZE > ptp4l: [7769.537] port 1: link up > ptp4l: [7770.221] port 1: new foreign master 000cec.fffe.xxxxxx-1
So we did receive an Announce message (I guess on the general port). > ptp4l: [7770.221] recvmsg failed: No such file or directory But here recvmsg() returns ENOENT. Strange. That error isn't listed on the man page. I briefly scanned the kernel stack, and there are indeed a few cases where ENOENT can be returned, but I didn't see anything that could apply in this case. Could this possibly be due to a firewall? > I know the recvmsg failed error has something to do with the ptp4l > socket but I'm not sure how to go about fixing it. Please let me > know if more information is needed. - uname -r - ethtool -i - iptables -L Thanks, Richard _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users