Re: [Linuxptp-users] "poll tx timestamp timeout", igb on i210, vanilla kernel
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Jean-Baptiste M. <jea...@pa...> - 2013-10-28 16:53:40
|
On 10/28/2013 05:41 PM, Jean-Baptiste Maillet wrote: > On 10/25/2013 06:12 PM, Vick, Matthew wrote: > ... >> I210 should definitely be working in the upstream Linux kernel. Please let >> me know if it is not. > > I think there is a problem. > ptp4l "poll tx timestamp timeout" 100% > igb driver on i210 "Detected Tx Unit Hang" 100% > > Tested here with a freshly built 3.10.2 fetched from kernel.org. ... > >> I'm uncertain what the Debian kernel version of igb looks like. It's >> possible some critical patch is missing. You can try the latest version >> (5.0.6) from e1000.sf.net and compiling with CFLAGS_EXTRA=-DIGB_PTP to see >> if that driver works for you. > > Will do. Done. Good news: same results. Should this go to e1000-devel instead? $ make CFLAGS_EXTRA=-DIGB_PTP make -C /lib/modules/3.10.2-vanilla-686-pae/build SUBDIRS=/home/jbmaillet/sandbox/igb-5.0.6/src modules ... $ modinfo /home/jbmaillet/sandbox/igb-5.0.6/src/igb.ko filename: /home/jbmaillet/sandbox/igb-5.0.6/src/igb.ko version: 5.0.6 license: GPL description: Intel(R) Gigabit Ethernet Network Driver author: Intel Corporation, <e10...@li...> srcversion: 55D8265EA2BD13346D24336 ... # insmod /home/jbmaillet/sandbox/igb-5.0.6/src/igb.ko (root@sumo) (/home/jbmaillet/sandbox/linuxptp-git) # ifconfig eth2-igb 192.168.100.2 up (root@sumo) (/home/jbmaillet/sandbox/linuxptp-git) # ./ptp4l -i eth2-igb -m -l 7 ptp4l[14466.673]: selected /dev/ptp0 as PTP clock ptp4l[14466.673]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000 ptp4l[14466.674]: driver changed our HWTSTAMP options ptp4l[14466.674]: tx_type 1 not 1 ptp4l[14466.674]: rx_filter 1 not 12 ptp4l[14466.674]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[14466.675]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[14472.675]: port 1: announce timeout ptp4l[14472.675]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES ptp4l[14472.675]: selected best master clock a0369f.fffe.1c38a8 ptp4l[14472.675]: assuming the grand master role ptp4l[14472.676]: port 1: master tx announce timeout ptp4l[14472.676]: port 1: setting asCapable ptp4l[14473.675]: port 1: master sync timeout ptp4l[14473.676]: poll tx timestamp timeout ptp4l[14473.676]: port 1: send sync failed ptp4l[14473.676]: port 1: MASTER to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED) ptp4l[14473.676]: waiting 2^{4} seconds to clear fault on port 1 ^Cptp4l[14476.358]: caught signal 2 (root@sumo) (/home/jbmaillet/sandbox/linuxptp-git) # dmesg [14469.599074] Intel(R) Gigabit Ethernet Network Driver - version 5.0.6 [14469.599085] Copyright (c) 2007-2013 Intel Corporation. [14469.599969] igb 0000:03:00.0: irq 43 for MSI/MSI-X [14469.599989] igb 0000:03:00.0: irq 44 for MSI/MSI-X [14469.682421] igb 0000:03:00.0: added PHC on eth0 [14469.682433] igb 0000:03:00.0: Intel(R) Gigabit Ethernet Network Connection [14469.682440] igb 0000:03:00.0: eth0: (PCIe:2.5GT/s:Width x1) [14469.682447] igb 0000:03:00.0: eth0: MAC: [14469.682451] a0:36:9f:1c:38:a8 [14469.682664] igb 0000:03:00.0: eth0: PBA No: G69016-001 [14469.688917] igb 0000:03:00.0: LRO is disabled [14469.688931] igb 0000:03:00.0: Using MSI-X interrupts. 1 rx queue(s), 1 tx queue(s) [14469.701223] systemd-udevd[13872]: renamed network interface eth0 to eth2-igb [14474.746458] IPv6: ADDRCONF(NETDEV_UP): eth2-igb: link is not ready [14477.545681] igb: eth2-igb NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None [14477.545956] IPv6: ADDRCONF(NETDEV_CHANGE): eth2-igb: link becomes ready [14479.744322] igb 0000:03:00.0: Detected Tx Unit Hang ... -- JB |