Randall,

In most cases a Redhat based distro (Redhat, Centos, etc) will only load required modules. The key is making sure you have the modules you really need. The unnecessary ones will not load because there is not a hardware device for them to bind to. The most critical are local storage and network device modules and these are very easy to determine based on the components of your system.

While there is no single tool (that I can think of) that just tells you what modules you need it is pretty simple to use command line tools like `lspci` and see what devices are there.

If you do a basic install using a modern distro it will load the modules necessary and you can review a file like /etc/modprobe.conf to see what modules were selected by the installation process for storage, network and audio devices.

If you feel like your system has too many modules loaded you should keep in mind that not just hardware modules are needed. Some networking and process configurations have their own modules and if you configure a complex system with network address translation (NAT), special routing methods, firewalling that these modalities have their own module requirements as well.

--Jeff

randall wrote:
Does anyone know if there is a program that looks at the hardware on a linux platform, then lists the necessary kernel modules and no others? I want to optimize a kernel for one of my platforms, but a recent glance at menuconfig shows literally hundreds of possibilities that is becoming confusing and I am afraid to do this manually.

- Randall




--
Best Regards,

Jeff Johnson
President / CTO
Western Scientific, Inc
[EMAIL PROTECTED]
http://www.wsm.com

5444 Napa Street - San Diego, CA 92110
Tel 800.443.6699  +001.619.220.6580
Fax +001.619.220.6590

"Braccae tuae aperiuntur"



--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to