Ignore:
Timestamp:
08/29/2004 06:36:34 PM (20 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
6.0
Children:
8b320e7
Parents:
ec0a37e6
Message:

Second round of edits for final release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4066 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/kernel.xml

    rec0a37e6 r69993f4  
    1616<segtitle>&buildtime;</segtitle>
    1717<segtitle>&diskspace;</segtitle>
    18 <seglistitem><seg>All default options: 4.20 SBU</seg>
    19 <seg>All default options: 181 MB</seg></seglistitem>
     18<seglistitem><seg>4.20 SBU</seg>
     19<seg>181 MB</seg></seglistitem>
    2020</segmentedlist>
    2121
     
    2323<segtitle>Linux installation depends on</segtitle>
    2424<seglistitem><seg>Bash, Binutils, Coreutils, Findutils,
    25 GCC, Glibc, Grep, Gzip, Make, Modutils, Perl, Sed</seg></seglistitem>
     25GCC, Glibc, Grep, Gzip, Make, Modutils, Perl, and Sed</seg></seglistitem>
    2626</segmentedlist>
    2727</sect2>
     
    3030<title>Installation of the kernel</title>
    3131
    32 <para>Building the kernel involves a few steps -- configuration,
     32<para>Building the kernel involves a few steps&mdash;configuration,
    3333compilation, and installation. Read the <filename>README</filename>
    3434file in the kernel source tree for alternative methods to the way this
     
    5050<screen><userinput>sed -i 's@/sbin/hotplug@/bin/true@' kernel/kmod.c</userinput></screen>
    5151
    52 <para>If, in <xref linkend="ch-scripts-console"/>, you decided to
    53 compile the keymap into the kernel, issue the command below:</para>
     52<para>If, in <xref linkend="ch-scripts-console"/> the keymap was
     53compiled into the kernel, issue the command below:</para>
    5454
    5555<screen><userinput>loadkeys -m /usr/share/kbd/keymaps/<replaceable>[path to  keymap]</replaceable> &gt; \
     
    6767information.</para>
    6868
    69 <note><para>When you configure the kernel, be sure to enable the
     69<note><para>When configuring the kernel, be sure to enable the
    7070<quote>Support for hot-pluggable devices</quote> option under the
    7171<quote>General Setup</quote> menu. This enables hotplug events that
     
    7979class="directory">linux-&linux-version;</filename> directory. However,
    8080we do not recommend this option. It is often better to explore all the
    81 configuration menus and creating the kernel configuration from
     81configuration menus and create the kernel configuration from
    8282scratch.</para>
    8383
    84 <para>For POSIX shared memory support, ensure that the kernel config
     84<para>For POSIX-shared memory support, ensure that the kernel config
    8585option <quote>Virtual memory file system support</quote> is enabled.
    8686It resides within the <quote>File systems</quote> menu and is normally
     
    9595<note><para>NPTL requires the kernel to be compiled with GCC 3.x, in
    9696this case &gcc-version;. Compiling with 2.95.x is known to cause failures in
    97 the glibc testsuite, so it is not recommended to compile the kernel
     97the glibc test suite, so it is not recommended to compile the kernel
    9898with gcc 2.95.x.</para></note>
    9999
     
    104104<para>If using kernel modules, an
    105105<filename>/etc/modprobe.conf</filename> file may be needed.
    106 Information pertaining to modules and to kernel configuration is
     106Information pertaining to modules and kernel configuration is
    107107located in the kernel documentation in the <filename
    108108class="directory">linux-&linux-version;/Documentation</filename>
     
    110110of interest.</para>
    111111
    112 <para>Be very careful when reading other documentation, because it
     112<para>Be very careful when reading other documentation because it
    113113usually applies to 2.4.x kernels only. As far as we know, kernel
    114114configuration issues specific to Hotplug and Udev are not documented.
     
    124124configuration, especially if this is the first time using Udev.</para>
    125125
    126 <para>Install the modules, if your kernel configuration uses them:</para>
     126<para>Install the modules, if the kernel configuration uses them:</para>
    127127
    128128<screen><userinput>make modules_install</userinput></screen>
     
    161161directory are not owned by <emphasis>root</emphasis>. Whenever a
    162162package is unpacked as user <emphasis>root</emphasis> (like we did
    163 here inside chroot), the files have the user and group IDs of whatever
     163inside chroot), the files have the user and group IDs of whatever
    164164they were on the packager's computer. This is usually not a problem
    165165for any other package to be installed because the source tree is
     
    181181<segmentedlist>
    182182<segtitle>Installed files</segtitle>
    183 <seglistitem><seg>the kernel, the kernel headers,
    184 and the System.map</seg></seglistitem>
     183<seglistitem><seg>kernel, kernel headers,
     184and System.map</seg></seglistitem>
    185185</segmentedlist>
    186186
     
    189189
    190190<varlistentry id="kernel">
    191 <term>The <emphasis>kernel</emphasis></term>
     191<term><command>kernel</command></term>
    192192<listitem>
    193 <para>the engine of the Linux system. When turning on your computer,
     193<para>the engine of the Linux system. When turning on the computer,
    194194the kernel is the first part of the operating system that gets loaded.
    195195It detects and initializes all components of the computer's hardware,
    196196then makes these components available as a tree of files to the
    197 software, and turns a single CPU into a multitasking machine capable
     197software and turns a single CPU into a multitasking machine capable
    198198of running scores of programs seemingly at the same time.</para>
    199199<indexterm zone="ch-bootable-kernel kernel"><primary sortas="b-kernel">kernel</primary></indexterm>
     
    202202
    203203<varlistentry id="kernel-headers">
    204 <term>The <emphasis>kernel headers</emphasis></term>
     204<term><command>kernel headers</command></term>
    205205<listitem>
    206206<para>defines the interface to the services that the kernel provides.
    207 The headers in your system's <filename
     207The headers in the system's <filename
    208208class="directory">include</filename> directory should
    209209<emphasis>always</emphasis> be the ones against which Glibc was
     
    217217<term><filename>System.map</filename></term>
    218218<listitem>
    219 <para>is a list of addresses and symbols. It maps the entry points and
     219<para>a list of addresses and symbols. It maps the entry points and
    220220addresses of all the functions and data structures in the
    221221kernel.</para>
Note: See TracChangeset for help on using the changeset viewer.