mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 04:57:38 +00:00
drm-panic: kernel: Enable DRM_PANIC
Since the previous commit, we've ensured the kernel displaying via DRM even in the early stage. Now enable DRM_PANIC so the kernel will correctly show the last lines of the kernel messages in case a panic happens. Tested with an incorrect root= line in 3 configurations: - A QEMU VM booted via BIOS - A real machine booted via BIOS - A real machine booted via UEFI And in all configurations the panic message is correctly dumped. In 1024x768 we can get 48 lines (twice of 24 lines in VGA console).
This commit is contained in:
parent
33c17d128b
commit
2349341e3e
@ -15,6 +15,8 @@ DEVTMPFS='*'
|
|||||||
DEVTMPFS_MOUNT='*'
|
DEVTMPFS_MOUNT='*'
|
||||||
SYSFB_SIMPLEFB='*'
|
SYSFB_SIMPLEFB='*'
|
||||||
DRM='*'
|
DRM='*'
|
||||||
|
DRM_PANIC='*'
|
||||||
|
DRM_PANIC_SCREEN='kmsg'
|
||||||
DRM_FBDEV_EMULATION='*'
|
DRM_FBDEV_EMULATION='*'
|
||||||
DRM_SIMPLEDRM='*'
|
DRM_SIMPLEDRM='*'
|
||||||
FRAMEBUFFER_CONSOLE='*'
|
FRAMEBUFFER_CONSOLE='*'
|
||||||
|
@ -46,9 +46,12 @@
|
|||||||
<emphasis role='blue'>G</emphasis>raphics support --->
|
<emphasis role='blue'>G</emphasis>raphics support --->
|
||||||
<*> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
|
<*> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
|
||||||
... [DRM]
|
... [DRM]
|
||||||
[*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
|
[*] <emphasis role='blue'>D</emphasis>isplay a user-friendly message when a kernel panic occurs
|
||||||
|
... [DRM_PANIC]
|
||||||
|
(kmsg) <emphasis role='blue'>P</emphasis>anic screen formatter [DRM_PANIC_SCREEN]
|
||||||
|
[*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
|
||||||
... [DRM_FBDEV_EMULATION]
|
... [DRM_FBDEV_EMULATION]
|
||||||
<*> <emphasis role='blue'>S</emphasis>imple framebuffer driver [DRM_SIMPLEDRM]
|
<*> <emphasis role='blue'>S</emphasis>imple framebuffer driver [DRM_SIMPLEDRM]
|
||||||
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
||||||
[*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]
|
[*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]
|
||||||
|
|
||||||
|
@ -14,6 +14,8 @@ DEVTMPFS='*'
|
|||||||
DEVTMPFS_MOUNT='*'
|
DEVTMPFS_MOUNT='*'
|
||||||
SYSFB_SIMPLEFB='*'
|
SYSFB_SIMPLEFB='*'
|
||||||
DRM='*'
|
DRM='*'
|
||||||
|
DRM_PANIC='*'
|
||||||
|
DRM_PANIC_SCREEN='kmsg'
|
||||||
DRM_FBDEV_EMULATION='*'
|
DRM_FBDEV_EMULATION='*'
|
||||||
DRM_SIMPLEDRM='*'
|
DRM_SIMPLEDRM='*'
|
||||||
FRAMEBUFFER_CONSOLE='*'
|
FRAMEBUFFER_CONSOLE='*'
|
||||||
|
@ -33,8 +33,11 @@
|
|||||||
<emphasis role='blue'>G</emphasis>raphics support --->
|
<emphasis role='blue'>G</emphasis>raphics support --->
|
||||||
<*> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
|
<*> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
|
||||||
... [DRM]
|
... [DRM]
|
||||||
[*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
|
[*] <emphasis role='blue'>D</emphasis>isplay a user-friendly message when a kernel panic occurs
|
||||||
|
... [DRM_PANIC]
|
||||||
|
(kmsg) <emphasis role='blue'>P</emphasis>anic screen formatter [DRM_PANIC_SCREEN]
|
||||||
|
[*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
|
||||||
... [DRM_FBDEV_EMULATION]
|
... [DRM_FBDEV_EMULATION]
|
||||||
<*> <emphasis role='blue'>S</emphasis>imple framebuffer driver [DRM_SIMPLEDRM]
|
<*> <emphasis role='blue'>S</emphasis>imple framebuffer driver [DRM_SIMPLEDRM]
|
||||||
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
||||||
[*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen>
|
[*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen>
|
||||||
|
Loading…
Reference in New Issue
Block a user