Roberto C. Sanchez wrote:
On Sun, Jan 28, 2007 at 06:31:38PM +0100, Andreas Berglund wrote:
Hi!
I wish to prevent the modules mentioned in the subject from being loaded
at boot. None of them are mentioned in /etc/modules so I don't know why
they are getting loaded. I have read the manpages for modprobe,
module-init-tools, update-modules and all the relevant programs I could
think of but I haven't been able to find out why the modules are being
loaded, so if someone could help me with that it would be great.
If they are being loaded by hotplug/udev, you can prevent it by adding
the module names to /etc/modprobe.d/blacklist.
Thanks very much for the help. I tried your suggestion and I put
'blacklist modulename' on a line by itself in /etc/modprobe.d/blacklist
for each module, but on bootup I got the message "modprobe: WARNING:
/etc/modprobe.d/blacklist line x: ignoring bad line starting with
'blacklist'" and the modules still got loaded. Then I upgraded the
module-init-tools to the etch version and the messages disappeared but
the modules lp and parport still get loaded, only parport_pc is kept out
of the kernel. Did I get the format of blacklist wrong or am I missing
something else?
regards
Andreas
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]