lkml.org 
[lkml]   [1999]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sysrq on serial consoles [was The Deadly `ping -f']
Hello!

> The original question was how to enter sysrq from a serial console.
> AFAICT, the only way of entering alt-sysrq is directly from a PC
> keyboard, I can see no way of doing it from a serial console. Proc
> handle_sysrq is only called from handle_scancode in keyboard.c. Serial
> consoles do not have scancodes.
>
> So a question for the serial experts. How do you enter alt-sysrq on a
> serial console? Expecially if that console could be a dumb VT100 or an
> emulator running on Linux or even another OS entirely?

Some time ago, I wrote a patch for SysRq over serial console which
used BREAK as a SysRq key. Unfortunately, Linus has rejected it because
of the feature freeze, but I can dig it out and port to 2.2.x.

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"REALITY.SYS corrupted - reboot Universe (Y/N)?"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.169 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site