Originally posted by M1kkko
View Post
Let me make this absolutely clear-- for you and EVERYONE else in this thread... EVERYTHING ABOUT THE VT IS ALREADY IN USERSPACE MINUS ALL THE BENEFITS OF USERSPACE.
If you're at KDE and you switch to a VT, that handoff is handled by X-- userspace (Switching from a VT back to X is handled by KMS)
Your login prompt at the VT-- userspace
Your bash/csh/zsh/sh shell-- userspace
All of your commands IN that shell-- userspace.
That first point up there, handled by X, is important-- if the entire computer is under extreme CPU and memory pressure, YOU ARE NOT GUARANTEED A VT SWITCH and if you DO get one you aren't guaranteed to be able to run kill -9 on whatever process is hogging things, or run reboot, or maybe not even run SYSRQ-- I know you SHOULD always be able to run the system rescue keycombos by apparently...there are even some situations where those can be blocked (yes they were enabled kernel config and all other necessary places. They just didnt work.)
The only way you can be "guaranteed" anything during an early kernel panic or other situation where you cant get to a VT to see output is to have a serial console plugged in next to you so you can see it all. That is the ONLY guaranteed way. EVERYTHING else is just pure and simple luck.
Comment