xfs
[Top] [All Lists]

Re: Kernel Debugger

To: Andrew Klaassen <ak@xxxxxxx>
Subject: Re: Kernel Debugger
From: Keith Owens <kaos@xxxxxxxxxxxxxxxxx>
Date: Thu, 19 Jul 2001 11:19:35 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Your message of "Wed, 18 Jul 2001 19:16:35 -0400." <20010718191635.A1810@key.dkp.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
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.



<Prev in Thread] Current Thread [Next in Thread>