[Crash-utility] Re: [Kgdb-bugreport] Problem getting kgdb to read kernel symbols. addresses shifted?
Dave Anderson
anderson at redhat.com
Mon Oct 1 13:40:23 UTC 2007
> Pete/Piet Delaney wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Derek Atkins wrote:
>>
>> Dave, I thought you would likely know what's going on here.
>> How about helping out Derek? Sounds like a RedHat'ism and
>> I kinda recall your mentioning it and apologizing for it
>> as an unfortunate RedHat directive.
>>
>> - -piet
http://people.redhat.com/anderson/crash.changelog.html#4_0_4_5
>>
>>> ebiederm at xmission.com (Eric W. Biederman) writes:
>>>
>>>
>>>> Derek Atkins <warlord at MIT.EDU> writes:
>>>>
>>>>
>>>>> Well, gdb agrees with System.map, so I'm sure that gdb itself is
>>>>> okay. It's certainly possible that that the kgdb stub is weird,
>>>>> but /proc/kallsyms doesn't match System.map, and THAT'S what's
>>>>> confusing me most of all.
>>>>
>>>>
>>>> Ok. So we must have a relocatable kernel that figures it has been
>>>> relocated. Interesting.
>>>> What is your bootloader?
>>>
>>>
>>> GRUB
>>>
>>>
>>>> What is your kernel version?
>>>
>>>
>>> 2.6.22.5-76_kgdb0.fc7-i686
>>>
>>>
>>>> What is your kernel config?
>>>
>>>
>>> See the attached .config file.
>>>
>>>
>>>> The only time I would expect to see what you are seeing is if
>>>> you are debugging the kdump kernel, which doesn't sound like
>>>> the case.
>>>
>>>
>>> Nope. I started with the Fedora 'i686' config and then patched
>>> in the kgdb patches and configuration.
>>>
>>>
>>>> If we actually have a truly offset kernel then while things
>>>> may not be perfect this is at least expected. I don't think
>>>> I have heard of anyone handling this case very well.
>>>
>>>
>>> :( Like I said before, it SEEMS to work okay by telling GDB
>>> to load in at a different address.
>>>
>>>
>>>>> Which was how long ago? ;)
>>>>
>>>>
>>>> Long enough ago that I don't remember when ;)
>>>
>>>
>>> Heh.
>>>
>>>
>>>> Eric
>>>
>>>
>>> -derek
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> -------------------------------------------------------------------------
>>>
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Kgdb-bugreport mailing list
>>> Kgdb-bugreport at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
>>
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.7 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFG/Z0uJICwm/rv3hoRAl1uAJ9QoR5DhfUGCccgz9KFpEpHkbvaaACdGG2z
>> 9LxB5RdtsUi9IrTKzbPpB1U=
>> =gQee
>> -----END PGP SIGNATURE-----
>
>
>
More information about the Crash-utility
mailing list