How to disable the autoloading of a specific module in Linux -
i compiled linux kernel according linux device driver chapter 4: debugging techniques. after loaded first hello world module , checked output dmesg
, however, can see evbug: .......
.
i know can turn off evbug
's output execute sudo rmmod evbug
. but, obviously, inconvenient execute command after each reboot.
how disable module's autoloading? want load manually when need it.
you need blacklist module. debian systems see https://wiki.debian.org/kernelmoduleblacklisting. redhat systems see https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/installation_guide/rescuemode_drivers-blacklisting.html
Comments
Post a Comment