Re: Re: tao-d] Lots of unnecessary modules loaded

Remco Barendse <[email protected]> Fri, 29 Jul 2005 17:35:28 +0200 (CEST)
Newsgroups gmane.linux.tao.general
Message-ID <[email protected]>
On Thu, 28 Jul 2005, Bogdan Costescu wrote:

> On Wed, 27 Jul 2005, Remco Barendse wrote:
>
>> That's why I wondered how I could remove it. I solved it by a series
>> of rmmod commands in rc.local and loading the proper drivers from
>> there.
>
> You can avoid loading the modules in the first place by commenting out
> the corresponding lines in /etc/modules.conf (or /etc/modprobe.conf -
> you don't specify if it's Tao 1 or 4). You might also need to disable
> kudzu, which has the ability of putting these lines back in.

Thanks, for the reply but I already tried that, the specific modules are 
not in /etc/modprobe.conf (Tao4). I'm guessing that the modules are 
included in initrd for some reason. However, I have no idea how to get 
control over the modules that are included with initrd.

>
>> Also I don't like to have unneccesary drivers loaded. Why have some
>> flaky SATA drivers in mem when the controller is not even being
>> used, same for USB etc.
>
> If you know that you won't use these devices, you can also disable
> them in the BIOS, which will prevent them from even being present on
> the PCI bus.

That wouldn't solve this specific issue, I do need some of the devices but 
not with the standard kernel driver.

Thanks!!
Remco