Thursday, February 10, 2011

how to blacklist an unwanted module

Mostly in connection to a wireless card it is necessary to block some modules in the kernel to overcome kernel panic:

Note: Some people experienced random kernel panic with the new 2.6.37 because they forgot to blacklist some modules that normally had to be disabled for their Broadcom wireless card. See the wiki.
The thing is many wireless drivers are included with this new kernel so your wireless card will most likely work right away but you still have to be careful (at least for Broadcom users). If you get a kernel panic and your wireless card gets disabled, your system
might freeze with a black screen everytime until you enable your wireless card again through windoze or something else). If you used to install broadcom-wl for your wifi card, you should still install it (to be sure your wifi card works perfectly and to have a blue LED rather than a RED one)
It occured to me so I know

Blacklist the unwanted module on the MODULES= line by prefixing it with a bang (!) in /etc/rc.conf.
MODULES=(!ath5k !rt2860sta forcedeth snd_intel8x0 ... ...)

No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.