lkml.org 
[lkml]   [2005]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: how to capture kernel panics
Date
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
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.099 / U:1.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site