You are not logged in.

#1 2008-04-26 17:10:58

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

[Solved] blacklisted 8139cp prevents 8139too

Hi,
up to now I let udev do the work loading modules for my network cards (1 nforce2 integrated, 1 realtek)
But I noticed udev loaded both 8139cp and 8139too into memory so I blacklisted 8139cp as suggested here:
http://bbs.archlinux.org/viewtopic.php? … 18#p359834
Even if I never noticed any problems

MODULES=(!8139cp !pcspkr)

This prevents 8139too too from loading at boot: I have to load it manually via modprobe.
I can't understand why.

Thanks for your help, hopefully

Last edited by carlocci (2008-04-28 20:18:17)

Offline

#2 2008-04-28 20:18:01

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: [Solved] blacklisted 8139cp prevents 8139too

I've been checking my initrd.
If I understood correctly first $MODULES in my mkinitcpio are loaded into memory, then the udev hook
then control is passed to kinit which calls rc.sysinit which load $MODULES in rc.conf (checking if they are blacklisted with "$mod" = "${mod#!}" )
Then


Hell, sometimes the answer if not in yourself, it's in your computer: very maieutic.
/etc/udev/readme-udev-arch.txt

-----------------------------------
* Network 8139too & 8139cp problem:
-----------------------------------
- Both modules have the same kernel entry, which can cause problems.
Solution:
- Enter the one you need in MODULES=() and blacklist the other one
- eg: MODULES=(!8139cp 8139too)
- The example tells udev to ignore 8139cp module and load 8139too afterwards.

Thanks Tpowa

Offline

Board footer

Powered by FluxBB