Pergunta

I'm trying to analyze a Linux kernel panic on openSUSE 11.3 using kdump and the crash utility. The system is successfully creating the vmcore file, but when I go to analyze it, crash complains about the lack of symbols.

# crash -s vmlinux-2.6.34-12-desktop.gz vmcore
crash: vmlinux-2.6.34-12-desktop.gz: no debugging data available
crash: vmlinux-2.6.34-12-desktop.debug: debuginfo file not found

crash: either install the appropriate kernel debuginfo package, or
       copy vmlinux-2.6.34-12-desktop.debug to this machine

The system is running a stock desktop kernel

# uname -r
2.6.34-12-desktop

and has the kernel-devel and kernel-desktop-devel packages installed. Does some other package have the debug symbols (similar to Red Hat's kernel-debuginfo rpm) or is there another approach / kernel I should be using?

Foi útil?

Solução

The symbols for openSUSE are named similarly to Red Hat and variants (CentOS, Fedora, ...) but live in a different repository. For this example, the vmlinux symbols are in the kernel-desktop-devel-debuginfo package, but practically, you'd probably also want to grab the kernel-desktop-debuginfo for the module symbols.

Outras dicas

Load the "kernel-debug-devel" package for your kernel.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top