Changeset 673b0d8 for chapter08/kernel.xml
- Timestamp:
- 05/03/2004 10:59:46 AM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 0c43171, 2ec64b3, a4a675f
- Parents:
- 287ea55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/kernel.xml
r287ea55 r673b0d8 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ 3 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 %general-entities; 5 ]> 1 6 <sect1 id="ch-bootable-kernel" xreflabel="Linux"> 2 <title>Installing Linux-&kernel-version;</title> 3 <?dbhtml filename="kernel.html" dir="chapter08"?> 7 <title>Linux-&linux-version;</title> 8 <?dbhtml filename="kernel.html"?> 9 10 <indexterm zone="ch-bootable-kernel"><primary sortas="a-Linux">Linux</primary></indexterm> 4 11 5 12 <para>The Linux package contains the kernel and the header files.</para> 6 13 7 <screen> Estimated build time: &kernel-time;8 Estimated required disk space: &kernel-compsize;</screen>14 <screen>&buildtime; All default options: 4.20 SBU 15 &diskspace; All default options: 181 MB</screen> 9 16 10 &aa-kernel-down; 11 &aa-kernel-dep; 17 <para>Linux installation depends on: Bash, Binutils, Coreutils, Findutils, 18 GCC, Glibc, Grep, Gzip, Make, Modutils, Perl, Sed.</para> 12 19 13 <sect2><title> </title><para> </para></sect2> 20 14 21 15 22 <sect2> … … 28 35 recommends that this command be issued prior to <emphasis>each</emphasis> 29 36 kernel compilation. You shouldn't rely on the source tree being clean after 30 un tarring.</para>37 un-tarring.</para> 31 38 32 39 <para>Configure the kernel via a menu-driven interface:</para> … … 40 47 <para>If you wish, you may skip kernel configuration by simply copying the 41 48 kernel config file, <filename>.config</filename>, from your host system 42 (assuming it is available) to the unpacked <filename 43 class="directory">linux-&kernel-version;</filename>directory. However, we49 (assuming it is available) to the unpacked <filename class="directory">linux-&linux-version;</filename> 50 directory. However, we 44 51 don't recommend this option. You're much better off exploring all the 45 52 configuration menus and creating your own kernel configuration from … … 47 54 48 55 <para>For POSIX shared memory support, ensure that the kernel config option 49 "Virtual memory file system support" is enabled. It resides within the 50 "File systems"menu and is normally enabled by default.</para>56 <quote>Virtual memory file system support</quote> is enabled. It resides within 57 the <quote>File systems</quote> menu and is normally enabled by default.</para> 51 58 52 59 <para>Verify dependencies and create dependency information files:</para> … … 66 73 to modules and to kernel configuration in general may be found in the 67 74 kernel documentation, which is found in the 68 <filename>linux- &kernel-version;/Documentation</filename> directory. The75 <filename>linux-2.4.25/Documentation</filename> directory. The 69 76 modules.conf man page and the kernel HOWTO at 70 <ulink url=" &tldp-root;HOWTO/Kernel-HOWTO.html"/> may also be of77 <ulink url="http://www.tldp.org/HOWTO/Kernel-HOWTO.html"/> may also be of 71 78 interest to you.</para> 72 79 … … 99 106 100 107 <para><filename>System.map</filename> is a symbol file for the kernel. It maps 101 the function entry points of every function in the kernel API, as well as the108 the function entry points of every function in the kernel API (Application Programming Interface), as well as the 102 109 addresses of the kernel data structures for the running kernel. Issue the 103 110 following command to install the map file:</para> … … 124 131 <para>If you are going to keep the kernel source tree around, you may want to 125 132 run <userinput>chown -R 0:0</userinput> on the 126 <filename>linux- &kernel-version;</filename> directory to ensure all files are133 <filename>linux-2.4.25</filename> directory to ensure all files are 127 134 owned by user <emphasis>root</emphasis>.</para> 128 135 129 136 </sect2> 130 137 131 &aa-kernel-shortdesc; 132 &aa-kernel-desc; 138 139 <sect2 id="contents-kernel"><title>Contents of Linux</title> 140 141 <para><emphasis>Installed files</emphasis>: the kernel, the kernel headers, 142 and the System.map</para> 143 144 </sect2> 145 146 <sect2><title>Short descriptions</title> 147 148 <indexterm zone="ch-bootable-kernel kernel"><primary sortas="b-kernel">kernel</primary></indexterm> 149 <para id="kernel">The <emphasis>kernel</emphasis> is the engine of your GNU/Linux system. 150 When switching on your box, the kernel is the first part of your operating 151 system that gets loaded. It detects and initializes all the components of your 152 computer's hardware, then makes these components available as a tree of files 153 to the software, and turns a single CPU into a multi-tasking machine capable 154 of running scores of programs seemingly at the same time.</para> 155 156 <indexterm zone="ch-bootable-kernel kernel-headers"><primary sortas="e-kernel-headers">kernel headers</primary></indexterm> 157 <para id="kernel-headers">The <emphasis>kernel headers</emphasis> define the interface to the 158 services that the kernel provides. The headers in your system's 159 <filename>include</filename> directory should <emphasis>always</emphasis> be 160 the ones against which Glibc was compiled and should therefore 161 <emphasis>not</emphasis> be replaced when upgrading the kernel.</para> 162 163 <indexterm zone="ch-bootable-kernel System.map"><primary sortas="e-/boot/System.map">/boot/System.map</primary></indexterm> 164 <para id="System.map">The <filename>System.map</filename> file is a list of addresses and 165 symbols. It maps the entry points and addresses of all the functions and data 166 structures in the kernel.</para> 167 168 </sect2> 169 170 133 171 134 172 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.