Kernel configuration -Part "A"

Securing and Optimizing Linux: RedHat Edition -A Hands on Guide
Prev | Chapter 7. Configuring and Building a Secure, Optimized Kernel | Next

# 7.5. Kernel configuration -Part "A"

These are the options available for you to choose from the list of Kernel Configurable options as soon as you enter make config at the prompt as described in the previous section.As soon as you enter make config at the prompt as described in the previous step, a list of Kernel configurable options will be displayed for you to choose to configure the Kernel, you must indicate what features and devices drivers you want to include in your Linux system and select how to include support for specific devices. Typically, for each configuration option, you have to respond with one of the following choices: We have used a simple convention for our example configuration:

Example 7-1. SMP support

               Symmetric multi-processing support (CONFIG_SMP) Y/M/N N

where

-                Symmetric multi-processing support (CONFIG_SMP) -is one of the choice

  We have choosen to say `N` in this case.

- `Y/M/N` - are the options you have i.e. you can say yes or no or choose as module.

- `[Y]` -To compile into the kernel and always be loaded

- `[M]` -To use a module for that feature and load that segment of code on demand

- `[N]` -To skip and excludes the support for that specific device from the Kernel

> : It is important to note that majuscule letter of `n` or `y` mean the default choice. If a device does not have a modular device driver, you will not see the `[M]` option. Some time an `[?]` option will appear in the choices. This mean that you can get more information about the feature when you type ? + ENTER key. Choosing the `[?]` help option will opens another terminal describing the option.

Code maturity level options.

               Prompt for development and/or incomplete code/drivers (CONFIG_EXPERIMENTAL) N/y/?

Processor type and features.

                   Processor family (386, 486/Cx486, 586/K5/5x86/6x86, Pentium/K6/TSC, PPro/6x86MX) [PPro/6x86MX]
                   Maximum Physical Memory (1GB, 2GB) [1GB]
                   Math emulation (CONFIG_MATH_EMULATION) N/y/?
                   MTRR (Memory Type Range Register) support (CONFIG_MTRR) N/y/?
                   Symmetric multi-processing support (CONFIG_SMP) Y/n/? N

Loadable module support.

                    Enable loadable module support (CONFIG_MODULES) Y/n/? N

General setup.

                    Networking support (CONFIG_NET) Y/n/?
                    PCI support (CONFIG_PCI) Y/n/?
                    PCI access mode (BIOS, Direct, Any [Any]
                    PCI quirks (CONFIG_PCI_QUIRKS) Y/n/? N
                    Backward-compatible /proc/pci (CONFIG_PCI_OLD_PROC) Y/n/? N
                    MCA support (CONFIG_MCA) N/y/?
                    SGI Visual Workstation support (CONFIG_VISWS) N/y/?
                    System V IPC (CONFIG_SYSVIPC) Y/n/?
                    BSD Process Accounting (CONFIG_BSD_PROCESS_ACCT) N/y/?
                    Sysctl support (CONFIG_SYSCTL) Y/n/?
                    Kernel support for a.out binaries (CONFIG_BINFMT_AOUT) Y/n/?
                    Kernel support for ELF binaries (CONFIG_BINFMT_ELF) Y/n/?
                    Kernel support for MISC. binaries (CONFIG_BINFMT_MISC) Y/n/?
                    Parallel port support (CONFIG_PARPORT) N/y/?
                    Advanced Power Management BIOS support (CONFIG_APM) N/y/?

Plug and Play support.

               Plug and Play support (CONFIG_PNP) [N/y/?]

Block devices.

               Normal PC floppy disk support (CONFIG_BLK_DEV_FD) Y/n/?
               Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (CONFIG_BLK_DEV_IDE) Y/n/?
               Use old disk-only driver on primary interface (CONFIG_BLK_DEV_HD_IDE)  N/y/?
               Include IDE/ATA-2 DISK support (CONFIG_BLK_DEV_IDEDISK)  Y/n/?
               Include IDE/ATAPI CDROM support (CONFIG_BLK_DEV_IDECD)  Y/n/?
               Include IDE/ATAPI TAPE support (CONFIG_BLK_DEV_IDETAPE)  N/y/?
               Include IDE/ATAPI FLOPPY support (CONFIG_BLK_DEV_IDEFLOPPY)  N/y/?
               SCSI emulation support (CONFIG_BLK_DEV_IDESCSI)  N/y/?
               CMD640 chipset bugfix/support (CONFIG_BLK_DEV_CMD640)  Y/n/? N
               RZ1000 chipset bugfix/support (CONFIG_BLK_DEV_RZ1000)  Y/n/? N
               Generic PCI IDE chipset support (CONFIG_BLK_DEV_IDEPCI)  Y/n/?
               Generic PCI bus-master DMA support (CONFIG_BLK_DEV_IDEDMA)  Y/n/?
               Boot off-board chipsets first support (CONFIG_BLK_DEV_OFFBOARD)  N/y/?
               Use DMA by default when available (CONFIG_IDEDMA_AUTO)  Y/n/?
               Other IDE chipset support (CONFIG_IDE_CHIPSETS)  N/y/?
               Loopback device support (CONFIG_BLK_DEV_LOOP)  N/y/?
               Network block device support (CONFIG_BLK_DEV_NBD)  N/y/?
               Multiple devices driver support (CONFIG_BLK_DEV_MD)  N/y/?
               RAM disk support (CONFIG_BLK_DEV_RAM)  N/y/?
               XT hard disk support (CONFIG_BLK_DEV_XD)  N/y/?
               Mylex DAC960/DAC1100 PCI RAID Controller support (CONFIG_BLK_DEV_DAC960)  N/y/? (NEW)
               Parallel port IDE device support (CONFIG_PARIDE)  N/y/?
               Compaq SMART2 support (CONFIG_BLK_CPQ_DA) [N/y/?] (NEW)

Prev | Home | Next
Compilation | Up | Kernel configuration -Part "B"