mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>,
	Maxim Levitsky <maximlevitsky@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [BUG] i386 relocable kernel breakes /proc/kcore debugging
Date: Mon, 30 Jul 2007 08:23:11 -0600	[thread overview]
Message-ID: <m11weqvuls.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <20070730084116.GA18263@host0.dyn.jankratochvil.net> (Jan Kratochvil's message of "Mon, 30 Jul 2007 10:41:16 +0200")

Jan Kratochvil <jan.kratochvil@redhat.com> writes:

> On Mon, 30 Jul 2007 10:03:03 +0200, Vivek Goyal wrote:
>> On Sat, Jul 28, 2007 at 04:43:43AM +0300, Maxim Levitsky wrote:
> ...
>> > gdb 'thinks' that all kernel symbols are below 0x80000000 , while they are
> at
>> > 0xC000....
>> > 
>> > Turning CONFIG_RELOCATABLE off fixes that, so I assume that is the reason
> for
>> > that.
>> 
>> This is a gdb issue. I had raised it in gdb mailing list some time back.
>> 
>> http://sourceware.org/ml/gdb/2006-08/msg00137.html
>
> There was the patch post:
> 	http://sources.redhat.com/ml/gdb/2006-08/msg00182.html
>
>> What version of gdb you are using? I know it got fixed for gdb shipped
>> with RHEL5. I am not sure about what upstream version of gdb it got fixed
>> in.
>
> It did not make it to the upstream as the patch above is an imperfect one.
> It is fixed in RH gdb-6.5-5 upwards, therefore Fedora 6 + RHEL-5.
> 	http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/gdb/gdb-6.5-bz203661-emit-relocs.patch?root=core

Has anyone looked at the filtering by ignoring SHTSYM_TAB?  The other
approach suggested?  The patch above only works for ET_EXEC because
we can safely ignore everything.

Eric

      parent reply	other threads:[~2007-07-30 14:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200707280443.44048.maximlevitsky@gmail.com>
2007-07-28  1:58 ` Eric W. Biederman
2007-07-30  8:03 ` Vivek Goyal
2007-07-30  8:41   ` Jan Kratochvil
2007-07-30  9:32     ` Maxim Levitsky
2007-07-30 14:23     ` Eric W. Biederman [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=m11weqvuls.fsf@ebiederm.dsl.xmission.com \
    --to=ebiederm@xmission.com \
    --cc=jan.kratochvil@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maximlevitsky@gmail.com \
    --cc=vgoyal@in.ibm.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

all inboxes | Powered by JetHome®