LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Exluding modules without recompiling? (http://www.linuxquestions.org/questions/linux-general-1/exluding-modules-without-recompiling-278575/)

BajaNick 01-16-2005 05:26 PM

Exluding modules without recompiling?
 
Is there any way to exclude modules without having to recompile the kernel?

mAineAc 01-16-2005 05:36 PM

do you mean keeping them from loading? You can control this in /etc/modules.conf if I remember correctly. On slackware it is /etc/rc.d/rc.modules.

BajaNick 01-16-2005 05:49 PM

Yes, stop one from loading, When i do " modprobe nvidia " it does not see anything. I just installed the nvidia drivers.

mAineAc 01-16-2005 09:45 PM

you don't modprobe nvidia you have to load the driver via /etc/X11/xorg.conf

BajaNick 01-16-2005 10:11 PM

When I installed, or tried to install the nvidia drivers, I got a message saying that the Rivafb module needs unloaded before I can use the Nvidia drivers. Do I just need to change xorg.conf or do I also need to do something with the kernel modules? Thanks.

mAineAc 01-16-2005 10:29 PM

try rmmod rivafb if you do lsmod you will see all the modules loaded. A frame buffer module is usually loaded at startup

BajaNick 01-17-2005 01:59 AM

If I do that and have not a module to take its place, will I lose my video or will it default to vesa?

mAineAc 01-17-2005 08:47 AM

yes you won't have any problem doing this. It should fall back to vesa. if you rmmod that module. Just reconfigure your xorg.conf and then startx after you do that if you get errors then post your /var/log/Xorg.0.log

BajaNick 01-17-2005 09:36 PM

Thanks :)


All times are GMT -5. The time now is 02:40 AM.