mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjanv@redhat.com>
To: Chris Johns <cbjohns@mn.rr.com>
Cc: linux-kernel@vger.kernel.org, kaos@oss.sgi.com
Subject: Re: Dumping kernel log (dmesg) and backtraces after a panic
Date: Sat, 21 Aug 2004 09:40:13 +0200	[thread overview]
Message-ID: <1093074013.2792.3.camel@laptop.fenrus.com> (raw)
In-Reply-To: <C14859EA-F318-11D8-9C0E-000A958E2366@mn.rr.com>

[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]

On Sat, 2004-08-21 at 04:21, Chris Johns wrote:
> We're using Red Hat EL3 Linux (2.4.21 base kernel plus 300 or so Red 
> Hat and/or community patches) and I'm dearly missing KDB already, since 
> we previously used 2.4.21 from kernel.org and applied the appropriate 
> KDB patch(es). Now with EL3, I'm not even sure what the right patch for 
> KDB would be.
> 
> The problem is how to debug a hang or panic without KDB. Specifically, 
> I'd like to dump out real backtraces of all (or selected) processes 
> instead of the pseudo-backtraces that the panic or Alt-Sysrq-t 
> provides, and I'd like to dump out the kernel log buffer (dmesg) after 
> a hang or panic.
> 
> When I say "pseudo-backtraces", it seems that the oops/sysrq processing 
> picks everything that looks like a text address from the stack of each 
> thread (or the thread that caused the panic) and formats it, rather 
> than walking the stack back correctly like KDB's 'bt' command does. And 
> I don't know of any way of getting the 'dmesg' output after a 
> hang/panic other than by using KDB.


why not use netdump and then analyze the dump on another machine with
"crash" (a gdb variant) ?

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2004-08-21  7:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-21  2:21 Chris Johns
2004-08-21  6:54 ` Willy Tarreau
2004-08-21  7:40 ` Arjan van de Ven [this message]

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=1093074013.2792.3.camel@laptop.fenrus.com \
    --to=arjanv@redhat.com \
    --cc=cbjohns@mn.rr.com \
    --cc=kaos@oss.sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®