Opened 4 years ago

Last modified 7 months ago

#13321 new enhancement

Enhance kernel bluescreen setting

Reported by: kallisti5 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: KDL bluescreen Cc: ttcoder
Blocked By: Blocking:
Platform: All


This is related to the buildslaves (and honestly any kind of headless Haiku installation). This ticket is the result of a conversation with pulkomandy in irc.

Config: /boot/home/config/settings/kernel/drivers/kernel

Finer control is needed over KDL events. The "bluescreen" setting allows you to disable the full screen kdl, however the system still locks up and prompts on the serial port.

A more reasonable setting would be:

kdl = bluescreen,serial-only,reboot

  • bluescreen = normal behavior. KDL shown and serial prompted (== bluescreen true)
  • serial-only = no KDL shown, serial prompted (== bluescreen false)
  • reboot = when KDL is encountered, reboot (new, and maybe sync to disk if possible???)

Change History (10)

comment:1 by waddlesplash, 22 months ago

Component: - GeneralSystem/Kernel

comment:2 by ttcoder, 22 months ago

Cc: ttcoder added

comment:3 by AGMS, 7 months ago

Yes, reboot on KDL crash would be quite useful for long running things like radio stations. Possibly log the crash to in-memory syslog (in case the file systems aren't working) and reboot?

comment:4 by X512, 7 months ago

Why it is called bluescreen? Haiku kernel crash screen is white, not blue.

comment:5 by AGMS, 7 months ago

For historical reasons that's what most people are familiar with. Amiga had a black and orange guru meditation alert. Unix has kernel panics in ordinary text. See

comment:6 by pulkomandy, 7 months ago

It was called bluescreen in BeOS already (source: I guess as an inside joke about feature parity with Windows or something.

comment:7 by kallisti5, 7 months ago

I took this thread and motivation to update the Wikipedia article at to include Haiku/BeOS

comment:8 by kallisti5, 7 months ago

anyway, i'm so far off topic :-)

a reboot on KDL would indeed be nice. I expect mmlr has to kick his package builders pretty often.

comment:9 by AGMS, 7 months ago

On a related note, I've added a pull request for a screen shot of a KDL to the Haiku web site. Now you'll have something to cite for Wikipedia.

Of course, this feature request's purpose is to get rid of the KDL screen :-)

in reply to:  8 comment:10 by mmlr, 7 months ago

Replying to kallisti5:

a reboot on KDL would indeed be nice. I expect mmlr has to kick his package builders pretty often.

Actually, since the latest kernel work they are exceptionally stable. After 55 and 40 days uptime, they are still almost at their initial RAM usage even though they were pretty busy with all kinds of builds since then.

As for this ticket, shouldn't bluescreen = false just be made to reboot? When KDL is entered, it will already put that on the serial line if that is enabled, why would "hiding" the screen itself be useful?

Note: See TracTickets for help on using tickets.