• theshatterstone54@feddit.uk
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    I have seen a kernel panic once, when I was failing to set up a raspberry pi (the SD card installer was corrupted).

    So while this is super cool, I honestly don’t think I’ll ever see it

  • TheGrandNagus@lemmy.world
    link
    fedilink
    English
    arrow-up
    63
    ·
    edit-2
    2 days ago

    On the one hand, that is cool as fuck.

    Unfortunately though, I’ve been fortunate in that I’ve been using Linux for 16 years and never experienced a panic screen, so I probably won’t get to see Tux :/

    • Virkkunen@fedia.io
      link
      fedilink
      arrow-up
      19
      ·
      2 days ago

      You can install beta NVIDIA drivers with Optimus on A laptop and you’ll be able to see the fat Tux!

  • Vahtos@programming.dev
    link
    fedilink
    English
    arrow-up
    47
    ·
    2 days ago

    This is making me realize that I have never encountered this equivalent of a blue screen of death on Linux.

    • f00f/eris@startrek.website
      link
      fedilink
      English
      arrow-up
      28
      ·
      2 days ago

      It’s very new. Previously the system would just drop to a console with a message saying “Kernel panic: not syncing: [reason]” and a whole bunch of debug info.

      But still, on a well-maintained system, that pretty much never happens. Mainly because Linux is significantly more resilient to faults in device drivers than Windows.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        Linux is monolithic so it breaks when a kernel module fails. It can sometimes recover but sometimes the system is in such a bad state a panic is triggered to protect against further issues.

      • Running Linux on computers with Nvidia hardware proves that Linux and Windows both have their problems dealing with device drivers. Linux’ benefit is that is has higher standards because the kernel devs need to sign off on driver, but that has downsides of turning away potential driver developers (as getting your code into Linux is a quite a complex thing just on its own). Linux also doesn’t have many drivers in general it seems, unless your device has some kind of generic fallback that disables any special features.

        My kernel panics generally don’t display anything, the display just freezes and I need to force reboot the computer.

      • Swedneck@discuss.tchncs.de
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        even on a less well-maintained system it’s probably not going to be the kernel having a freakout, the kernel is going to be just fine while something else shits itself (probably graphics drivers on a desktop tbh, my vega 10 loves to vomit onto the screen and pass out)

      • anothermember@lemmy.zip
        link
        fedilink
        arrow-up
        11
        ·
        2 days ago

        Begs the question what’s the point in all of this? In 20 or so years of using Linux (usually maintaining multiple systems at once) I’ve had a kernel panic maybe about 4 times for different reasons, and on those occasions the console debug info was fine. I don’t really understand the excitement around making error messages look more like Windows. It can’t be around being more newbie friendly since if you’re having kernel panics you probably need to be an expert or have expert advice anyway.

    • biscuitswalrus@aussie.zone
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      Yeah I have constant crashes back to login screen but never have I seen a kernel panic except before a system boots. Mm a few exceptions

    • Kerb@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 days ago

      ive seen it a few times on those screens that buses here have, that shows the next stations on the route.

      but never on any of my computers

      (im refering to those old ‘kernel panic’ messages)

  • AutoTL;DR@lemmings.worldB
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    This is the best summary I could come up with:


    The DRM Panic handler in Linux 6.10 that is used for presenting a visual error message in case of kernel panics and similar when CONFIG_VT is disabled continues seeing new features.

    With Linux 6.11, the DRM Panic display can now handle monochrome logos.

    With the code in Linux 6.10 when DRM Panic is triggered, an ASCII art version of Linux’s mascot, Tux the penguin, is rendered as part of the display.

    If ASCII art on error messages doesn’t satisfy your tastes in 2024+, the DRM Panic code will be able to support a monochrome graphical logo that leverages the Linux kernel’s boot-up logo support.

    This monochrome logo support in the DRM Panic handler was sent out as part of this week’s drm-misc-next pull request ahead of the Linux 6.11 merge window in July.

    This week’s drm-misc-next material also includes TTM memory management improvements, various fixes to the smaller Direct Rendering Manager drivers, and also the previously talked about monochrome TV support for the Raspberry Pi.


    The original article contains 237 words, the summary contains 165 words. Saved 30%. I’m a bot and I’m open source!