Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 142088

Summary: tg3 kernel module patch
Product: Gentoo Linux Reporter: Patrick Otto <mail>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED NEEDINFO    
Severity: normal CC: blackhawk3008
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199227
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick Otto 2006-07-29 07:41:01 UTC
Uhm, no emerge --info at all. It's just a patch for the tg3 kernel module, because they're bugged like hell. Check URL for more information.

Patch goes here:
http://marc.theaimsgroup.com/?l=linux-netdev&m=115056877413890&w=2

Would be nice if someone adds this to the kernel ebuild.
Comment 1 Patrick Otto 2006-07-29 07:44:15 UTC
Aye. Just forgot the problem. oO


NETDEV WATCHDOG: eth0: transmit timed out
tg3: eth0: transmit timed out, resetting
tg3: tg3_stop_block timed out, ofs=2c00 enable_bit=2
tg3: tg3_stop_block timed out, ofs=1400 enable_bit=2
tg3: tg3_stop_block timed out, ofs=4800 enable_bit=2
tg3: eth0: Link is down.

And the link isn't down at all. Check URL for more infos about this bug.
Comment 2 Patrick Otto 2006-07-29 07:45:52 UTC
Spamming. Yay.

Another workaround is:

ethtool -K eth0 tso off

Thanks to satmd.
Comment 3 satmd 2006-07-29 07:46:57 UTC
Possible workaround:
manually disabling TSO
ethtool -K eth0 tso off
(effectively disables link autonegation?)

The patch disabled TSO for those NICs that cannot use TSO and prevents exactly the problem my command tries to work around.

Please include this patch :)
Comment 4 Bryan Østergaard (RETIRED) gentoo-dev 2006-07-29 08:37:34 UTC
*** Bug 142097 has been marked as a duplicate of this bug. ***
Comment 5 Christian Heim (RETIRED) gentoo-dev 2006-07-29 23:34:19 UTC
(In reply to comment #3)
> Possible workaround:
> manually disabling TSO
> ethtool -K eth0 tso off
> (effectively disables link autonegation?)
> 
> The patch disabled TSO for those NICs that cannot use TSO and prevents exactly
> the problem my command tries to work around.
> 
> Please include this patch :)

Could you please try 2.6.18_rc2 and see if that problem still exists ? I've just checked both, the netdev-2.6-git and linux-git trees and nowhere is that patch from Michael Chan included.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-08-13 02:57:04 UTC
Please test this patch against 2.6.17, it is included in the 2.6.18-rc releases and should be a better fix:

http://marc.theaimsgroup.com/?l=linux-netdev&m=115163090731530&q=raw
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-08-27 09:03:43 UTC
see comment #6