Mailinglist Archive: opensuse-bugs (6914 mails)

< Previous Next >
[Bug 679092] kernel-desktop debuginfo missing - unable to debug kernel crash

https://bugzilla.novell.com/show_bug.cgi?id=679092

https://bugzilla.novell.com/show_bug.cgi?id=679092#c2


Jon Nelson <jnelson-suse@xxxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|jnelson-suse@xxxxxxxxxxx |

--- Comment #2 from Jon Nelson <jnelson-suse@xxxxxxxxxxx> 2011-03-14 15:16:20
UTC ---
(In reply to comment #1)
(In reply to comment #0)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b12) Gecko/20110222
Firefox/4.0b12

My openSUSE 11.4 install (kernel-desktop) oopses (almost) every time I
unplug
my USB audio headset.

I made a kernel crash, but 'crash' claims that the debuginfo can't be found:

worklaptop:/var/crash # crash
2011-03-11-19\:29/System.map-2.6.37.1-1.2-desktop
2011-03-11-19\:29/vmlinux-2.6.37.1-1.2-desktop 2011-03-11-19\:29/vmcore
...
crash: 2011-03-11-19:29/vmlinux-2.6.37.1-1.2-desktop: no debugging data
available

Where does this path come from? Does
gunzip -k /boot/vmlinux-2.6.37.1-1.2-desktop.gz
help?

The path? /var/crash/2011-03-11-19:29/ is a directory. it came from the kdump
package after the kernel crashed.

Within that directory are the following files (all placed there by kdump):

README.txt
System.map-2.6.37.1-1.2-desktop
vmcore
vmlinux-2.6.37.1-1.2-desktop.gz

vmlinux-... is an exact copy of the file from /boot.
I tried 'crash' as it was provided, and also after I had gunzip'd it.

an strace of 'crash' shows that it is failing to find the right debug symbols:

..
access("/usr/lib/debug/.build-id/75/6e58827a1e0c4f90c96272f71ccd2e64161fe1.debug",
F_OK) = -1 ENOENT (No such file or directory)
lseek(5, 18980864, SEEK_SET) = 18980864
read(5, "OspWG\0OspWg\0OSpWG\0GCC: (SUSE Lin"..., 4096) = 4096
lstat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/var/crash", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
lstat("/var/crash/2011-03-11-19:29", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
open("/var/crash/2011-03-11-19:29/vmlinux-2.6.37.1-1.2-desktop.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/crash/2011-03-11-19:29/.debug/vmlinux-2.6.37.1-1.2-desktop.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/debug//var/crash/2011-03-11-19:29/vmlinux-2.6.37.1-1.2-desktop.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/debug/var/crash/2011-03-11-19:29/vmlinux-2.6.37.1-1.2-desktop.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
close(5) = 0
munmap(0x7f0b87a56000, 4096) = 0
open("/var/crash/2011-03-11-19:29/.gdb_history", O_RDONLY) = -1 ENOENT (No such
file or directory)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
write(1, "\n", 1
) = 1
write(1, "crash: vmlinux-2.6.37.1-1.2-desk"..., 65crash:
vmlinux-2.6.37.1-1.2-desktop: no debugging data available
) = 65
write(1, "\n", 1
) = 1
exit_group(1) = ?



as noted in the initial report, I do have the debuginfo packages installed.

--
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.

< Previous Next >
References