Hello, I'm trying to track down a bug. At first I thought it was a Debian or linuxptp bug, but I think it could be a bug other places such as the network driver or kernel ptp section.
Let me first start with the cause and effect. When I run "ptp4l -m -i eth0" this causes sshd to break. The specific sshd errors look like: ssh_dispatch_run_fatal: Connection from 10.244.33.4 port 52630: Resource temporarily unavailable [preauth] There are other network issues after the breakage, DNS resolves like "ping google.com" breaks and a simple nc session does not transmit all of the tx packets right away. However networking still works, established ssh connections are fine and "ping 8.8.8.8" works. Using gdb I was able to narrow this down to the ioctl(fd, SIOCSHWTSTAMP, &ifreq); on line 88 of sk.c. When single stepping with gdb before this line ssh still works fine, after this it is broken until a reboot. So tomorrow I was planning to try and create a standalone testcase with the ioctl() and then try to map that in the kernel driver some. I thought I would go ahead and post this in case anyone else had any thoughts. HW/SW setup: This is on an arm64 system (xilinx zynqmp) using the macb ethernet driver: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841740/Macb+Driver The OS is Debian Stretch. I get the same results with a 4.18 (xilinx and RT patches) kernel as well as 5.0rc8. Some of what I've done can also be seen through this debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923346 thanks, Paul _______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
