Jump to content

block load of modules on start [solved]


Guest Gonzalo
 Share

Recommended Posts

Guest Gonzalo

Hi, first sorry for my english!

 

then

I have a module that I don't want linux charge when it start, i searched in google but I just found solution that didn't work for me!

I tried to modify modprobe.config adding a line like "blacklist snd-usb-audio" but didn't work I modified modprobe.preload didn't work, I tried whit this command

 

echo "blacklist nombre_del_modulo" > /etc/modprobe.d/blacklist-nombre_del_modulo and nothing!

 

I found some manuals about modconf but I doesn't exist for mandriva. I don't know what to do! If you want please help me!!! thanks!

Gonzalo

Link to comment
Share on other sites

Guest Gonzalo

Hi, well with

# rmmod snd-usb-audio module remove in that moment

 

but adding that line

# echo "rmmod snd-usb-audio" > /etc/rc.d/rc.local in /etc/rc.d/rc.local when I reboot the computer and make #lsmod

module snd-usb-audio is still there!

Link to comment
Share on other sites

I tried to modify modprobe.config adding a line like "blacklist snd-usb-audio" but didn't work I modified modprobe.preload didn't work, I tried whit this command

 

echo "blacklist nombre_del_modulo" > /etc/modprobe.d/blacklist-nombre_del_modulo and nothing!

 

Shouldn't it be:

 

echo "blacklist snd-usb-audio" > /etc/modprobe.d/blacklist-snd-usb-audio

 

Or did you try this already?

 

EDIT:

 

I also found this:

 

 Blacklisting automatic modules loading

You are allowed to blacklist automatic module loading by using the following syntax in /etc/modprobe.conf, thanks to the latest module-init-tools package :

blacklist <module name>

It forbids modprobe to load modules when "modprobe <matching modalias>" is used, but still allows "modprobe <module name>".

 

so you'd be editing this file and putting:

 

blacklist snd-usb-audio

 

in the /etc/modprobe.conf file. Found at this link:

 

http://qa.mandriva.com/twiki/bin/view/Main/Udev

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...