Darxus on Sun, 24 Oct 1999 18:38:14 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Plug] magic SysRq key is cool


Say "yes" to Kernel hacking/Magic SysRq (CONFIG_MAGIC_SYSRQ) when
configuring your kernel, then, once you boot off that kernel, you can do
neat stuff, like...

(the SysRq key is the same as the Print Screen key)

if X locks -- alt-SysRq-r to regain control of your keyboard by taking it
out of Raw mode (haven't tried this one yet)

alt-SysRq-k to kill everthing on your current virtual terminal

If your whole machine hangs, do 

 alt-SysRq-s (sync)
 alt-SysRq-u (unmount)
 alt-SysRq-b (boot)

To reboot, rather than hitting reset/power & possibly causing dataloss --
this should also keep your machine from feeling a need to fsck during
bootup after the crash.

If you're getting crazy amounts of kernel error messages scrolling by so
fast you can't see what you're doing, do ctrl-SysRq-0 (error logging level
0).


These usages are basically from the documentation (in the linux source
directory/Documentation/sysrq.txt).

I've been wondering how to use this for a while, and am now irratated that
nobody gave me this quick answer, and instead everything says go read the
documentation.  

__________________________________________________________________
PGP fingerprint = 03 5B 9B A0 16 33 91 2F  A5 77 BC EE 43 71 98 D4
            darxus@op.net / http://www.op.net/~darxus
          Join the Great Internet Mersenne Prime Search
                http://www.mersenne.org/prime.htm




_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug