https://bugzilla.novell.com/show_bug.cgi?id=679092 https://bugzilla.novell.com/show_bug.cgi?id=679092#c11 Petr Tesařík <ptesarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ptesarik@novell.com |mmarek@novell.com --- Comment #11 from Petr Tesařík <ptesarik@novell.com> 2011-03-31 09:52:58 UTC --- It turns out that crash already has "/usr/lib/debug/boot" in the search path. But there is problem with kernel debuginfo packaging. Crash does search for the debuginfo file, but ONLY if the vmlinux file contains no symbols. However, this is not the case with openSUSE vmlinux: $ file /boot/vmlinux-2.6.37.1-1.2-desktop /boot/vmlinux-2.6.37.1-1.2-desktop: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped ^^^^^^^^^^^^ And, indeed, there is a symbol table in that file. So crash does nothing, assuming that the embedded gdb can handle the vmlinux file. But gdb has a different search logic... Anyway, the gdb logic would easily find the debuginfo file by its build-id. The vmlinux file contains a valid NT_GNU_BUILD_ID note: Contents of section .notes: ffffffff8152d288 04000000 14000000 03000000 474e5500 ............GNU. ffffffff8152d298 756e5882 7a1e0c4f 90c96272 f71ccd2e unX.z..O..br.... ffffffff8152d2a8 64161fe1 d... The strace output actually shows that crash tries to open the debuginfo for build-id 756e58827a1e0c4f90c96272f71ccd2e64161fe1. Sadly, the corresponding file is missing under /usr/lib/debug/.build-id/. There are two ways of fixing it: 1. Strip /boot/vmlinux-$ver (quick, but a bit hackish) 2. Provide the missing symlink to /usr/lib/debug/boot/vmlinux-$ver.debug under /usr/lib/debug/.build-id/. Michal, I find the packaging quite confusing: 1. /boot/vmlinux-2.6.37.1-1.2-desktop.gz is contained in all of these packages: - kernel-desktop-2.6.37.1-1.2.2.x86_64.rpm - kernel-desktop-base-2.6.37.1-1.2.2.x86_64.rpm - kernel-desktop-devel-2.6.37.1-1.2.2.x86_64.rpm 2. /usr/lib/debug/boot/vmlinux-2.6.37.1-1.2-desktop.debug is only in kernel-desktop-devel-debuginfo-2.6.37.1-1.2.2.x86_64.rpm 3. kernel-desktop-devel-debuginfo does not contain any other files most notably the link under /usr/lib/debug/.build-id is missing 4. kernel-desktop-devel-debuginfo does not provide debuginfo(build-id) = 756e58827a1e0c4f90c96272f71ccd2e64161fe1 this looks like an omission to me, because all other debuginfo packages have the correct provides (e.g. for kernel modules). Can you please fix this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.