In vt_kms, the postswitch callback restores fbdev mode when panicking or entering the debugger. This ensures that even when a graphical application was running on the first tty, simple framebuffer mode would be restored and the panic would be visible instead of the frozen GUI. But vt wouldn't call the postswitch callback when we're already on the first tty, so running a GUI on it would prevent you from reading any panics.
Details
Details
sysctl debug.kdb.panic=1 when running a graphical session on the first tty.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Done (sent to the freebsd.org address). Also updated it here, though "Download Raw Diff" still extracts a small diff anyway :/ Seems like only arc can apply patches with the message and everything from phab.
Comment Actions
oh, sorry, I have missed this some time.
could you mail it to tsoome@me.com - I havent got the file from freebsd.org.. the plain mails are coming through, probably is blocking the attachments.