Live data from Hacker News

Linux distros are about to get killer Windows feature: The Blue Screen of Death

arstechnica.com

11–20 of 25 posts

Re: Linux distros are about to get killer Windows feature: The Blue Screen of Death

#11

Earlier quoted context omitted.

From https://github.com/systemd/systemd/releases/tag/v255 "A new component "systemd-bsod" has been added, which can show logged error messages full screen, if they have a log level of LOG_EMERG log level. This component is experimental and its public interface is subject to change." First step is to log something with LOG_EMERG level. Then maybe make the system crash?

I just tried the repro steps for this issue [0]. Which seem to be the same as the test suite does it [1]. But nothing happens :/ [0] https://github.com/systemd/systemd/issues/29478 [1] https://github.com/systemd/systemd/blob/main/test/units/test... EDIT: just found an image, of how it looks https://0x0.st/H3qM.png

Ahh, I had heard people complaining about systemd having a qr code generator included a few years ago.

Hopefully this one can do something useful, like include details of the actual crash so you don't have to transcribe them. Unlike the windows one, that's hardcoded in.

Re: Linux distros are about to get killer Windows feature: The Blue Screen of Death

#13
post #10

Earlier quoted context omitted.

I just tried the repro steps for this issue [0]. Which seem to be the same as the test suite does it [1]. But nothing happens :/ [0] https://github.com/systemd/systemd/issues/29478 [1] https://github.com/systemd/systemd/blob/main/test/units/test... EDIT: just found an image, of how it looks https://0x0.st/H3qM.png

DO NOT SCAN THE QR CODE! biggest mistake of my life

If you don't recognize the YouTube ID by now... :)

dQw4w9WgXcQ

Re: Linux distros are about to get killer Windows feature: The Blue Screen of Death

#14
post #10

Earlier quoted context omitted.

I just tried the repro steps for this issue [0]. Which seem to be the same as the test suite does it [1]. But nothing happens :/ [0] https://github.com/systemd/systemd/issues/29478 [1] https://github.com/systemd/systemd/blob/main/test/units/test... EDIT: just found an image, of how it looks https://0x0.st/H3qM.png

DO NOT SCAN THE QR CODE! biggest mistake of my life

I wasn’t gonna bother doing that. You made me do it…

Re: Linux distros are about to get killer Windows feature: The Blue Screen of Death

#16
post #6
post #5

For someone who isn't experienced in how Linux crashes - what currently happens when there's an error that can't be recovered from? Does the device just restart?

A kernel panic handler writes down a piece of stack, a piece of code, contents of registers, and some minimal message. Normally the machine does not reboot, so that you could photograph the console maybe. (The screen normally remains white on black. The console can as well be a COM port.) You can configure it to auto-reboot by putting a timeout value to /proc/sys/kernel/panic.

This is actually useful and portable (e.g. also works serial console). QR Codes are not.

I actually scrolled up to check this was not an April fools article.

Re: Linux distros are about to get killer Windows feature: The Blue Screen of Death

#18
This is such a pointless feature. I have several daily driver Linux systems. They run for months at a time, sometimes years. The only time I see a kernel panic is if the hardware is bad or I did something wrong (misconfiguration).

Years ago I had a dual boot system with bad RAM and on Windows it would regularly blue screen, on Linux it was fine. Took a long time to figure out what the actual problem was because Linux is just so rock solid.

And no, I don't use any systemd based distros on my daily drivers.

Re: Linux distros are about to get killer Windows feature: The Blue Screen of Death

#19
post #6

Earlier quoted context omitted.

A kernel panic handler writes down a piece of stack, a piece of code, contents of registers, and some minimal message. Normally the machine does not reboot, so that you could photograph the console maybe. (The screen normally remains white on black. The console can as well be a COM port.) You can configure it to auto-reboot by putting a timeout value to /proc/sys/kernel/panic.

This is actually useful and portable (e.g. also works serial console). QR Codes are not. I actually scrolled up to check this was not an April fools article.

I don't see why the handler could not go back to textual mode is the console is serial.

Some devices have neither a serial console nor a text-mode screen powered by BIOS; all they have is a framebuffer device. There a QR code could work really well. No need to have any font data, for instance.

Re: Linux distros are about to get killer Windows feature: The Blue Screen of Death

#20
post #14

Earlier quoted context omitted.

I wasn’t gonna bother doing that. You made me do it…

What is it?

We're no strangers to it. You know the rules, and so do I; these jokers make a full commitment and make you think about it for so long. You wouldn't get this from any other pull request.
Post reply on HN