Live data from Hacker News

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

arstechnica.com

1–10 of 25 posts

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

#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.

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

#7

Anyone know how I could try this out? (I have systemd 255)

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?

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

#8

Anyone know how I could try this out? (I have systemd 255)

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

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

#9

I've seen a few articles on this systemd BSOD feature, but none have had screenshots. Google doesn't come up with anything.

I've found an image of it online: https://news.ycombinator.com/item?id=38563062

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

#10

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

DO NOT SCAN THE QR CODE!

biggest mistake of my life

Post reply on HN