On Thu, 2006-11-02 at 00:13 +0100, Jean-Michel Pouré wrote:
> * How do I enable console debugging in the kernel. I heard it was
> possible, after a crash, to hit a few keys and display an error message.

I find the ethernet console to be most convenient if you have a second
PC.
 1. Boot into single user mode
 2. load the netconsole module with appropriate parameters
 3. on your other PC, run: netcat -u -l -p <port>
 4. exit single user mode

Crash/debug info should appear on the netcat terminal.

$KERNEL/Documentation/networking/netconsole.txt

$ modinfo netconsole
filename:       /lib/modules/2.6.18-1-686/kernel/drivers/net/netconsole.ko
author:         Maintainer: Matt Mackall <[EMAIL PROTECTED]>
description:    Console driver for network interfaces
license:        GPL
vermagic:       2.6.18-1-686 SMP mod_unload 686 REGPARM gcc-4.1
depends:
parm:           netconsole: [EMAIL 
PROTECTED]/[dev],[tgt-port]@<tgt-ip>/[tgt-macaddr]
 (string)


-s



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to