From: Christian Borntraeger <linux-kernel@borntraeger.net>
To: linux-kernel@vger.kernel.org
Cc: "shabanip" <shabanip@avapajoohesh.com>
Subject: Re: how to capture kernel panics
Date: Fri, 25 Feb 2005 15:17:56 +0100 [thread overview]
Message-ID: <200502251517.56254.linux-kernel@borntraeger.net> (raw)
In-Reply-To: <52765.69.93.110.242.1109288148.squirrel@69.93.110.242>
shabanip wrote:
> is there any way to capture and log kernel panics on disk or ...?
In former times, the Linux kernel tried to sync in the panic function. (If
the panic did not happen in interrupt context) Unfortunately this had
severe side effects in cases where the panic was triggered by file system
block device code or any other part which is necessary for syncing. In most
cases the call trace never made it onto disk anyway. So currently the
kernel does not support saving a panic.
Apart from using a serial console, you might have a look at several
kexec/kdump/lkcd tools where people are working on being able to dump the
memory of a paniced kernel.
cheers
Christian
next prev parent reply other threads:[~2005-02-25 14:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-24 23:35 how to capture kernel panics shabanip
2005-02-25 3:08 ` James Colannino
2005-02-25 13:26 ` Trond Hasle Amundsen
2005-02-25 14:17 ` Christian Borntraeger [this message]
2005-02-25 14:42 ` Jeff Moyer
2005-02-25 15:07 ` shabanip
2005-02-25 15:28 ` Jeff Moyer
2005-02-25 15:51 ` shabanip
2005-02-25 15:48 ` Jeff Moyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200502251517.56254.linux-kernel@borntraeger.net \
--to=linux-kernel@borntraeger.net \
--cc=linux-kernel@vger.kernel.org \
--cc=shabanip@avapajoohesh.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.