mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
fdf21dccba
Currently on a LFS system booted via legacy BIOS (intead of UEFI), the users can make two different configurations: 1. The DRM driver for the GPU is built as a module. Then before the module is loaded (i.e. the root fs is properly mounted) the kernel messages are displayed via the VGA console. 2. The DRM driver for the GPU is built into the kernel image. Then the kernel messages are displayed via the DRM-emulated framebuffer console since a very early stage (before the root fs is properly mounted). When the system is booted via UEFI, we use SimpleDRM on the EFI framebuffer for displaying kernel messages, thus it's always the case 2. Both are not good for diagnostic in case the root fs cannot be mounted properly (it's very frequent on lfs-support): - With 1 the VGA console can only fit 80x24 characters, so the relevent information is often flushed away. - With 2 the panic message is often displayed improperly when a DRM driver is running. The "DRM panic" feature introduced since Linux 6.11 (but it'll only become usable for LFS since Linux 6.12) can fix the case 2, while case 1 just cannot be fixed. So start to make LFS booted via legacy BIOS to use method 2 now, then we can enable DRM panic and fix this long-standing issue.
41 lines
3.3 KiB
XML
41 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
|
<!-- Automatically generated by kernel-config.py
|
|
DO NOT EDIT! -->
|
|
<screen role="nodump" revision="sysv"><emphasis role='blue'>G</emphasis>eneral setup --->
|
|
[ ] <emphasis role='blue'>C</emphasis>ompile the kernel with warnings as errors [WERROR]
|
|
<emphasis role='blue'>C</emphasis>PU/Task time and stats accounting --->
|
|
[*] <emphasis role='blue'>P</emphasis>ressure stall information tracking [PSI]
|
|
[ ] <emphasis role='blue'>R</emphasis>equire boot parameter to enable pressure stall information tracking
|
|
... [PSI_DEFAULT_DISABLED]
|
|
< > <emphasis role='blue'>E</emphasis>nable kernel headers through /sys/kernel/kheaders.tar.xz [IKHEADERS]
|
|
[*] <emphasis role='blue'>C</emphasis>ontrol Group support ---> [CGROUPS]
|
|
[*] M<emphasis role='blue'>e</emphasis>mory controller [MEMCG]
|
|
[ ] <emphasis role='blue'>C</emphasis>onfigure standard kernel features (expert users) ---> [EXPERT]
|
|
|
|
<emphasis role='blue'>P</emphasis>rocessor type and features --->
|
|
[*] <emphasis role='blue'>B</emphasis>uild a relocatable kernel [RELOCATABLE]
|
|
[*] <emphasis role='blue'>R</emphasis>andomize the address of the kernel image (KASLR) [RANDOMIZE_BASE]
|
|
|
|
<emphasis role='blue'>G</emphasis>eneral architecture-dependent options --->
|
|
[*] <emphasis role='blue'>S</emphasis>tack Protector buffer overflow detection [STACKPROTECTOR]
|
|
[*] <emphasis role='blue'>S</emphasis>trong Stack Protector [STACKPROTECTOR_STRONG]
|
|
|
|
<emphasis role='blue'>D</emphasis>evice Drivers --->
|
|
<emphasis role='blue'>G</emphasis>eneric Driver Options --->
|
|
[ ] <emphasis role='blue'>S</emphasis>upport for uevent helper [UEVENT_HELPER]
|
|
[*] M<emphasis role='blue'>a</emphasis>intain a devtmpfs filesystem to mount at /dev [DEVTMPFS]
|
|
[*] <emphasis role='blue'>A</emphasis>utomount devtmpfs at /dev, after the kernel mounted the rootfs
|
|
... [DEVTMPFS_MOUNT]
|
|
<emphasis role='blue'>F</emphasis>irmware Drivers --->
|
|
[*] M<emphasis role='blue'>a</emphasis>rk VGA/VBE/EFI FB as generic system framebuffer [SYSFB_SIMPLEFB]
|
|
<emphasis role='blue'>G</emphasis>raphics support --->
|
|
<*> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
|
|
... [DRM]
|
|
[*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
|
|
... [DRM_FBDEV_EMULATION]
|
|
<*> <emphasis role='blue'>S</emphasis>imple framebuffer driver [DRM_SIMPLEDRM]
|
|
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
|
[*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen>
|