Changeset 70bf551 for chapter10/kernel.xml
- Timestamp:
- 07/31/2023 04:08:56 PM (14 months ago)
- Branches:
- 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
- Children:
- 57499d5
- Parents:
- 2cf01ab7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter10/kernel.xml
r2cf01ab7 r70bf551 131 131 not work correctly or boot at all:</para> 132 132 133 <screen role="nodump" revision="sysv"><emphasis role='blue'>G</emphasis>eneral setup ---> 134 [ ] <emphasis role='blue'>C</emphasis>ompile the kernel with warnings as errors [CONFIG_WERROR] 135 <emphasis role='blue'>C</emphasis>PU/Task time and stats accounting ---> 136 [*] <emphasis role='blue'>P</emphasis>ressure stall information tracking [CONFIG_PSI] 137 [ ] <emphasis role='blue'>R</emphasis>equire boot parameter to enable pressure stall information tracking 138 [CONFIG_PSI_DEFAULT_DISABLED] 139 < > <emphasis role='blue'>E</emphasis>nable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] 140 [*] <emphasis role='blue'>C</emphasis>ontrol Group support [CONFIG_CGROUPS] ---> 141 [*] M<emphasis role='blue'>e</emphasis>mory controller [CONFIG_MEMCG] 142 [ ] <emphasis role='blue'>C</emphasis>onfigure standard kernel features (expert users) [CONFIG_EXPERT] 143 144 <emphasis role='blue'>P</emphasis>rocessor type and features ---> 145 [*] <emphasis role='blue'>B</emphasis>uild a relocatable kernel [CONFIG_RELOCATABLE] 146 [*] <emphasis role='blue'>R</emphasis>andomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE] 147 148 <emphasis role='blue'>G</emphasis>eneral architecture-dependent options ---> 149 [*] <emphasis role='blue'>S</emphasis>tack Protector buffer overflow detection [CONFIG_STACKPROTECTOR] 150 [*] <emphasis role='blue'>S</emphasis>trong Stack Protector [CONFIG_STACKPROTECTOR_STRONG] 151 152 <emphasis role='blue'>D</emphasis>evice Drivers ---> 153 <emphasis role='blue'>G</emphasis>eneric Driver Options ---> 154 [ ] <emphasis role='blue'>S</emphasis>upport for uevent helper [CONFIG_UEVENT_HELPER] 155 [*] M<emphasis role='blue'>a</emphasis>intain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] 156 [*] <emphasis role='blue'>A</emphasis>utomount devtmpfs at /dev, after the kernel mounted the rootfs 157 [CONFIG_DEVTMPFS_MOUNT] 158 <emphasis role='blue'>G</emphasis>raphics support ---> 159 <emphasis role='blue'>F</emphasis>rame buffer Devices ---> 160 <*> <emphasis role='blue'>S</emphasis>upport for frame buffer devices ---> 161 <emphasis role='blue'>C</emphasis>onsole display driver support ---> 162 [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]</screen> 163 164 <screen role="nodump" revision="systemd"> 165 General setup ---> 166 [ ] Compile the kernel with warnings as errors [CONFIG_WERROR] 167 [ ] Auditing Support [CONFIG_AUDIT] 168 CPU/Task time and stats accounting ---> 169 [*] Pressure stall information tracking [CONFIG_PSI] 170 [ ] Require boot parameter to enable pressure stall information tracking 171 [CONFIG_PSI_DEFAULT_DISABLED] 172 < > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] 173 [*] Control Group support [CONFIG_CGROUPS] ---> 174 [*] Memory controller [CONFIG_MEMCG] 175 [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT] 176 177 Processor type and features ---> 178 [*] Build a relocatable kernel [CONFIG_RELOCATABLE] 179 [*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE] 180 181 General architecture-dependent options ---> 182 [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP] 183 [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR] 184 [*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG] 185 186 [*] Networking support ---> [CONFIG_NET] 187 Networking options ---> 188 [*] TCP/IP networking [CONFIG_INET] 189 <*> The IPv6 protocol [CONFIG_IPV6] 190 191 Device Drivers ---> 192 Generic Driver Options ---> 193 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] 194 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] 195 [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs 196 [CONFIG_DEVTMPFS_MOUNT] 197 Firmware Loader ---> 198 [ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER] 199 Firmware Drivers ---> 200 [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID] 201 Graphics support ---> 202 Frame buffer Devices ---> 203 <*> Support for frame buffer devices ---> 204 Console display driver support ---> 205 [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE] 206 207 File systems ---> 208 [*] Inotify support for userspace [CONFIG_INOTIFY_USER] 209 Pseudo filesystems ---> 210 [*] 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"/> 211 142 212 143 <para>Enable some additional features if you are building a 64-bit … … 217 148 shows up after its dependencies are selected.</para> 218 149 219 <screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features ---> 220 [*] <emphasis role='blue'>S</emphasis>upport x2apic [CONFIG_X86_X2APIC] 221 222 Device Drivers ---> 223 [*] <emphasis role='blue'>P</emphasis>CI Support ---> [CONFIG_PCI] 224 [*] M<emphasis role='blue'>e</emphasis>ssage Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI] 225 [*] <emphasis role='blue'>I</emphasis>OMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT] 226 [*] <emphasis role='blue'>S</emphasis>upport for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen> 150 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 151 href="kernel/x2apic.xml"/> 227 152 228 153 <para>If you are building a 32-bit system running on a hardware … … 230 155 be able to use up to 64GB physical RAM:</para> 231 156 232 <screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features ---> 233 H<emphasis role='blue'>i</emphasis>gh Memory Support ---> 234 (X) <emphasis role='blue'>6</emphasis>4GB [CONFIG_HIGHMEM64G]</screen> 157 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 158 href="kernel/highmem.xml"/> 235 159 236 160 <para>If the partition for the LFS system is in a NVME SSD (i. e. the … … 239 163 the LFS system won't boot:</para> 240 164 241 <screen role="nodump"><emphasis role='blue'>D</emphasis>evice Drivers ---> 242 N<emphasis role='blue'>V</emphasis>ME Support ---> 243 <*> N<emphasis role='blue'>V</emphasis>M Express block device [CONFIG_BLK_DEV_NVME]</screen> 165 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 166 href="kernel/nvme.xml"/> 244 167 </note> 245 168
Note:
See TracChangeset
for help on using the changeset viewer.