Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142088 - tg3 kernel module patch
Summary: tg3 kernel module patch
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugzilla.redhat.com/bugzilla/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-29 07:41 UTC by Patrick Otto
Modified: 2006-08-27 09:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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