Stop kernel loading module on startup?


Results 1 to 3 of 3

Thread: Stop kernel loading module on startup?

  1. #1
    Join Date
    Mar 2003
    Location
    UK
    Posts
    621

    Stop kernel loading module on startup?

    Is it possibele to stop the kernel autoloading the module saa7134 and saa7134-alsa on startup? Tried /etc/modprobe.d/blacklist but it explicitly says it does not affect dernel autoload. Huge thanks any help.
    MI6, Offensive Information, Hackers, Encryption, UFO, AOL, Infowar, Bubba, benelux, Ufologico Nazionale, domestic disruption, 15kg, DUVDEVAN, debugging, Bluebird, Ionosphere, Keyhole, NABS, Kilderkin, Artichoke, Badger, spookwords, EuroFed, SP4, Crypto AG – a few, alleged, Echelon keywords. Please add some to your email signature. Full list: http://www.serendipity.li/cia/bz1.html
    http://www.nosoftwarepatents.com/

  2. #2
    Join Date
    Oct 2002
    Posts
    547
    The "blacklist" option blacklists modules loaded by that name only. But if some other module depends on that module, that module will get loaded because blacklisting does not match dependent modules.

    Alternative, one can force nothing to be installed by using the install option in /etc/modprobe.d/modprobe.conf like so:

    install MODULE_1 /bin/false
    install MODULE_2 /bin/false

    Also, make sure you are getting the mod names correct by using modprobe and "lspci -k"

    I found the above here.

    Cheers

    Mike
    $whatis microsoft
    microsoft: nothing appropriate

  3. #3
    Join Date
    Mar 2003
    Location
    UK
    Posts
    621
    Great thanks.

    Yours is probably the better way but solved my problem by re-naming the modules, put a ~ on the end, rebooting, and then the kernel simply could not find the modules so they did not get loaded.

    Then put them back to their correct names and re-stuck them in with the correct options: card=54, etc..

    Then it worked. I'm so proud of this that: http://www.justlinux.com/forum/showt...hreadid=153432
    MI6, Offensive Information, Hackers, Encryption, UFO, AOL, Infowar, Bubba, benelux, Ufologico Nazionale, domestic disruption, 15kg, DUVDEVAN, debugging, Bluebird, Ionosphere, Keyhole, NABS, Kilderkin, Artichoke, Badger, spookwords, EuroFed, SP4, Crypto AG – a few, alleged, Echelon keywords. Please add some to your email signature. Full list: http://www.serendipity.li/cia/bz1.html
    http://www.nosoftwarepatents.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •