Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel.xml

    rf976691 r70bf551  
    5656        the procedures below fairly closely.  The objective is to get an
    5757        initial system to a point where you can log in at the command line when
    58         you reboot later in <xref linkend="ch-finish-reboot"/>.  At his point
     58        you reboot later in <xref linkend="ch-finish-reboot"/>.  At this point
    5959        optimization and customization is not a goal.
    6060      </para>
     
    131131      not work correctly or boot at all:</para>
    132132
    133       <screen role="nodump" revision="sysv">Processor type and features ---&gt;
    134    [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
    135    [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
    136 General setup ---&gt;
    137    [ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
    138    &lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
    139    [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
    140 General architecture-dependent options  ---&gt;
    141    [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
    142    [*]   Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
    143 Device Drivers  ---&gt;
    144   Graphics support ---&gt;
    145    Frame buffer Devices ---&gt;
    146       &lt;*&gt; Support for frame buffer devices ---&gt;
    147    Console display driver support ---&gt;
    148       [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]
    149   Generic Driver Options  ---&gt;
    150    [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
    151    [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
    152    [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]</screen>
    153 
    154       <screen role="nodump" revision="systemd">Processor type and features ---&gt;
    155    [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
    156    [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
    157 General setup ---&gt;
    158    [ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
    159    [ ] Auditing Support [CONFIG_AUDIT]
    160    CPU/Task time and stats accounting ---&gt;
    161       [*] Pressure stall information tracking [CONFIG_PSI]
    162       [ ]   Require boot parameter to enable pressure stall information tracking [CONFIG_PSI_DEFAULT_DISABLED]
    163    &lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
    164    [*] Control Group support [CONFIG_CGROUPS]   ---&gt;
    165       [*] Memory controller [CONFIG_MEMCG]
    166    [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
    167 General architecture-dependent options  ---&gt;
    168    [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP]
    169    [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
    170    [*]   Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
    171 [*] Networking support  ---&gt;   [CONFIG_NET]
    172    Networking options  ---&gt;
    173       [*] TCP/IP networking [CONFIG_INET]
    174       &lt;*&gt;   The IPv6 protocol [CONFIG_IPV6]
    175 Device Drivers  ---&gt;
    176    Generic Driver Options  ---&gt;
    177       [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
    178       [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
    179       [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]
    180       Firmware Loader ---&gt;
    181          [ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER]
    182    Firmware Drivers   ---&gt;
    183       [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID]
    184    Graphics support ---&gt;
    185       Frame buffer Devices ---&gt;
    186          &lt;*&gt; Support for frame buffer devices ---&gt;
    187       Console display driver support ---&gt;
    188          [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]
    189 File systems  ---&gt;
    190    [*] Inotify support for userspace [CONFIG_INOTIFY_USER]
    191        Pseudo filesystems  ---&gt;
    192         [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen>
     133      <!-- To editors: for updating kernel configuration, edit
     134           kernel/*.toml and regenerate kernel/*.xml with
     135           "make -C kernel KERNEL_TREE=</usr/src/linux-&linux-version> -->
     136
     137      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     138        href="kernel/sysv.xml"/>
     139
     140      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     141        href="kernel/systemd.xml"/>
    193142
    194143      <para>Enable some additional features if you are building a 64-bit
     
    199148      shows up after its dependencies are selected.</para>
    200149
    201       <screen role="nodump">Processor type and features ---&gt;
    202   [*] Support x2apic [CONFIG_X86_X2APIC]
    203 Device Drivers ---&gt;
    204   [*] PCI Support ---&gt; [CONFIG_PCI]
    205     [*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
    206   [*] IOMMU Hardware Support ---&gt; [CONFIG_IOMMU_SUPPORT]
    207     [*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>
     150      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     151        href="kernel/x2apic.xml"/>
    208152
    209153      <para>If you are building a 32-bit system running on a hardware
     
    211155      be able to use up to 64GB physical RAM:</para>
    212156
    213       <screen role="nodump">Processor type and features ---&gt;
    214   High Memory Support ---&gt;
    215     (X) 64GB [CONFIG_HIGHMEM64G]</screen>
     157      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     158        href="kernel/highmem.xml"/>
    216159
    217160      <para>If the partition for the LFS system is in a NVME SSD (i. e. the
     
    220163      the LFS system won't boot:</para>
    221164
    222       <screen role="nodump">Device Drivers ---&gt;
    223   NVME Support ---&gt;
    224     &lt;*&gt; NVM Express block device [CONFIG_BLK_DEV_NVME]</screen>
     165      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     166        href="kernel/nvme.xml"/>
    225167    </note>
    226168
     
    307249        <listitem>
    308250          <para>Having this option set may interfere with device
    309           management when using Udev/Eudev. </para>
     251          management when using Udev.</para>
    310252        </listitem>
    311253      </varlistentry>
     
    317259          kernel, even without Udev running.  Udev then runs on top of this,
    318260          managing permissions and adding symlinks.  This configuration
    319           item is required for all users of Udev/Eudev.</para>
     261          item is required for all users of Udev.</para>
    320262        </listitem>
    321263      </varlistentry>
     
    432374    <para>Install the documentation for the Linux kernel:</para>
    433375
    434 <screen><userinput remap="install">install -d /usr/share/doc/linux-&linux-version;
    435 cp -r Documentation/* /usr/share/doc/linux-&linux-version;</userinput></screen>
     376<screen><userinput remap="install">cp -r Documentation -T /usr/share/doc/linux-&linux-version;</userinput></screen>
    436377
    437378    <para>It is important to note that the files in the kernel source
Note: See TracChangeset for help on using the changeset viewer.