Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13591 - Kernel module net/3c59x in 2.4.20 (LiveCD) buggy
Summary: Kernel module net/3c59x in 2.4.20 (LiveCD) buggy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Bob Johnson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-09 13:04 UTC by Xavier Spriet
Modified: 2003-04-04 01:28 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 Xavier Spriet 2003-01-09 13:04:40 UTC
There's apparently a nasty bug in the implementation of the kernel module
net/3c59x in kernel series 2.4.20. LiveCD is affected, so is RedHat 8.1b and
most certainly any distribution using this kernel (I suspect Gentoo emerged
kernels do as well).
This problem affects 3c556B cards making the kernel unable to detect the network
card transceiver.
I haven't been able to try it out but I believe the newest version of the 3c59x
module (which can be found at ftp://ftp.scyld.com/pub/network/test/3c59x.c)
fixes this issue.
Other network cards may be affected by this bug as well but I don't really think so.

The symptoms while in the LiveCD are:
ifconfig eth0 up gives a bunch of errors like:
eth0: command 0x5800 did not complete! Status=0xffff
eth0: command 0x2804 did not complete! Status=0xffff
eth0: command 0x3002 did not complete! Status=0xffff
eth0: command 0x3002 did not complete! Status=0xffff
and so on

ifconfig eth0 after that displays the MAC address as FF:FF:FF:FF:FF:FF

Note that this problem did not occur with Gentoo 1.2 nor with RedHat 8.0 which
uses kernel 2.4.18

It's not a gentoo-specific issue but I believe the problem can be fixed in the
LiveCD and emerged kernel to make Gentoo ahead of the competition  ;)
Comment 1 Xavier Spriet 2003-01-17 07:21:55 UTC
http://www.gentoo.org/dyn/index-cvs.xml

This shows a "fix for 3c59x again"
Does this apply to LiveCD as well or just the gentoo kernel ?
Also, does it fix this specific issue ?
Is there a way to access the diffs in the CVS repository for gentoo users like
some kind of web interface or anonymous CVS access ?

Thanks.
Comment 2 Bob Johnson (RETIRED) gentoo-dev 2003-01-18 01:10:32 UTC
Ive fixed this driver 10x :), it always messes up somewhere different..  
The url you posted is a newer driver, but it doesnt get along with 
current acpi. gs-sources contains some fixes from the Marcelo 
bitkeeper tree, but no idea if they fix your problem. 
There are no diffs on cvs, they are all in one tarball for each kernel. 
ie: gs-sources-2.4.21_pre3-r2 = linux-2.4.20 + patches-2.4.21_pre3-r2.tar.bz2 on ibiblio  
The only livecds that have any fixes at all are the experimentals. 
Comment 3 Xavier Spriet 2003-01-20 21:05:59 UTC
Fixed in latest experimental LiveCD.
Good work  :)
Comment 4 Bob Johnson (RETIRED) gentoo-dev 2003-01-21 05:09:22 UTC
fixed 
Comment 5 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:23:13 UTC
db fix
Comment 6 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:28:06 UTC
db fix