next up previous contents
Next: Installation Up: Compilation and installation Previous: Kernel hacking options   Contents

Magic SysRq

The option

[*] Magic SysRq key
is particularly useful, because it often allows you to reduce the impact of a kernel failure and to obtain some additional information about the state of the system. It turns on some keyboard shortcuts allowing you to pass specific instructions directly to the kernel: Which key is the SysRq? That depends on the architecture of your machine: On all architectures you can trigger the action assigned to given key (say t) by echoing the corresponding character to the file /proc/sysrq-trigger, eg.
# echo t > /proc/sysrq-trigger

What is the safest way to restart the computer?

First, you should try to press the combination of Ctrl + Alt + Backspace (X Window system) or Ctrl + Alt + Del (text console). If it does not work, you can:

More information related to the ''Magic SysRq key'' mechanism can be found in the file Documentation/sysrq.txt included in the kernel sources.


next up previous contents
Next: Installation Up: Compilation and installation Previous: Kernel hacking options   Contents
MichaƂ Piotrowski 2007-06-21