Linux's New DRM Panic "Blue Screen of Death" In Action
([Linux Kernel] 5 Hours Ago
Linux Blue Screen of Death)
- Reference: 0001471143
- News link: https://www.phoronix.com/news/Linux-DRM-Panic-BSoD-Picture
- Source link:
After being [1]talked about for years of DRM panic handling and coming with a "Blue Screen of Death" solution for DRM/KMS drivers, Linux 6.10 is introducing [2]a new DRM panic handler infrastructure for being able to display a message when a panic occurs. This is especially important for those building a kernel without VT/FBCON support where otherwise viewing the kernel panic message isn't otherwise easily available.
With Linux 6.10 the initial DRM Panic code has landed as well as wiring up the DRM/KMS driver support for the SimpleDRM, MGAG200, IMX, and AST drivers. There is work underway on [3]extending DRM Panic support to other drivers that we'll likely see over the coming kernel cycles for more widespread support.
For those curious what DRM Panic can look like in action, Red Hat engineer Javier Martinez Canillas shared a photo of the DRM Panic "Blue Screen of Death" in action. A BeaglePlay single board computer was used and Javier [4]posted to Mastodon of an example implementation:
[5]
It's simple and to the point. It could be extended in the future with some operating systems having looked at [6]QR codes for kernel error messages and other efforts for presenting more technical information while still being user-friendly.
On Linux 6.10+ with platforms having the DRM Panic driver support, this "Blue Screen of Death" functionality can be tested via a route such as echo c > /proc/sysrq-trigger .
[1] https://www.phoronix.com/news/DRM-Panic-Handling
[2] https://www.phoronix.com/news/Linux-6.10-DRM-Panic-Handler
[3] https://www.phoronix.com/news/Nouveau-DRM-Panic-Patches
[4] https://fosstodon.org/@javierm/112619967725108081
[5] https://www.phoronix.com/image-viewer.php?id=2024&image=drm_panic_bsod_lrg
[6] https://www.phoronix.com/news/MTY1NjI
With Linux 6.10 the initial DRM Panic code has landed as well as wiring up the DRM/KMS driver support for the SimpleDRM, MGAG200, IMX, and AST drivers. There is work underway on [3]extending DRM Panic support to other drivers that we'll likely see over the coming kernel cycles for more widespread support.
For those curious what DRM Panic can look like in action, Red Hat engineer Javier Martinez Canillas shared a photo of the DRM Panic "Blue Screen of Death" in action. A BeaglePlay single board computer was used and Javier [4]posted to Mastodon of an example implementation:
[5]
It's simple and to the point. It could be extended in the future with some operating systems having looked at [6]QR codes for kernel error messages and other efforts for presenting more technical information while still being user-friendly.
On Linux 6.10+ with platforms having the DRM Panic driver support, this "Blue Screen of Death" functionality can be tested via a route such as echo c > /proc/sysrq-trigger .
[1] https://www.phoronix.com/news/DRM-Panic-Handling
[2] https://www.phoronix.com/news/Linux-6.10-DRM-Panic-Handler
[3] https://www.phoronix.com/news/Nouveau-DRM-Panic-Patches
[4] https://fosstodon.org/@javierm/112619967725108081
[5] https://www.phoronix.com/image-viewer.php?id=2024&image=drm_panic_bsod_lrg
[6] https://www.phoronix.com/news/MTY1NjI
tildearrow