Debugging the linux kernel core dump
Mulyadi Santosa
mulyadi.santosa at gmail.com
Sat Aug 6 00:23:49 EDT 2011
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.
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
More information about the Kernelnewbies
mailing list