Re: logging on kernel panic

From: Jiri Kosina
Date: Wed Jun 13 2012 - 09:54:30 EST


On Wed, 13 Jun 2012, Alan Cox wrote:

> > Hi everybody
> > If a system receives kernel panic during boot, will it be logged somewhere?
>
> Often not.. especially if it is fatal. Look up netconsole however.

Well your machine's BIOS can still be providing non-volatile sotrage which
under recent kernels registers itself with 'pstore', and you can get the
dmesg+panic from there then (provided you have all the necessary bits,
such as APEI, compiled in and enabled).

--
Jiri Kosina
SUSE Labs

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/