Skip to content

Usage information and examples (READ THIS) #1

Description

@DanielMYT

Example QR code kernel panic screen

Requirement

MassOS experimental-20250830 and above.

May not work in VMs, as VM software can halt execution of, or shut off, the VM entirely after the kernel panic "disables" the CPU.

Some QR code scanners may be unable to read the v40 QR code format - try a different (more modern) program if this is the case. For the example image above, open it in a new window and zoom so the reader can pick it up more clearly.

Manually triggering a kernel panic

WARNING: This will immediately crash the kernel, and may cause data loss / filesystem corruption. Do not do it on production systems:

echo 1 | sudo tee /proc/sys/kernel/sysrq
echo c | sudo tee /proc/sysrq-trigger

Restoring old behaviour (kmsg)

Use the following kernel command-line parameter to restore the old behaviour of printing the kernel stack trace to the console instead of displaying the new QR code panic screen:

drm.panic_screen=kmsg

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions