[Bug 679092] New: 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#c0 Summary: kernel-desktop debuginfo missing - unable to debug kernel crash Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- Blocker: --- 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 worklaptop:/var/crash # rpm -qa | grep kernel-desktop kernel-desktop-2.6.37.1-1.2.2.x86_64 kernel-desktop-devel-2.6.37.1-1.2.2.x86_64 kernel-desktop-devel-debuginfo-2.6.37.1-1.2.2.x86_64 kernel-desktop-debuginfo-2.6.37.1-1.2.2.x86_64 kernel-desktop-base-2.6.37.1-1.2.2.x86_64 kernel-desktop-base-debuginfo-2.6.37.1-1.2.2.x86_64 worklaptop:/var/crash # What's more, boot.kdump is *not* in /etc/init.d/boot.d and trying to enable it results in this: worklaptop:/var/crash # chkconfig --add boot.kdump insserv: FATAL: service network is missed in the runlevels 4 to use service SuSEfirewall2_setup insserv: exiting now! /sbin/insserv failed, exit code 1 boot.kdump 0:off 1:off 2:off 3:off 4:off 5:off 6:off worklaptop:/var/crash # finally, 'openSUSE 11.4' is missing from the Operating System dropdown in bugzilla. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c1
Jiri Slaby
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?
What's more, boot.kdump is *not* in /etc/init.d/boot.d
and trying to enable it results in this:
worklaptop:/var/crash # chkconfig --add boot.kdump insserv: FATAL: service network is missed in the runlevels 4 to use service SuSEfirewall2_setup insserv: exiting now!
Please report that as a separate bug. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c2
Jon Nelson
(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.
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c3
Jiri Slaby
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)
Aha, I see. So either kdump doesn't put there the debuginfo or crash looks at wrong places. Petr/Bernard, what's the correct way to fix this (in crash or in kdump)? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c4
--- Comment #4 from Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c5
--- Comment #5 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c6
--- Comment #6 from Jiri Slaby
Now that I can look at the crash, should I just file a new bug for the crasher?
Yes, please. And make a note here. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c7
--- Comment #7 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c8
--- Comment #8 from Bernhard Walle
symlinking it worked!
Does this imply a bug in the 'kdump' or 'crash' packages, or in the -debuginfo package?
It's no bug in crash, it works as designed[tm]. But I wonder why kdump didn't copy the debuginfo, too. Can you please attach /etc/sysconfig/kdump (you can remove the comments and empty lines if you like)? Did you install the debuginfo package *before* or *after* the crash has been created? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c9
--- Comment #9 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c10
Petr Tesařík
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c11
Petr Tesařík
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c12
--- Comment #12 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=679092
https://bugzilla.novell.com/show_bug.cgi?id=679092#c13
Michal Marek
participants (1)
-
bugzilla_noreply@novell.com