https://www.phoronix.com/news/Linux-6.10-DRM-Panic-Handler Phoronix * Articles & Reviews * News Archive * Forums * Premium Ad-Free * Contact * Popular Categories * Close * * Articles & Reviews * News Archive * Forums * Premium * Contact * Categories Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals * [ ] [Search] Linux 6.10 Preps A Kernel Panic Screen - Sort Of A "Blue Screen of Death" Written by Michael Larabel in Linux Kernel on 19 April 2024 at 10:09 AM EDT. 31 Comments LINUX KERNEL While systemd 255 last year introduced a "blue screen of death" inspired solution with systemd-bsod for presenting logged error messages full-screen, it's not appropriate for all errors. Systemd-bsod can work out for presenting full-screen messages in case of boot failures and other problems where user-space is alive. But the user-space code does little good in case of a kernel panic and similar issues bringing the system to a halt. Set to be introduced now with Linux 6.10 is a parallel "blue screen of death" like error presenting experience with the introduction of the DRM panic handler. With kernel mode-setting drivers (KMS) being talked about for more than one decade has been the ability for Linux to present a "BSOD" in case of major issues. Over the past decade it's been brought up on and off again around a "BSOD" solution or DRM kernel oops viewer. Sent out today as part of the drm-misc-next patches to be submitted by DRM-Next for next month's Linux 6.10 merge window is a DRM panic handler. Linux kernel panic A conventional Linux kernel panic with VT/FBCON support. This DRM panic handler has been worked on by Red Hat and others for being able to display a message when a panic occurs. While the Linux kernel can already dump a kernel panic, that only works if VT/FBCON support is enabled for the kernel. For those that have been wanting to kill CONFIG_VT and the like, there isn't currently any way to view a kernel panic when it happens. With the DRM panic handler that's been under review and several revisions the past several months, the message can be displayed when a panic occurs even if FBCON/VT is disabled. At this stage the panic handler is quite basic and only works with a few Direct Rendering Manager drivers. The SimpleDRM, MGAG200, IMX, and AST DRM display drivers currently have the DRM panic handler support. With a kernel carrying the DRM panic support, the handler can be tested such as via the echo c > /proc/sysrq-trigger trigger. But with Linux kernel panics typically not happening too often, this handler will likely see little activity compared to the notorious days of Windows Blue Screen of Death messages. This DRM panic driver support and other drm-panic work was sent out today as part of this drm-misc-next pull going to DRM-Next and therefore material for Linux 6.10. For Linux 6.10 the support appears quite basic but we'll see how it evolves over time. 31 Comments Tweet Related News Linux 6.10-rc4 Released With Another Week Worth Of Driver Fixes Linux's New DRM Panic "Blue Screen of Death" In Action Linus Torvalds Throws Down The Hammer: Extensible Scheduler "sched_ext" In Linux 6.11 The Quest For Faster getrandom() Performance Continues Two Years Later Linux 6.10-rc3 Released For A Boring But Good Week Big Speed Boost For AES-GCM Performance On Intel & AMD CPUs Queued Ahead Of Linux 6.11 About The Author Michael Larabel Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com. Popular News This Week Linus Torvalds Throws Down The Hammer: Extensible Scheduler "sched_ext" In Linux 6.11 AMD's Newest Open-Source Surprise: "Peano" - An LLVM Compiler For Ryzen AI NPUs TUXEDO Developing A Snapdragon X Elite Linux Laptop GNOME OS Continues Seeing New Features, New GNOME App for Viewing 3D Models Firefox 127 With 32-bit x86 Linux Pretending To Be "x86_64" To Reduce Fingerprinting Arch Linux Powered CachyOS Now Defaults To Btrfs Rather Than XFS Ubuntu Talks Up A RISC-V Octa-Core Laptop Redox OS With COSMIC Apps Is Looking Quite Nice Latest Linux News Linux 6.10-rc4 Released With Another Week Worth Of Driver Fixes Linux's New DRM Panic "Blue Screen of Death" In Action Fedora Making Strides On Enabling Greater AI Use, Easier AMD ROCm PyTorch Acceleration Wine Staging 9.11 Released With A Patch For A 17 Year Old Bug Report New Linux Change Helps Ensure AMD Ryzen With NVMe Works After Resuming From Suspend GNOME Papers Document Viewer Making Progress As GTK4-Based Evince Fork Apple M4 Support Added To The LLVM Compiler, Confirming Its ISA Capabilities KDE Plasma 6.1 Prepares For Release Next Week KDE Receives New Human Interface Guidelines For 2024 Ubuntu 24.10 Seeing More Desktop Installer Improvements, Improving The Steam Snap Show Your Support, Go Premium Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations. Latest Featured Articles FreeBSD 14.1 vs. FreeBSD 14.0 Benchmarks On AMD Ryzen Threadripper One-Line Patch For Intel Meteor Lake Yields Up To 72% Better Performance, +7% Geo Mean AMD EPYC 4364P & 4564P @ DDR5-4800 / DDR5-5200 vs. Intel Xeon E-2488 Intel Xeon 6766E/6780E Sierra Forest vs. Ampere Altra Performance & Power Efficiency Intel Xeon 6780E / Xeon 6766E 144-Core Performance Benchmarks Support Phoronix The mission at Phoronix since 2004 has centered around enriching the Linux hardware experience. In addition to supporting our site through advertisements, you can help by subscribing to Phoronix Premium. You can also contribute to Phoronix through a PayPal tip or tip via Stripe. Phoronix Media --------------------------------------------------------------------- * Contact * Michael Larabel * OpenBenchmarking.org Phoronix Premium --------------------------------------------------------------------- * Support Phoronix * While Having Ad-Free Browsing, * Single-Page Article Viewing Share --------------------------------------------------------------------- * Facebook * Twitter * Legal Disclaimer, Privacy Policy, Cookies | Privacy Manager | Contact * Copyright (c) 2004 - 2024 by Phoronix Media. * All trademarks used are properties of their respective owners. All rights reserved.