Debugging the linux kernel core dump
Akash
email2akashjain at gmail.com
Sat Aug 6 01:06:34 EDT 2011
On Fri, Aug 5, 2011 at 9:23 PM, Mulyadi Santosa
<mulyadi.santosa at gmail.com>wrote:
> Hi...
>
> On Fri, Aug 5, 2011 at 12:23, Akash <email2akashjain at gmail.com> wrote:
> > I think it was not built with -g otherwise the symbols would have been
> there
> > in the vmlinux itself, right ?
> > That is the reason I need to add symbols externally.
> > Please dont ask me to rebuild the kernel, this is vanilla OpenSUSE 11.3
> > symbols and debug kernel should be available somewhere. I just need to
> know
> > how/where to add the symbols. The problem is not reproducible, I need to
> > debug the core which I have on hand.
>
> try to check opensuse repo, see which one provide kinda "debuginfo"
> package for your kernel (at least that's how Fedora/RHEL call it).
> Usually it will be located under /boot with quite obvious name
> (suffixed with "debug" or similar) or you could just try to use
> vmlinux as the symbol file
>
> NB: make sure you use the very same debuginfo package with your
> current kernel version. Any slight difference could yield very
> different symbol addresses.
>
Thanks Malyudi. Thats sounds like a reasonable approach. I did try to search
kernel-debug RPMs for my kernel could not find any. May be I should just
keep looking.
On that note, I wonder what is the difference between kernel-base,
kernel-default, kernel-devel, and similar other RPMs. I guess some contain
binaries, some contain unstripped binaries and some contain soruces/headers.
But which is which ?? I hate distros for creating so many RPMs. They could
have included ALL of this in one RPM and users would not have minded.
->Akash
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110805/c3c46102/attachment-0001.html
More information about the Kernelnewbies
mailing list