Written by a leading developer and maintainer of the Linux kernel, Linux Kernel in a Nutshell is a comprehensive overview of kernel configuration and building, a critical task for Linux users and administrators.No distribution can provide a Linux kernel that meets all users' needs. Computers big and
Linux Kernel in a Nutshell
โ Scribed by Greg Kroah-Hartman
- Publisher
- "O'Reilly Media, Inc."
- Year
- 2007
- Tongue
- English
- Leaves
- 200
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Presents an overview of kernel configuration and building for version 2.6 of the Linux kernel.
โฆ Table of Contents
Table of Contents
Preface
Who This Book Is For
How the Book Is Organized
Online Version and License
Conventions Used in This Book
Using Shell Scripts
Safariยฎ Enabled
How to Contact Us
Acknowledgments
I
Introduction
Using This Book
Requirements for Building and Using the Kernel
Tools to Build the Kernel
Compiler
Linker
make
Tools to Use the Kernel
util-linux
module-init-tools
Filesystem-Specific Tools
ext2/ext3/ext4
JFS
ReiserFS
XFS
Quotas
NFS
Other Tools
udev
Process tools
PCMCIA tools
Retrieving the Kernel Source
What Tree to Use
Where to Find the Kernel Source
What to Do with the Source
Configuring and Building
Creating a Configuration
Configuring from Scratch
Default Configuration Options
Modifying the Configuration
Console Configuration Method
Graphical Configuration Methods
Building the Kernel
Advanced Building Options
Building Faster on Multiprocessor Machines
Building Only a Portion of the Kernel
Source in One Place, Output in Another
Different Architectures
Installing and Booting from a Kernel
Using a Distributionโs Installation Scripts
Installing by Hand
Modifying the Bootloader for the New Kernel
GRUB
LILO
Upgrading a Kernel
Download the New Source
Which Patch Applies to Which Release?
Finding the Patch
Applying the Patch
Reconfigure the Kernel
Canโt This Be Automated?
II
Customizing a Kernel
Using a Distribution Kernel
Where Is the Kernel Configuration?
Finding Which Module Is Needed
Example: Determining the network driver
Example: A USB device
Summary of device discovery
Let the kernel tell us what we need
Determining the Correct Module from Scratch
PCI Devices
USB Devices
Root Filesystem
Filesystem type
Disk controller
Helper Script
Kernel Configuration Recipes
Disks
USB Storage
IDE Disks
Serial ATA (SATA)
Burning a CD-ROM
IDE CD-ROM drives
SCSI and SATA CD-ROM drives
Devices
USB
IEEE 1394 (FireWire)
PCI Hotplug
PCMCIA/CardBus
Sound (ALSA)
CPU
Processor Types
SMP
Preemption
Suspend
CPU Frequency Scaling
Different Memory Models
ACPI
Networking
Netfilter
Network Drivers
IrDA
Bluetooth
Wireless
Filesystems
RAID
Logical Volume Manager and Device Mapper
File Sharing with Windows
OCFS2
Security
Default Linux Capabilities
SELinux
Kernel Debugging
Kernel Log Timestamps
Magic SysRq Keys
Debug Filesystem
General Kernel Debugging
III
Kernel Boot Command-Line Parameter Reference
Module-Specific Options
Console Options
console
netconsole
debug
quiet
earlyprintk
loglevel
log_buf_len
initcall_debug
kstack
time
Interrupt Options
apic
noapic
lapic
nolapic
noirqbalance
irqfixup
irqpoll
noirqdebug
Memory Options
highmem
hugepages
ihash_entries
max_addr
mem
mem
memmap
memmap
noexec
reserve
vmalloc
norandmaps
vdso
Suspend Options
resume
noresume
CPU Options
cachesize
lpj
nmi_watchdog
no387
nofxsr
no-hlt
mce
nomce
nosep
nosmp
notsc
max_cpus
Scheduler Options
isolcpus
migration_cost
migration_ debug
migration_ factor
Ramdisk Options
initrd
load_ramdisk
noinitrd
prompt_ ramdisk
ramdisk_ blocksize
ramdisk_size
Root Disk Options
ro
root
rootdelay
rootflags
rootfstype
rw
Init Options
init
rdinit
S
kexec Options
crashkernel
elfcorehdr
RCU Options
rcu.blimit
rcu.qhimark
rcu.qlowmark
rcu.rsinterval
ACPI Options
acpi
acpi_sleep
acpi_sci
acpi_irq_ balance
acpi_irq_ nobalance
acpi_irq_isa
acpi_irq_pci
acpi_os_name
acpi_osi
acpi_serialize
acpi_skip_ timer_override
acpi_dbg_layer
acpi_fake_ecdt
acpi_generic_ hotkey
acpi_pm_good
ec_intr
memmap
memmap
pnpacpi
processor.max_ cstate
processor.nocst
SCSI Options
max_luns
max_report_ luns
scsi_dev_flags
PCI Options
PCI
Plug and Play BIOS Options
noisapnp
pnpbios
pnp_reserve_ irq
pnp_reserve_ dma
pnp_reserve_io
pnp_reserve_ mem
SELinux Options
checkreqprot
enforcing
selinux
selinux_ compat_net
Network Options
netdev
rhash_entries
shapers
thash_entries
Network File System Options
lockd.nlm_ grace_period
lockd.nlm_ tcpport
lockd.nlm_ timeout
lockd.nlm_ udpport
nfsroot
nfs.callback_ tcpport
nfs.idmap_ cache_timeout
Hardware-Specific Options
nousb
lp
parport
parport_init_ mode
nr_uarts
Timer-Specific Options
enable_timer_ pin_1
disable_timer_ pin_1
enable_8254_ timer
disable_8254_ timer
hpet
clocksource
Miscellaneous Options
dhash_entries
elevator
hashdist
combined_ mode
max_loop
panic
pause_on_oops
profile
Kernel Build Command-Line Reference
Informational Targets
Cleaning Targets
Configuration Targets
Build Targets
Packaging Targets
Documentation Targets
Architecture-Specific Targets
Analysis Targets
Kernel Configuration Option Reference
EXPERIMENTAL
LOCALVERSION
AUDIT
IKCONFIG
EMBEDDED
MODULES
IOSCHED_NOOP
IOSCHED_AS
IOSCHED_ DEADLINE
IOSCHED_CFQ
SMP
M386
X86_GENERIC
NR_CPUS
SCHED_SMT
PREEMPT_NONE
PREEMPT_ VOLUNTARY
PREEMPT
PREEMPT_BKL
NOHIGHMEM
HIGHMEM4G
HIGHMEM64G
FLATMEM_ MANUAL
DISCONTIGMEM MANUAL
SPARSEMEM MANUAL
SECCOMP
KEXEC
HOTPLUG_CPU
PM
SOFTWARE_ SUSPEND
ACPI
CPU_FREQ
CPU_FREQ_ DEFAULT_GOV_ PERFORMANCE
CPU_FREQ_ DEFAULT_GOV_ USERSPACE
CPU_FREQ_ GOV_ PERFORMANCE
CPU_FREQ_ GOV_ POWERSAVE
CPU_FREQ_ GOV_ USERSPACE
CPU_FREQ_ GOV_ ONDEMAND
CPU_FREQ_ GOV_ CONSERVATIVE
PCI
PCCARD
PCMCIA
CARDBUS
HOTPLUG_PCI
NET
UNIX
INET
IP_ADVANCED_ ROUTER
NETFILTER
NET_SCHED
IRDA
IRLAN
IRNET
IRCOMM
IRDA_ULTRA
BT
IEEE80211
MTD
PARPORT
PNP
ISAPNP
PNPBIOS
IDE
BLK_DEV_IDE
BLK_DEV_ IDEDISK
BLK_DEV_ IDECD
BLK_DEV_ IDEFLOPPY
SCSI
BLK_DEV_SD
CHR_DEV_ST
BLK_DEV_SR
CHR_DEV_SG
CHR_DEV_SCH
SCSI_MULTI_ LUN
SCSI_SATA
MD
BLK_DEV_MD
BLK_DEV_DM
IEEE1394
I2O
NETDEVICES
NET_ETHERNET
NET_RADIO
PPP
PPPOE
ISDN
PHONE
INPUT
VT
VT_CONSOLE
SERIAL_8250
AGP
DRM
I2C
SPI
HWMON
VIDEO_DEV
DVB
FB
VGA_CONSOLE
LOGO
SOUND
SND
SND_USB_ AUDIO
USB
USB_EHCI_HCD
USB_OHCI_HCD
USB_UHCI_HCD
USB_STORAGE
USB_SERIAL
USB_GADGET
MMC
INFINIBAND
EDAC
EXT2_FS
EXT3_FS
REISERFS_FS
JFS_FS
XFS_FS
OCFS2_FS
INOTIFY
QUOTA
AUTOFS_FS
FUSE_FS
SMB_FS
CIFS
PROFILING
OPROFILE
KPROBES
PRINTK_TIME
MAGIC_SYSRQ
DEBUG_KERNEL
DEBUG_FS
SECURITY
SECURITY_ SELINUX
IV
Helpful Utilities
patch and diff
New Kernel Versions
Managing Your Patches with quilt
git
ketchup
Bibliography
Books
General Linux Books
Linux Kernel Books
Tool Locations
Index
๐ SIMILAR VOLUMES
Written by a leading developer and maintainer of the Linux kernel, Linux Kernel in a Nutshell is a comprehensive overview of kernel configuration and building, a critical task for Linux users and administrators. No distribution can provide a Linux kernel that meets all users needs. Computers big and
<DIV><p>Written by a leading developer and maintainer of the Linux kernel, <i>Linux Kernel in a Nutshell</i> is a comprehensive overview of kernel configuration and building, a critical task for Linux users and administrators.</p><p>No distribution can provide a Linux kernel that meets all users' ne
Linux Kernel in a Nutshell covers the entire range of kernel tasks, starting with downloading the source and making sure that the kernel is in sync with the versions of the tools you need. In addition to configuration and installation steps, the book offers reference material and discussions of rela
An operating system's kernel handles all interactions between the CPU and the external world, and determines which programs will share processor time, in what order. This in-depth reference documents Version 2.6 of the Linux kernel, which has seen significant changes to nearly every kernel subsystem