Kernel Option

Andrei A. Voropaev av at simcon-mt.com
Thu Jan 13 01:05:23 PST 2005

On Thu, Jan 13, 2005 at 04:07:33AM +0000, Jeremy Shivers wrote:
> Initially when first configuring the kernel to build LFS 6 I just copied 
> the .config file from my Fedora Core 3 distribution. However, I don't 
> really know that much about what hardware I have in my computer and would 
> like to get away from the host distribution. I really want to build a 
> monolithic kernel that is optimized for my one computer. I was looking 
> through the options during the kernel configuration and in 'General Setup' 
> I noticed 'Kernel .config' support. The help text says "It provides 
> documentation of which kernel options are used in a running kernel or in an 
> on-disk kernel." If I build this selection into the kernel and rebuild it, 
> can I find out EXACTLY what options in the kernel are being used? Also, 
> does this give me the ability to know pretty much everything about my 
> hardware that is supported by linux? Thanks in advance.

To achieve your goal, I've used lspci utility (usually available in
/usr/sbin, if not, then google pci utilities) this lists all available
pci devices in your machine. Usually this is enough to set major
options. Everything else, as suggested, comes with probing.

Minds, like parachutes, function best when open

More information about the lfs-support mailing list