How to block module loading on boot

Asked by Mrs Kensington

The laptop I have has issues with a couple of the modules, specifically 8139too and sdhci. When these modules are loaded they completely freeze the system with no output. Bugs have been created to cover both issues but as the modules are included in the initrd and load automatically at boot, without rebuilding the ubunutu livecd, it seems to be impossible to load the LiveCD and install ubuntu.

Is there any way of stopping certain modules from being loaded by appending something to the kernel boot parameters? If not, where is the correct place to put in an enhancement request?

Thanks

Mrs K

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#1

"Is there any way of stopping certain modules from being loaded by appending something to the kernel boot parameters?"

Yes, just write this modules to file /etc/modprobe.d/blacklist

From this file:
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

Revision history for this message
Mrs Kensington (mike-mikeditum) said :
#2

That works fine for a system that already had Ubuntu installed. My laptop crashes before the ubuntu livecd has finished booting so there is no way for me to install ubuntu.

What I'm looking for is a way to tell the kernel (or hotplug or whatever) from grub not to load a module it has in the initrd or on the filesystem.

Revision history for this message
miked (miked11) said :
#3

Howdy Mike-d. here,
Disclaimer: I usually just report bugs and crashes.
I don't know much about this, but have come across the debugging pages in the past, may it have some info for you to try
https://help.ubuntu.com/community/DebuggingIRQProblems

Revision history for this message
miked (miked11) said :
#4

Can you help with this problem?

Provide an answer of your own, or ask Mrs Kensington for more information if necessary.

To post a message you must log in.