Changeset 69993f4 for chapter08/kernel.xml
- Timestamp:
- 08/29/2004 06:36:34 PM (20 years ago)
- Branches:
- 6.0
- Children:
- 8b320e7
- Parents:
- ec0a37e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/kernel.xml
rec0a37e6 r69993f4 16 16 <segtitle>&buildtime;</segtitle> 17 17 <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> 20 20 </segmentedlist> 21 21 … … 23 23 <segtitle>Linux installation depends on</segtitle> 24 24 <seglistitem><seg>Bash, Binutils, Coreutils, Findutils, 25 GCC, Glibc, Grep, Gzip, Make, Modutils, Perl, Sed</seg></seglistitem>25 GCC, Glibc, Grep, Gzip, Make, Modutils, Perl, and Sed</seg></seglistitem> 26 26 </segmentedlist> 27 27 </sect2> … … 30 30 <title>Installation of the kernel</title> 31 31 32 <para>Building the kernel involves a few steps --configuration,32 <para>Building the kernel involves a few steps—configuration, 33 33 compilation, and installation. Read the <filename>README</filename> 34 34 file in the kernel source tree for alternative methods to the way this … … 50 50 <screen><userinput>sed -i 's@/sbin/hotplug@/bin/true@' kernel/kmod.c</userinput></screen> 51 51 52 <para>If, in <xref linkend="ch-scripts-console"/> , you decided to53 compile the keymapinto the kernel, issue the command below:</para>52 <para>If, in <xref linkend="ch-scripts-console"/> the keymap was 53 compiled into the kernel, issue the command below:</para> 54 54 55 55 <screen><userinput>loadkeys -m /usr/share/kbd/keymaps/<replaceable>[path to keymap]</replaceable> > \ … … 67 67 information.</para> 68 68 69 <note><para>When you configurethe kernel, be sure to enable the69 <note><para>When configuring the kernel, be sure to enable the 70 70 <quote>Support for hot-pluggable devices</quote> option under the 71 71 <quote>General Setup</quote> menu. This enables hotplug events that … … 79 79 class="directory">linux-&linux-version;</filename> directory. However, 80 80 we do not recommend this option. It is often better to explore all the 81 configuration menus and creat ingthe kernel configuration from81 configuration menus and create the kernel configuration from 82 82 scratch.</para> 83 83 84 <para>For POSIX 84 <para>For POSIX-shared memory support, ensure that the kernel config 85 85 option <quote>Virtual memory file system support</quote> is enabled. 86 86 It resides within the <quote>File systems</quote> menu and is normally … … 95 95 <note><para>NPTL requires the kernel to be compiled with GCC 3.x, in 96 96 this case &gcc-version;. Compiling with 2.95.x is known to cause failures in 97 the glibc test suite, so it is not recommended to compile the kernel97 the glibc test suite, so it is not recommended to compile the kernel 98 98 with gcc 2.95.x.</para></note> 99 99 … … 104 104 <para>If using kernel modules, an 105 105 <filename>/etc/modprobe.conf</filename> file may be needed. 106 Information pertaining to modules and tokernel configuration is106 Information pertaining to modules and kernel configuration is 107 107 located in the kernel documentation in the <filename 108 108 class="directory">linux-&linux-version;/Documentation</filename> … … 110 110 of interest.</para> 111 111 112 <para>Be very careful when reading other documentation ,because it112 <para>Be very careful when reading other documentation because it 113 113 usually applies to 2.4.x kernels only. As far as we know, kernel 114 114 configuration issues specific to Hotplug and Udev are not documented. … … 124 124 configuration, especially if this is the first time using Udev.</para> 125 125 126 <para>Install the modules, if yourkernel configuration uses them:</para>126 <para>Install the modules, if the kernel configuration uses them:</para> 127 127 128 128 <screen><userinput>make modules_install</userinput></screen> … … 161 161 directory are not owned by <emphasis>root</emphasis>. Whenever a 162 162 package is unpacked as user <emphasis>root</emphasis> (like we did 163 hereinside chroot), the files have the user and group IDs of whatever163 inside chroot), the files have the user and group IDs of whatever 164 164 they were on the packager's computer. This is usually not a problem 165 165 for any other package to be installed because the source tree is … … 181 181 <segmentedlist> 182 182 <segtitle>Installed files</segtitle> 183 <seglistitem><seg> the kernel, thekernel headers,184 and theSystem.map</seg></seglistitem>183 <seglistitem><seg>kernel, kernel headers, 184 and System.map</seg></seglistitem> 185 185 </segmentedlist> 186 186 … … 189 189 190 190 <varlistentry id="kernel"> 191 <term> The <emphasis>kernel</emphasis></term>191 <term><command>kernel</command></term> 192 192 <listitem> 193 <para>the engine of the Linux system. When turning on yourcomputer,193 <para>the engine of the Linux system. When turning on the computer, 194 194 the kernel is the first part of the operating system that gets loaded. 195 195 It detects and initializes all components of the computer's hardware, 196 196 then makes these components available as a tree of files to the 197 software ,and turns a single CPU into a multitasking machine capable197 software and turns a single CPU into a multitasking machine capable 198 198 of running scores of programs seemingly at the same time.</para> 199 199 <indexterm zone="ch-bootable-kernel kernel"><primary sortas="b-kernel">kernel</primary></indexterm> … … 202 202 203 203 <varlistentry id="kernel-headers"> 204 <term> The <emphasis>kernel headers</emphasis></term>204 <term><command>kernel headers</command></term> 205 205 <listitem> 206 206 <para>defines the interface to the services that the kernel provides. 207 The headers in yoursystem's <filename207 The headers in the system's <filename 208 208 class="directory">include</filename> directory should 209 209 <emphasis>always</emphasis> be the ones against which Glibc was … … 217 217 <term><filename>System.map</filename></term> 218 218 <listitem> 219 <para> isa list of addresses and symbols. It maps the entry points and219 <para>a list of addresses and symbols. It maps the entry points and 220 220 addresses of all the functions and data structures in the 221 221 kernel.</para>
Note:
See TracChangeset
for help on using the changeset viewer.