Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Linux Kernel in a Nutshell
SPECIAL OFFER: Upgrade this ebook with O’Reilly
A Note Regarding Supplemental Files
Preface
Audience for the book
Organization of the material
Online Version and License
Conventions Used in This Book
Contact Information
Acknowledgments
1. Introduction
Using this book
2. 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
3. Retrieving the kernel source
What tree to use
Where to find the kernel source
What to do with the source
4. 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
5. Installing and Booting From a Kernel
Using a Distribution's Installation Scripts
Installing By Hand
Modifying the Bootloader For the New Kernel
GRUB
LILO
6. 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?
7. 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
8. 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
Filesharing with Windows
OCFS2
Security
Default Linux Capabilities
SELinux
Kernel debugging
Kernel log timestamps
Magic SysRq keys
Debug Filesystem
General Kernel Debugging
9. 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
PnP 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
NFS 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
10. Kernel build command line reference
Informational Targets
Cleaning Targets
Configuration Targets
Build Targets
Packaging Targets
Documentation Targets
Architecture-Specific Targets
Analysis Targets
11. 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
A. Helpful Utilities
patch and diff
New Kernel Versions
Managing Your Patches With quilt
git
ketchup
12. Bibliography
Books
General Linux Books
Linux Kernel Books
Tool locations
Index
About the Author
SPECIAL OFFER: Upgrade this ebook with O’Reilly
← Prev
Back
Next →
← Prev
Back
Next →