• Avid Amoeba@lemmy.ca
    link
    fedilink
    arrow-up
    41
    ·
    6 months ago
    • Preparations for a kernel panic screen as sort of like a Windows Blue Screen of Death (BSoD).

    This is my favorite part.

    • kautau@lemmy.world
      link
      fedilink
      arrow-up
      27
      ·
      edit-2
      6 months ago

      My guess is it means this sort of recent windows feature of showing a QR code on how to search for the issue you’re experiencing

      Having a QR code with a link to the error code or at least a way to search it is an excellent UX thing, especially for those who are less accustomed to dealing with Linux kernel panics

      See the comments in response to mine on how this might look

      • 9point6@lemmy.world
        link
        fedilink
        arrow-up
        31
        ·
        edit-2
        6 months ago

        I love your specific example screenshot

        “Hey is this Microsoft support? Yeah, err, so I’ve got this MANUALLY_INITIATED_CRASH error, can you help?”

        “Have you tried… Not initiating…a crash…?”

      • SteveTech@programming.dev
        link
        fedilink
        English
        arrow-up
        18
        ·
        edit-2
        6 months ago

        It doesn’t have a QR code in it’s current state AFAIK, but I believe the guy wants to add one eventually. Here’s what it might look like:

        DRM panic handler panic screenshot https://gitlab.com/kdj0c/panic_report/-/issues/1

        Also from the commits it looks like the colours are configurable at compile time (white on black default), and that exclamation Tux is already there.

        Looks like this is already a thing though with [systemd-bsod]

        Nah, that only handles boot errors, not kernel panics.

          • SteveTech@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 months ago

            Well the QR code part hasn’t even been submitted to the maintainers yet AFAIK, so there’s still time to change, and I’m sure it’ll be configurable so you either get a stack trace or a QR code.

      • AnUnusualRelic@lemmy.world
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        edit-2
        6 months ago

        I like it when my crashes come with a plain text explanation of what caused the crash. It just seems simpler to me than having to deal with some barcode fuckery.

        • kautau@lemmy.world
          link
          fedilink
          arrow-up
          9
          ·
          6 months ago

          One doesn’t exclude the other. And if you really hate QR codes that much I’m sure there will be a flag or you can recompile the kernel without this, it’s Linux after all