On Wed, 18 Jul 2001 19:16:35 -0400,
Andrew Klaassen <ak@xxxxxxx> wrote:
>I noticed that "Ctrl-A" at the console seems to dump me into the
>kernel debugger.
Only on serial consoles.
>Is there any way to turn this behaviour off? The program that I
>use to monitor the kernel on our fileservers via the serial port
>uses "Ctrl-A" as a command character, and I'm afraid that I'm
>going to accidentally type it twice in a row sometime, sending a
>"Ctrl-A" character down the wire...
echo "0" > /proc/sys/kernel/kdb, but that has the disadvantage that you
cannot invoke kdb when the machine is hung. The best option is to edit
drivers/char/serial.c and set kdb_serial_str to something different,
some people like static char kdb_serial_str[] = "\eKdB"; (escape KdB)
which is not something you type by mistake.
|