Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1712 - kernel module 8139cp conflicts with 8139too

Attached to Project: Arch Linux
Opened by Tobias Powalowski (tpowa) - Monday, 01 November 2004, 09:20 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 28 July 2005, 06:35 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

hi again
i had this issue on my laptop:
hotplug tries to load 8139cp instead of 8139too

here is the source of the problem:
8139cp has exatcly the same entry in modules.pcimap
as the 8139too, hotplug founds "cp" module first because it's listed before "too" module loads it and it fails

8139too will not be loaded if you blacklist 8139cp

you can find this file at /lib/modules/2.6.9-ARCH/

i googled around and it seems to be a known problem.

i found that it's from 2002:
http://fr.rpmfind.net/linux/RPM/suse/8.1/i386/suse/i586/hotplug-2002_04_01-45.i586.html
--snip
usb-blacklist-8139cp.diff adds 8139cp to the blacklist.
8139cp.o is listed only once in modules.pcimap. And for exactly this device there is also an entry with 8139too, which works better.
---snap

http://lists.asu.edu/cgi-bin/wa?A2=ind0309&L=asulug&F=&S=&P=2957
---snip
If that doesn't work I would suggest using the 2.4 boot floppy kernel
which has it statically compiled in, or install the latest 2.4 kernel
deb which has it compiled as a module. There are two modules in the 2.4 kernel for the RTL8139. The best one to use is 8139too, you should only use the 8139cp if the former doesn't work. The 8139cp module handles the some versions of the RTL8139c revision that had some hardware implementation bugs.
---snap

suggestion:
we can disable 8139C module then the conflict may not arise or the people have to load the 8139too explicitly

greetings
tpowa
This task depends upon

Closed by  Judd Vinet (judd)
Friday, 25 November 2005, 00:23 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Monday, 01 November 2004, 19:09 GMT
Hmm... I know that some people have the RTL 8139C+ card, which apparently works better with the 8139cp module. They'll yell at me if I remove it.

Any other way for these two to coexist?
Comment by Tobias Powalowski (tpowa) - Monday, 01 November 2004, 22:42 GMT
yeah that's really tricky
hotplug needs to be concerned that if 8139cp is blacklisted
it should load 8139too, have to do some reasearch on that

btw, it's stupid to let two cards make the same entry in modules.pcimap

temporary workaround for that is disabling the 8139cp line in modules.pcimap
Comment by Tobias Powalowski (tpowa) - Tuesday, 02 November 2004, 16:05 GMT
found a way :)
in this case 8139cp is loaded first and after that 8139too

i think when 8139cp will work it cannot load 8139too after it
for me now 8139cp gives me "please try 8139too" which is loaded after 8139cp is tried to load :)

if you would add this to modprobe.conf:
install 8139cp /sbin/modprobe -i 8139cp ; /sbin/modprobe 8139too
Comment by Benoit FAY (bfay) - Thursday, 04 November 2004, 08:21 GMT
Hi,

I had the same issue on my computer too.

Adding MODULES=(... 8139too ...) in /etc/rc.conf solved the problem for me.

Regards,

Benoit FAY
Comment by Ralph Jones (WW981) - Thursday, 14 April 2005, 20:25 GMT
Isn't this a bug in module-init-tools? I have absolutely no clue how the kernel modules and 'depmod' work, but depmod does generate the
modules.pcimap doesn't it? This gave me a run-around with LFS awhile back.
Comment by arjan timmerman (blaasvis) - Tuesday, 26 July 2005, 17:32 GMT
is it resolved by now ?
Comment by Tobias Powalowski (tpowa) - Thursday, 28 July 2005, 06:35 GMT
no, i changed to loading module by hand
Comment by Pavel Shevchuk (Stalwart) - Tuesday, 04 October 2005, 11:10 GMT
I have same problem
Comment by 甘露(Lu Gan) (ganlu) - Thursday, 24 November 2005, 14:03 GMT
This could be closed since hwdect loads the street, :-)

Loading...