public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Dave Anderson <anderson@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>, Bernhard Walle <bwalle@suse.de>,
	Ingo Molnar <mingo@elte.hu>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	crash-utility@redhat.com, Mike Snitzer <snitzer@gmail.com>
Subject: Re: BISECTED: Re: source line numbers with x86_64 modules?
Date: Tue, 27 Jan 2009 13:55:34 -0800	[thread overview]
Message-ID: <m1eiyobei1.fsf@fess.ebiederm.org> (raw)
In-Reply-To: <1457226967.823651233090019084.JavaMail.root@zmail02.collab.prod.int.phx2.redhat.com> (Dave Anderson's message of "Tue\, 27 Jan 2009 16\:00\:19 -0500 \(EST\)")

Dave Anderson <anderson@redhat.com> writes:

> Actually it's not a problem with the vmlinux file, but rather with kernel
> module object files.  The crash utility has an embedded gdb module which
> is invoked as "gdb vmlinux", and to get line numbers, the crash utility
> simply uses the relevant built-in gdb function to get them.  And line
> numbers work fine with the base kernel code from the vmlinux file.
>
> The debuginfo data of kernel modules can be subsequently added to the
> crash session by doing a gdb "add-symbol-file" command for any or all
> kernel modules.  But getting correct line number information for kernel
> modules has been a crap-shoot in the past, depending upon architecture
> and/or kernel version.  For example, they don't work with 2.6.9-based
> RHEL4 x86_64 kernel modules, but work fine with 2.6.18-based RHEL5 x86_64
> kernels.
>
> Looking at Mike's suspect kernel patch list, I don't see anything that
> would have any relationship to the issue.  Perhaps there was a build tool
> change during the same timeframe? 

It look like Mike just built a series of kernels and had a problem,
which should preclude a tool change.

That said.  Does this feature of crash work in 2.6.29?  If not is
there enough interest to track this down, and fix it if it is a kernel
bug?

If we are going to be using these tools we need them working on the
latest and greatest kernels, not some weird enterprise branch, for
fuddy duddies.

Eric

  parent reply	other threads:[~2009-01-27 21:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <952123357.823421233089955989.JavaMail.root@zmail02.collab.prod.int.phx2.redhat.com>
2009-01-27 21:00 ` BISECTED: Re: source line numbers with x86_64 modules? Dave Anderson
2009-01-27 21:22   ` Arjan van de Ven
2009-01-27 21:55   ` Eric W. Biederman [this message]
2009-01-27 23:41     ` Mike Snitzer
     [not found] <1298337055.846811233094677227.JavaMail.root@zmail02.collab.prod.int.phx2.redhat.com>
2009-01-27 22:20 ` Dave Anderson
2009-01-27 17:09 Mike Snitzer
2009-01-27 19:38 ` Eric W. Biederman

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=m1eiyobei1.fsf@fess.ebiederm.org \
    --to=ebiederm@xmission.com \
    --cc=anderson@redhat.com \
    --cc=andi@firstfloor.org \
    --cc=bwalle@suse.de \
    --cc=crash-utility@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=snitzer@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox