Changes in chapter10/kernel.xml [d186249:e0fb109]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter10/kernel.xml
rd186249 re0fb109 46 46 configures the kernel.</para> 47 47 48 <important>49 <para>50 Building the linux kernel for the first time is one of the most51 challenging tasks in LFS. Getting it right depends on the specific52 hardware for the target system and your specific needs. There are53 almost 12,000 configuration items that are available for the kernel54 although only about a third of them are needed for most computers. The55 LFS editors recommend that users not familiar with this process follow56 the procedures below fairly closely. The objective is to get an57 initial system to a point where you can log in at the command line when58 you reboot later in <xref linkend="ch-finish-reboot"/>. At his point59 optimization and customization is not a goal.60 </para>61 62 63 <para>64 For general information on kernel configuration see <ulink65 url="&hints-root;kernel-configuration.txt"/>. Additional information66 about configuring and building the kernel can be found at <ulink67 url="&anduin-sources;/kernel-nutshell/"/>.68 These references are a bit69 dated, but still give a reasonable overview of the process.70 </para>71 72 <para>73 If all else fails, you can ask for help on the <ulink74 url="https://www.linuxfromscratch.org/mail.html">lfs-support</ulink>75 mailing list. Note that subscribing is required in order for the list76 to avoid spam.77 </para>78 </important>79 80 48 <para>Prepare for compilation by running the following command:</para> 81 49 … … 121 89 <!-- Support for compiling a keymap into the kernel is deliberately removed --> 122 90 91 <para>For general information on kernel configuration see <ulink 92 url="&hints-root;kernel-configuration.txt"/>. BLFS has some information 93 regarding particular kernel configuration requirements of packages outside 94 of LFS at <ulink 95 url="&blfs-book;longindex.html#kernel-config-index"/>. Additional 96 information about configuring and building the kernel can be found at 97 <ulink url="http://www.kroah.com/lkn/"/> </para> 123 98 124 99 <note> … … 160 135 CPU/Task time and stats accounting ---> 161 136 [*] Pressure stall information tracking [CONFIG_PSI] 162 [ ] Require boot parameter to enable pressure stall information tracking [CONFIG_PSI_DEFAULT_DISABLED]163 137 < > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] 164 138 [*] Control Group support [CONFIG_CGROUPS] ---> … … 206 180 [*] IOMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT] 207 181 [*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen> 208 209 <para>If you are building a 32-bit system running on a hardware210 with RAM more than 4GB, adjust the configuration so the kernel will211 be able to use up to 64GB physical RAM:</para>212 213 <screen role="nodump">Processor type and features --->214 High Memory Support --->215 (X) 64GB [CONFIG_HIGHMEM64G]</screen>216 217 <para>If the partition for the LFS system is in a NVME SSD (i. e. the218 device node for the partition is <filename>/dev/nvme*</filename>219 instead of <filename>/dev/sd*</filename>), enable NVME support or220 the LFS system won't boot:</para>221 222 <screen role="nodump">Device Drivers --->223 NVME Support --->224 <*> NVM Express block device [CONFIG_BLK_DEV_NVME]</screen>225 182 </note> 226 183 … … 230 187 </note> 231 188 232 <para >There are several other options that may be desired189 <para revision="sysv">There are several other options that may be desired 233 190 depending on the requirements for the system. For a list of options needed 234 191 for BLFS packages, see the <ulink 235 192 url="&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index">BLFS 236 Index of Kernel Settings</ulink>.</para> 193 Index of Kernel Settings</ulink> 194 (&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index).</para> 237 195 238 196 <note> … … 240 198 LFS system with it, you should adjust some kernel configuration 241 199 following <ulink url="&blfs-book;postlfs/grub-setup.html#uefi-kernel"> 242 the BLFS page</ulink> <emphasis role='bold'>even if you'll use the 243 UEFI bootloader from the host distro</emphasis>.</para> 200 the BLFS page</ulink>.</para> 244 201 </note> 245 202
Note:
See TracChangeset
for help on using the changeset viewer.