2010年1月5日 星期二

Magic SysRq key

CONFIG_MAGIC_SYSRQ
SUPPORT_SYSRQ
drivers/char/sysrq.c
sysrq_key_table
struct sysrq_key_op

ENTRY_ARMV_S -> asm_do_IRQ -> handle_level_irq -> handle_IRQ_event -> serial8250_interrupt -> serial8250_handle_port -> uart_handle_sysrq_char -> __handle_sysrq -> (sysrq handling function)

show_interrupts
fs/proc/interrupts.c



Documentation/sysrq.txt

Magic SysRq Key
http://www.linuxhowtos.org/Tips%20and%20Tricks/sysrq.htm

[wiki] Magic SysRq key
http://en.wikipedia.org/wiki/Magic_SysRq_key

[Linux][Kerne][Tips] 在 minicom 下送出 SysRq
http://blog.richliu.com/2007/09/20/514/comment-page-1/
按 ctrl+a f 就是送出 break key


Linux Shortcuts and Commands
http://linux.about.com/od/linux101/l/blnewbie5_1.htm

Fix a Frozen System with the Magic SysRq Keys
http://fosswire.com/post/2007/9/fix-a-frozen-system-with-the-magic-sysrq-keys/
  1. Hold down the Alt and SysRq (Print Screen) keys.
  2. While holding those down, type the following in order. Nothing will appear to happen until the last letter is pressed: REISUB
  3. Watch your computer reboot magically.

(...............)

REISUB - Raising Elephants Is So Utterly Boring.

沒有留言: