Thread (7 messages) flat view 7 messages, 3 authors, 2011-08-06

Debugging the linux kernel core dump

From: Mulyadi Santosa <hidden>
Date: 2011-08-06 04:23:49

Hi...

On Fri, Aug 5, 2011 at 12:23, Akash [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help