You are not logged in.

#1 2008-04-09 07:41:20

sH
Member
From: Braunschweig, Germany
Registered: 2007-05-02
Posts: 145

Module Blacklisting is ignored (RT73 problem)

Hello,

I have a WLAN USB Dongle with the RT73 chipset. Udev automatically loads the following modules for me: rt73usb, rt2x00usb, rt2500usb and rt2x00lib. Somehow the latter 3 modules seem to block the rt73usb module from working, so iwconfig does not show any wireless interface.

I noticed that when i remove all these modules with "rmmod"  and modprobe rt73usb manually afterwards my interface is found. So I wanted
to blacklist the other modules. I added a "bang" in front of the modules in the MODULES array (rt73usb, !rt2x00usb, !rt2500usb !rt2x00lib)
and added them also to a file /etc/modprobe.d/blacklist with "blacklist rt2x00usb" and so on.

The modules get added automatically anyway. So I am curious. Does rt73usb need those modules and load them as a dependency? I wonder because it's not doing it when I modprobe manually. Why are my blacklisting settings ignored.

I am at work at the moment, so I cannot offer ".conf"-Files or anything but will provide them later in the evening if it is needed.
Any help is highly appreciated.


sH

Offline

#2 2008-04-09 08:36:47

brebs
Member
Registered: 2007-04-03
Posts: 3,456

Re: Module Blacklisting is ignored (RT73 problem)

You could add debugging lines to /etc/rc.*, e.g.:

lsmod > /tmp/point1.txt

Although a bit tedious, it will allow you to see where/when the modules are loaded.

Offline

#3 2008-04-09 10:09:59

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Module Blacklisting is ignored (RT73 problem)

modinfo rt73usb

will tell you that it depends on rt2x00lib and rt2x00usb. The only one you need to blacklist is rt2500usb.

Having said that, I've been using rt73usb for quite a while now, and only recently started blacklisting rt2500usb, just for tidiness. It works for me either way.

Offline

#4 2008-04-09 14:46:04

damjan
Member
Registered: 2006-05-30
Posts: 327

Re: Module Blacklisting is ignored (RT73 problem)

sH wrote:

...and added them also to a file /etc/modprobe.d/blacklist with "blacklist rt2x00usb" and so on.

The modules get added automatically anyway.

Note that if "/etc/modprobe.conf" is present, module-init-tools then will ignore anything in "/etc/modprobe.d/". Check that out.

ps.
That's why Slackware has a small patch for module-init-tools
http://slackware.at/data/slackware-curr … .d.diff.gz

Offline

#5 2008-04-09 14:50:36

bender02
Member
From: Germany
Registered: 2007-02-04
Posts: 1,328

Re: Module Blacklisting is ignored (RT73 problem)

Make sure that the modules aren't loaded already in initcpio - then blacklisting them in rc.conf doesn't do anything.

Offline

#6 2008-04-09 18:09:39

sH
Member
From: Braunschweig, Germany
Registered: 2007-05-02
Posts: 145

Re: Module Blacklisting is ignored (RT73 problem)

Thanks for your help.
I found out that blacklisting works but I have a different problem. I hope you can help me.
All the modules are loaded during bootup when the usb stick is plugged in (rt73usb,rt2x00usb,rt2x00lib)

I use autowifi to connect but it tells me :

No such device (wlan0)
Could not configure driver to use managed mode
Could not set interface wlan0 UP

now I plug-out the usb wlan stick and plug it back in

now autowifi still shows two errors, that two WEXT params are not supported, but the interface wlan0 is there and can be upped and I have a connection.

somehow these drivers just work when the usb stick is plugged in after the machine booted. when it is plugged in during boot-up they will fail.
anyone experience with that?

thanks so much.

Offline

#7 2008-04-09 23:10:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Module Blacklisting is ignored (RT73 problem)

Check dmesg and your logs after boot, and again after unplugging/plugging the stick. You should be able to see what's different.

Offline

#8 2008-04-10 19:02:20

sH
Member
From: Braunschweig, Germany
Registered: 2007-05-02
Posts: 145

Re: Module Blacklisting is ignored (RT73 problem)

Hmm... only difference that I can see, is that arch does not load rt2500usb driver when plugged in after boot. but during boot it das
modprobe -r rt2500usb
modprobe -r rt73usb
modprobe rt73usb does the trick there. Blacklisting rt2500usb does not work at all, gets loaded nevertheless.... frustrating.

Offline

Board footer

Powered by FluxBB