how do I disable kernel modules from being loaded
I was having problems setting up ati radeon drivers on by linux box because i couldn't get fglrx kernel module loaded. Insmod kept saying "operation not permitted". I checked boot messages and found a line that said :
*ERROR* Fire GL kernel module has to be loaded prior to any other DRM kernel module
Did a cat /proc/modules, saw that there is an "radeon" module and then I removed it with rmmod and I was then able to load fglrx.
I would like ko know is there a way to disable that module from being loaded at boot time without recompiling the kernel or deleting th .ko file in /lib/modules/2.6.3..../..... Which script(s) are used to load kernel modules ?
look around in /etc, for a file like /etc/modules.conf. i'm not sure what distro you're using, but you probably have a modules.conf file somewhere that lists the modules to be loaded at startup. or there might be something in /etc/rc.d/, i'm too lazy to check (i'm not right near a linux box at the moment).
if playing with that doesn't work, or if you can't find it, you can always move the .ko file, and put it back when you need it.
|All times are GMT -5. The time now is 06:24 PM.|