LinuxKernelInANutshell.pdf
(
3378 KB
)
Pobierz
723370683 UNPDF
,title.4229 Page i Friday, December 1, 2006 9:52 AM
LINUX KERNEL
IN A NUTSHELL
,title.4229 Page ii Friday, December 1, 2006 9:52 AM
Other Linux resources from O’Reilly
Related titles
Building Embedded Linux
Systems
Linux Device Drivers
Linux in a Nutshell
Linux Pocket Guide
Running Linux
Understanding Linux
Network Internals
Understanding the Linux
Kernel
Linux Books
Resource Center
linux.oreilly.com
is a complete catalog of O’Reilly’s
books on Linux and Unix and related technologies, in-
cluding sample chapters and code examples.
Conferences
O’Reilly brings diverse innovators together to nurture
the ideas that spark revolutionary industries. We spe-
cialize in documenting the latest tools and systems,
translating the innovator’s knowledge into useful skills
for those in the trenches. Visit conferences.oreilly.com
for our upcoming events.
Safari Bookshelf (
safari.oreilly.com
) is the premier on-
line reference library for programmers and IT
professionals. Conduct searches across more than
1,000 books. Subscribers can zero in on answers to
time-critical questions in a matter of seconds. Read the
books on your Bookshelf from cover to cover or sim-
ply flip to the page you need. Try it today for free.
,title.4229 Page iii Friday, December 1, 2006 9:52 AM
KERNEL
IN A NUTSHELL
Greg Kroah-Hartman
Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo
LINUX
,LKNSTOC.fm.8428 Page v Friday, December 1, 2006 9:55 AM
Chapter1
Table of Contents
Preface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ix
Part I. Building the Kernel
1. Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Using This Book
4
2. Requirements for Building and Using the Kernel
. . . . . . . . . . . . . . . .
5
Tools to Build the Kernel
5
Tools to Use the Kernel
6
3. Retrieving the Kernel Source
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
What Tree to Use
12
Where to Find the Kernel Source
13
What to Do with the Source
15
4. Configuring and Building
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
Creating a Configuration
17
Modifying the Configuration
18
Building the Kernel
23
Advanced Building Options
26
5. Installing and Booting from a Kernel
. . . . . . . . . . . . . . . . . . . . . . . . . .
29
Using a Distribution’s Installation Scripts
30
Installing by Hand
31
Modifying the Bootloader for the New Kernel
32
v
,LKNSTOC.fm.8428 Page vi Friday, December 1, 2006 9:55 AM
6. Upgrading a Kernel
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35
Download the New Source
36
Applying the Patch
38
Reconfigure the Kernel
40
Can’t This Be Automated?
42
Part II. Major Customizations
7. Customizing a Kernel
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
45
Using a Distribution Kernel
45
Determining the Correct Module from Scratch
52
8. Kernel Configuration Recipes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
Disks
63
Devices
66
CPU
71
Networking
75
Filesystems
80
Security
82
Kernel Debugging
83
Part III. Kernel Reference
9. Kernel Boot Command-Line Parameter Reference
. . . . . . . . . . . . . .
87
Module-Specific Options
87
Console Options
88
Interrupt Options
91
Memory Options
92
Suspend Options
94
CPU Options
95
Scheduler Options
97
Ramdisk Options
98
Root Disk Options
99
Init Options
101
kexec Options
101
RCU Options
102
ACPI Options
103
SCSI Options
106
PCI Options
107
vi
|
Table of Contents
Plik z chomika:
kaktusss_82
Inne pliki z tego folderu:
Understanding The Linux Kernel.pdf
(3203 KB)
LinuxKernelInANutshell.pdf
(3378 KB)
Inne foldery tego chomika:
Android
Bash
Cloud_computing
Continuous_integration
Database
Zgłoś jeśli
naruszono regulamin