[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
Launchpad has imported 23 comments from the remote bug at https://bugzilla.kernel.org/show_bug.cgi?id=8962. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2007-08-30T11:22:39+00:00 gbailey wrote: Most recent kernel where this bug did not occur: Unknown Distribution: CentOS 4.5 Hardware Environment: Intel server board SE7320VP21 02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8050 PCI-E ASF Gigabit Ethernet Controller (rev 18) Subsystem: Intel Corporation: Unknown device 3466 Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at deefc000 (64-bit, non-prefetchable) [size=16K] I/O ports at b800 [size=256] Expansion ROM at deec [disabled] [size=128K] Capabilities: [48] Power Management version 2 Capabilities: [50] Vital Product Data Capabilities: [5c] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable- Capabilities: [e0] Express Legacy Endpoint IRQ 0 Software Environment: CentOS 4.5 install + "vanilla" kernel 2.6.23-rc4 Problem Description: Discovered while attempting to troubleshoot: https://bugzilla.redhat.com/show_bug.cgi?id=228733 I'm trying to understand the "tx timeout" messages, and how to reproduce them. In my test environment, I have 2 servers, each of which has a sky2 Marvell NIC connected to a switch as "eth0". On server "B", I type "nc -l -p 3409 > /dev/null" On server "A", I type "nc server-B 3409 < /dev/zero" I see lots of traffic from A->B, as would be expected. If I shutdown eth0 on server "B" using "ifdown eth0", wait a few seconds, and then re- enable eth0 on server "B" using "ifup eth0", I see the following in "dmesg" output on server B: sky2 eth0: disabling interface sky2 eth0: enabling interface sky2 eth0: ram buffer 48K sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control rx ip_tables: (C) 2000-2006 Netfilter Core Team As expected... The problem is that server B can occasionally end up in a state where it is unable to ping or access the local subnet anymore. Both "mii-tool" and "ethtool eth0" shows a link present. If I perform "ifdown eth0; ifup eth0" on server B, it doesn't help anything. If I unload the sky2 module, then things clear up and I'm back on the network again. I'm curious about this testcase because the symptom seems to match the earlier "tx timeout" messages; the driver tried to re-enable itself after a timeout, but it's still not able to see any traffic. Steps to reproduce: See "Problem Description" above. While traffic is continuously being transmitted from server "A" to server "B", shutdown the network interface on server "B", and then start the interface on server "B". Monitoring RX traffic on server "B" will indicate when it is no longer receiving the bytes sent from server "A". Reply at: https://bugs.launchpad.net/ubuntu/+source/linux- source-2.6.20/+bug/114019/comments/4 On 2007-08-30T13:40:30+00:00 stephen wrote: CentOS has older version of driver please update to latest version from 2.6.22.6 or 2.6.23-rc4. There are several bugs that caused tx timeouts (hung chip), and a problem that led to PHY clock issues. Reply at: https://bugs.launchpad.net/ubuntu/+source/linux- source-2.6.20/+bug/114019/comments/5 On 2007-08-30T14:42:09+00:00 gbailey wrote: The kernel version I encountered this on is 2.6.23-rc4, as marked in the bug report and is why I chose CentOS 4.5 install + "vanilla" kernel 2.6.23-rc4" under "Software Environment". Reply at: https://bugs.launchpad.net/ubuntu/+source/linux- source-2.6.20/+bug/114019/comments/6 On 2007-09-05T06:35:35+00:00 stephen wrote: Please enable the sky2 debugfs kernel configuration option. Mount debugfs on somewhere (/debug) Hang system then capture sky2 state. (cat /debug/sky2/eth0 >savefile) It will show the status of IRQ and receive/transmit. Reply at: https://bugs.launchpad.net/ubuntu/+source/linux- source-2.6.20/+bug/114019/comments/8 On 2007-09-07T13:59:57+00:00 gbailey wrote: Rebuilt 2.6.23-rc5 with SKY2_DEBUG. I've reproduced the issue where ifdown/ifup does not reset the interface properly. # cat /debug/sky2/eth0 IRQ src=0 mask=c01d control=0 Status ring (empty) Tx ring pending=24...24 report=24 done=24 Rx ring hw get=169 put=169 last=1023 Reply at: https://bugs.launchpad.net/ubuntu/+source/linux- source-2.6.20/+bug/114019/comments/9 On 2007-09-10T13:49:12+00:0
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
** Changed in: linux Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/114019 Title: sky2 driver "tx timeout" with large uploads -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
** Changed in: linux Status: Incomplete => Invalid -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
No longer using Ubuntu on machines with this hardware. Too bad a fully functional driver gets crippled and even removed in favour of one in beta state. ** Changed in: linux (Ubuntu) Status: Incomplete => Invalid -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
Thanks for taking you time in reporting this but. This bug has remained idle for some time. Can you still confirm this bug? does the issue persist with the kernel 2.6.24-19? Please, don't forget to answer -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
** Changed in: linux Status: Confirmed => Incomplete -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
** Changed in: linux Status: Unknown => Confirmed -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
** Changed in: linux Bugwatch: Linux Kernel Bug Tracker #7546 => Linux Kernel Bug Tracker #8962 Status: Fix Released => Unknown -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
** Changed in: linux Status: Unknown => Fix Released -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
** Bug watch added: Linux Kernel Bug Tracker #7546 http://bugzilla.kernel.org/show_bug.cgi?id=7546 ** Also affects: linux via http://bugzilla.kernel.org/show_bug.cgi?id=7546 Importance: Unknown Status: Unknown -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
Still happens with 2.6.20-16.31; driver only resets itself approximately half an hour after failure. -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
Half an hour wasn't enough :( Today driver restarted device after 40 minutes when the problem happened once again. -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
It appears that with 2.6.20-16 the connection just hangs without anything being printed to syslog or dmesg, and rmmod/modprobe of the the sky2 module is required to get the device working again (I waited over half an hour after ppp/vpn connections stopped working). In 2.6.20-15 it would always printed the "tx timeout" messages within minutes after the connection failed, and automatically reset itself without human intervention. -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 114019] Re: sky2 driver "tx timeout" with large uploads
Still exists with 2.6.20-16 -- sky2 driver "tx timeout" with large uploads https://bugs.launchpad.net/bugs/114019 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs