unclekyky wrote:
a little off topic but what does the SysRq even do?
Surprised to see you didn't know this considering that you said you're running Gentoo in another thread and gave me flack for dual-booting WinME
Code:
The Magic SysRq Key
This feature allows you to do some basic maintenance tasks even if the rest of the system isn't responding. In particular, it allows you to shutdown your system properly, thus avoiding the risk of file system corruption when simply turning the machine off with media still being mounted.
The 'SysRq' sequence involves pressing three keys at once, theleft ALT key, the 'SysRq' key (also labeled 'PrtSc' or 'F13') and a letter key:
1. <ALT> <SysRq> <r> puts the keyboard in 'raw' mode.
This might be helpful in cases where the graphical interface does not respond to keyboard or mouse commands any more. Having pressed that sequence, press <ALT> <CTRL> <BACKSPACE> simultaneously. This will try to kill the X server and drops you onto the console (i.e. it's the emergency key combination to switch from runlevel 5 to runlevel 3).
2. <ALT> <SysRq> <s> attempts to write all unsaved data to disk ('sync' the disk) to prevent file corruption.
3. <ALT> <SysRq> <e> sends a termination signal to all processes, except for 'init'.
4. <ALT> <SysRq> <i> sends a kill signal to all processes, except for init, thus terminating all processes which ignored the termination signal.
5. <ALT> <SysRq> <u> remounts all mounted file systems read-only. This prevents file system corruption.
6. <ALT> <SysRq> <b> reboots the system. Alternatively, replace the 'b' with an 'o' to turn the machine off.
If you look at this sequence, you see that you are - apart from the first step - actually emulating the 'init' shutdown process. Therefore it is important that you press these sequences in the correct order (e.g. that you 'sync' the drives before remounting them): Raw -Sync - tErm - kIll -Umount - reBoot.
Edit: As Hunter Lupe wrote in an eariler post, these functions for the SysRq key only pertain to the Linux kernel. Don't try this on Windows, kids!