Messages in this thread | | | Date | Wed, 13 Jun 2012 07:52:36 -0700 (PDT) | From | Mahmood Naderan <> | Subject | Re: logging on kernel panic |
| |
@jiri: >and you can get the dmesg+panic from there Sorry where? in the bios?
@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. Isn't that?
// Naderan *Mahmood;
----- Original Message ----- From: Jiri Kosina <jkosina@suse.cz> To: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Mahmood Naderan <nt_mahmood@yahoo.com>; "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Sent: Wednesday, June 13, 2012 6:24 PM Subject: Re: logging on kernel panic
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |