Re: Aiee... (2.1.8[156])

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Sun, 15 Feb 1998 00:07:39 +0000 (GMT)


On 14 Feb 1998, Pierfrancesco Caci wrote:

> > > If someone knows how to get the kernel to record the panic messages
> > > *before* crashing please tell me <g>
> >
> > If you can, try to get (and enable) a serial console. This needn't be
> > a "real" VTxxx; an old DOS box running kermit, and a Win3.1 box with
> > terminal should be enough to do the job ok.
>
> This is a fine tip, which reminds me that I have an ethernet LAN here,
> so I'll see if I can redirect the output to the other pc. I think it's
> a syslog business, isn't it? I'm going to look at the manuals but if
> someone has already done this and can provide me something it would be
> easier.

The problem with a fatal panic is that if the machine isn't alive, then
you'll have a pretty hard time getting the messages passed from printk ->
klogd -> syslogd.

One pretty easy hack is to add udelay(1000) or so into the printk
routine...

Matthew.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu