[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel 2.6.19-rc4 custom debian package

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
 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.


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


Reply to: