RE: Lots of unnecessary modules loaded (fwd)

Remco Barendse <[email protected]> Mon, 23 May 2005 10:04:38 +0200 (CEST)
Newsgroups gmane.linux.tao.general
Message-ID <[email protected]>
oops, replied directly instead of to the list. sorry bout that!

On Mon, 23 May 2005, Remco Barendse wrote:

>
>>> After the new install I have lots and lots of modules loaded
>>> I will never use or do not see the need for.
>> 
>> Upgrade?  Fresh install?
>
> Fresh install, the installer has recognized lots of stuff that is physically 
> present but I will never use it (FireWire, USB, some ISDN driver I don't 
> want, a driver for an onboard Raid controller I'll never use etc.).
>
> Having these extra drivers loaded can only cause extra problems. I am now 
> running a series of rmmod commands from rc.local but surely there is a way of 
> preventing them to load at all.
>
> For example, the installer detected an ISDN card (which is correct) but I 
> want to use it with a different driver. Now I have to load the other drivers 
> from rc.local and start the PBX from rc.local too without using the init 
> scripts.
>
>> How can you tell those modules are loaded?  Lsmod?
>
> Yes
>
>>> When I look in /etc/modprobe.conf however these modules are not listed
>> You mean /etc/modules.conf ?
>
> No, the filename changed in RHEL4 :)
>
>
> Thanks!
>
>> 
>>> 
>>> How can I get rid of them? I tried finding it in the RHEL4
>>> docs but didn't get very far.
>> 
>> Ugo
>> 
>