public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Mike Snitzer <snitzer@gmail.com>
Cc: Dave Anderson <anderson@redhat.com>,
	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
Subject: Re: BISECTED: Re: source line numbers with x86_64 modules?
Date: Tue, 27 Jan 2009 11:38:00 -0800	[thread overview]
Message-ID: <m18wowczfr.fsf@fess.ebiederm.org> (raw)
In-Reply-To: <170fa0d20901270909v45bec3bao38944a9aca6347d9@mail.gmail.com> (Mike Snitzer's message of "Tue\, 27 Jan 2009 12\:09\:19 -0500")

Mike Snitzer <snitzer@gmail.com> writes:

> [I've trimmed the wide cc distribution that was inherited when I
> forked a different thread]
>
> On Mon, Jan 12, 2009 at 10:19 PM, Eric W. Biederman
> <ebiederm@xmission.com> wrote:
>> "Mike Snitzer" <snitzer@gmail.com> writes:
>>>
>>> Now if only I could fix line numbers when debugging crashes in x86_64
>>> modules with the crash utility! :)
>>
>> It's a userspace problem...
>>
>> All of the little usability things are userspace problems.
>>
>> I won't claim that it is trivial because it is a userspace problem, at the
> same
>> time there is no reason to wait for any kernel features to merge etc.  Someone
>> just has to scratch an itch and go fix it.
>
> Yes, the crash utility (userspace) is clearly having problems getting
> line number for symbols in x86_64 modules.  But I finally took some
> time to bisect the point in the kernel where the crash utility first
> started to fail, it appears to be:
>
> commit 7460ed2844ffad7141e30271c0c3da8336e66014
> Author: john stultz <johnstul@us.ibm.com>
> Date:   Fri Feb 16 01:28:21 2007 -0800
>
> I used version 4.0-7.6 of the crash utility to test if each commit was
> good or bad.  I simply checked if ext3's module had correct line
> number info for the ext3_get_blocks_handle symbol with: sym
> ext3_get_blocks_handle

Weird.  That patch doesn't appear to affect anything in that area.
So my stab in the dark is that there is something in vmlinux that
crash doesn't know how to cope with.

> I tried to revert 7460ed2844ffad7141e30271c0c3da8336e66014 from
> v2.6.21 but it had conflicts that I've not yet been able to put
> adequate time to resolving.
>
> That aside, I'd be very interested to know how/where this commit is
> impacting the crash utility.  Has alignment of some module metadata
> structure been altered and that is the problem?  This isn't my area of
> expertise but I have to believe others may have useful insight.

Eric

  reply	other threads:[~2009-01-27 19:38 UTC|newest]

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

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=m18wowczfr.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