Re: logging on kernel panic

From: Jiri Kosina
Date: Thu Jun 14 2012 - 04:03:05 EST


On Wed, 13 Jun 2012, Mahmood Naderan wrote:

> >and you can get the dmesg+panic from there
>  Sorry where? in the bios?

Read Documentation/ABI/testing/pstore in the kernel sources.

> @Cong:
> >The kernel log may not hit /var/log/syslog when kernel panics,
> Can I ask why. Just before a panic, kernel is still alive and can log.

At the point of panic, the machine is too dead to be able to perform such
a complex operation as writing to filesystem.

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