Originally posted by Developer12
View Post
That message of "test from debugfs" is very detailed in fact.
This point in the video has the very command that trigger "test from debugfs"
Code:
echo 1> /sys/kernel/debug/dri/simple-framebuffer.0/drm_panic_plane_0
Also note here that the line of test is
"sysrq triggered crash"
That a "echo c> /proc/sysrq-trigger" or sysrq on keyboard with c yes modern day keyboard alt+print scrreen+c not something you are going to do by mistake.
Yes every way that you can trigger a crash gives a different line of text. Yes the sysrq is real and can cause file system data loss so don't play with this one unless you have backups.
Originally posted by Developer12
View Post
Yes the QR code on the debugfs message contains enough details to work out what user/process triggered the debugfs bit to go off.
The windows red screen of death in fact end up less descriptive than this.
Red screens of death under windows are rare like Linux kernel panics are also quite rare. Recoverable errors are way more common. Yes a windows blue screen of death these days is a recoverable error.
The QR code contains more text than you can put on the screen otherwise.
The kmsg option is there have that on screen instead of the short message. Those who have been debugging Linux kernel issues have found without the complete panic message but only having half it it was over 99.99% of the time no better than the single line message. There is a lot of information in that QR code.
Yes if you get to Windows 11 red screen of death and it displays diagnostic information it only really gives you one line of diagnostic information at most spread out over 3 lines of screen with a instructions will not in fact fix the problem. The reality without the QR code this is no worse than Windows 11 Red Screen of death. With QR code there is more detailed information in the QR code for what went wrong than what the Windows red screen of death provided.
Leave a comment: