View Full Version : blacklist
yazdzik
11-17-2006, 10:54 PM
Dear friends,
I need to blacklist bcm44xx to prevent it from loading ever under any circumstances.
Running a fresh debian isntall.
Best,
M
bluesdog
11-17-2006, 11:52 PM
I've never had much luck with blacklisting drivers. Some say it's possible, but I just can't seem to make it work if the module in question is loaded by the kernel.
If you are using hotplug, adding the module name to /etc/hotplug/blacklist may work, but this procedure failed for me:
For example, the 'evbug' module kept loading itself, despite adding it to /etc/hotplug/blacklist, and although I could remove it using modprobe -r evbug or rmod evbug as root, it loaded again next boot.
Ultimately, I resolved this by re-compiling the kernel, and de-selecting the evbug module from the .config.
Prior to that, I killed the thing by renaming /lib/modules/<kernelversion>/kernel/drivers/input/evbug.ko, to /lib/modules/<kernelversion>/kernel/drivers/input/evbug.off
When the system booted, it could not locate the driver, so 'failed' to load the module. A 'hack-ish' method, but it worked without impacting the rest of the system :biggrin:
hope that helps
bhobjj
11-18-2006, 12:19 AM
Try adding it to:
/etc/modprobe.d/blacklist
bluesdog
11-18-2006, 01:39 AM
Try adding it to:
/etc/modprobe.d/blacklistThat may, indeed, work, so it's worth a try. Although, iirc, it did not work for that damn evbug module :/
I think I tried both 'blacklist' strategies as suggested in various fora
Let us know what works:)
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.