How do I disable loading of unnecessary kernel modules. Kernel 3.2.4
|
Just open your
EDIT: In later versions since 12.10 (12.04?) the file is Reboot your box and use lsmod command to show the status of modules in the Linux Kernel Note: here
........
........
6:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
Subsystem: Lenovo Device 3861
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at b8000000 (64-bit, non-prefetchable) [size=64K]
Expansion ROM at [disabled]
Capabilities:
Kernel driver in use: tg3
Kernel modules: tg3
........
........
Here, I see the driver is Plenty of info can be found here. |
|||||||||
|
|
You can also temporarily blacklist them on the grub command line (linux line) when you boot with the syntax
|
|||||||||||||||||||||
|
|
None of these solutions worked on 16.04 LTS for i915.ko. The (dirty) solution I found was to rename
Unfortunately, external VGA screen is not recognised anymore :{ |
|||||
|
|
Another way to blacklist modules in at least Ubuntu 16.04 LTS is by adding the following line to the kernel command line:
Using the /etc/modprobe system is the best way, but this is an alternative that can be used in a pinch by editing your GRUB command line at boot. This can also be made permanent by editing /etc/default/grub and adding to the
Then I run This method also works in EL variants (RHEL, CentOS, SciLinux), but you'll have to use that distro's methods to update grub and the initrd. (Note to those trying to blacklist nouveau: Make sure to not load X by running |
|||
|
|
|
In more recent releases, you need to use the install directive in your blacklist file
Replace "modulename" above with the name of the module. This will forcibly prevent its loading. You can find more info about the install directive in the manual for modprobe.conf
|
|||
|
|