Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-07-2011, 07:58 AM   #1
Mr. Alex
Senior Member
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Question Where to find kernel options?

zcat /proc/config.gz
How do I know what option means what to compile my own kernel? How to find support for different hardware in this mess (and exclude it)?
Old 01-07-2011, 08:10 AM   #2
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
When your're configuring your kernel, you'll find detailed information within the configuration-menu. I prefer "make xconfig" which provides a very clear overview.

Old 01-07-2011, 08:22 AM   #3
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
How do I know what option means what to compile my own kernel? How to find support for different hardware in this mess (and exclude it)?
Inside the kernel source directory there's a Documentation directory with loads of info about all the options.

Hope this helps.
1 members found this post helpful.
Old 01-07-2011, 09:08 AM   #4
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183

Not just 'proc' hardware information but you should have the documented information for the hardware.
You could use 'lspci','dmidecode' or even 'lshw' if installed then you can garnish as much detailed information as possible to aid in configuring your kernel.

lspci is a utility for displaying information about PCI buses in the system and devices connected to them.

By default, it shows a brief list of devices. Use the options described below to request either a more verbose
output or output intended for parsing by other programs.

If you are going to report bugs in PCI device drivers or in lspci itself, please include output of "lspci -vvx"
or even better "lspci -vvxxx" (however, see below for possible caveats).

Some parts of the output, especially in the highly verbose modes, are probably intelligible only to experienced
PCI hackers. For exact definitions of the fields, please consult either the PCI specifications or the header.h
and /usr/include/linux/pci.h include files.
dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format.
This table contains a description of the system's hardware components, as well as other useful pieces of infor-
mation such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without
having to probe for the actual hardware. While this is a good point in terms of report speed and safeness, this
also makes the presented information possibly unreliable.

The DMI table doesn't only describe what the system is currently made of, it also can report the possible evolu-
tions (such as the fastest supported CPU or the maximal amount of memory supported).

SMBIOS stands for System Management BIOS, while DMI stands for Desktop Management Interface. Both standards are
tightly related and developed by the DMTF (Desktop Management Task Force).
lshw is a small tool to extract detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or IA-64 systems and on some PowerPC machines (PowerMac G4 is known to work).
It currently supports DMI (x86 and IA-64 only), OpenFirmware device tree (PowerPC only), PCI/AGP, CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only tested on x86), SCSI and USB.
You can control each command via options, so 'man command'. Notice the utility of dmidecode & lshw.

Don't forget the manufacture hardware information documents that are available for a user.

You can even use your 'dmesg' for information to show things as recognized & configured for a working kernel. 'proc' is great but I also like to use other commands to aid in setting things up for the '.config' for a kernel.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel config options, where can I find more information on them ? danlee Linux - Kernel 2 02-24-2008 04:13 AM
chcon - how to find out context options? Micro420 Linux - Security 0 11-12-2007 07:28 PM
Find Options Beefstuu10 Linux - General 0 09-26-2004 02:16 PM
How to find out which options have been enabled in kernel? donbellioni Linux - General 1 07-21-2004 10:54 AM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 05:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration