Trying to run crash live on a recent rawhide kernel. When I do so, I get: ------------------------[snip]------------------------- # crash crash 5.1.8-1.fc17 Copyright (C) 2002-2011 Red Hat, Inc. Copyright (C) 2004, 2005, 2006 IBM Corporation Copyright (C) 1999-2006 Hewlett-Packard Co Copyright (C) 2005, 2006 Fujitsu Limited Copyright (C) 2006, 2007 VA Linux Systems Japan K.K. Copyright (C) 2005 NEC Corporation Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc. Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc. This program is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Enter "help copying" to see the conditions. This program has absolutely no warranty. Enter "help warranty" for details. GNU gdb (GDB) 7.0 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu"... gdb called without error_hook: Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/lib/debug/lib/modules/3.1.0-0.rc7.git0.2.fc17.x86_64/vmlinux] Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/lib/debug/lib/modules/3.1.0-0.rc7.git0.2.fc17.x86_64/vmlinux] crash: /usr/lib/debug/lib/modules/3.1.0-0.rc7.git0.2.fc17.x86_64/vmlinux: no debugging data available ------------------------[snip]------------------------- The machine is running: crash-5.1.8-1.fc17.x86_64 kernel-3.1.0-0.rc7.git0.2.fc17.x86_64 kernel-debuginfo-common-x86_64-3.1.0-0.rc7.git0.2.fc17.x86_64 kernel-debuginfo-3.1.0-0.rc7.git0.2.fc17.x86_64 ...and kernel debuginfo packages seem to be correctly installed.
Yeah, I just became aware of this a couple days ago. It's because gcc-4.6.x has started using -gdwarf4 by default, and the embedded gdb-7.0 version within crash doesn't support it. It will require an upgrade of the embedded gdb. Work is in progress...
Information for build crash-6.0.0-1.fc17: http://koji.fedoraproject.org/koji/buildinfo?buildID=270760
This bug also affects F16. Can you please provide an update for F16 as well?
(In reply to comment #3) > This bug also affects F16. Can you please provide an update for F16 as well? Yeah, although I might use crash-6.0.1 (or later). I usually don't get too active on current Fedora releases because any kernel upgrade can conceivably introduce something that breaks the crash utility.
crash-6.0.2-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/crash-6.0.2-1.fc16
crash-6.0.2-1.fc16 has been pushed to the Fedora 16 testing repository.
crash-6.0.2-1.fc16 has been pushed to the Fedora 16 stable repository.