public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockrwd@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: problems debugging panic with gdb, kdump, and vmcore
Date: Tue, 21 Jul 2009 10:52:03 -0600	[thread overview]
Message-ID: <4A65F233.9030605@gmail.com> (raw)
In-Reply-To: <f488382f0907202146m6d124de9w19c13222690718b9@mail.gmail.com>

On 07/20/2009 10:46 PM, Steven Noonan wrote:
> Hi folks,
>
> I've got a kernel panic that is easily reproducible (I am 99% sure
> that 2.6.30.2 itself isn't to blame, it's the out-of-tree drm module I
> built from here: http://cgit.freedesktop.org/mesa/drm/). I could just
> follow the stack trace, but I'd like to learn how to use kexec/kdump
> to debug this. So far, I've got kexec successfully loading a kernel on
> a panic, and I'm able to copy the vmcore out of /proc to someplace
> permanent, but trying to use gdb on it gives very strange results. I
> don't know what I'm doing wrong. I've rebuilt the kernel multiple
> times and ensured that ccache is cleared each time just in case that
> might interfere. Here's what I'm getting with gdb:
>
>
> Alcarin linux # pwd
> /usr/src/linux
> Alcarin linux # gdb vmlinux /var/tmp/vmcore
> GNU gdb 6.8
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-linux-gnu"...
>
> warning: exec file is newer than core file.

Why is the vmlinux file newer than the vmcore file?


  reply	other threads:[~2009-07-21 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-21  4:46 problems debugging panic with gdb, kdump, and vmcore Steven Noonan
2009-07-21 16:52 ` Robert Hancock [this message]
2009-07-21 17:22 ` Durga Prasad

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=4A65F233.9030605@gmail.com \
    --to=hancockrwd@gmail.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