i386 dumps unusable w/ kernels > 4.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
crash (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
kexec-tools (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If you capture a kernel crashdump on i386 after 4.4 (4.8 & 4.10 tested), they cannot be used by debugged with crash (see log below). crash reports that the dump & the debug kernel do not match, even though they are from the same build. This works fine on amd64.
root@kdump-
crash 7.1.8
Copyright (C) 2002-2016 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011 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.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "i686-pc-
crash: page excluded: kernel virtual address: c1c344b4 type: "possible"
WARNING: cannot read cpu_possible_map
crash: page excluded: kernel virtual address: c1c344ac type: "present"
WARNING: cannot read cpu_present_map
crash: page excluded: kernel virtual address: c1c344b0 type: "online"
WARNING: cannot read cpu_online_map
crash: page excluded: kernel virtual address: c1c344a8 type: "active"
WARNING: cannot read cpu_active_map
crash: page excluded: kernel virtual address: c1b7dd64 type: "pv_init_ops"
crash: page excluded: kernel virtual address: c1d7a820 type: "shadow_timekeeper xtime_sec"
crash: page excluded: kernel virtual address: c1b6a0a4 type: "init_uts_ns"
crash: /usr/lib/
Usage:
crash [OPTION]... NAMELIST MEMORY-
crash [OPTION]... [NAMELIST] (live system form)
Enter "crash -h" for details.
Changed in linux (Ubuntu): | |
status: | Incomplete → New |
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
In order to eliminate makedumpfile as the cause, I moved the makedumpfile binary out of the way so that kdump-tools would fallback to just copying all of /proc/vmcore. crash still reports an error, albeit a different one:
root@kdump- i386:/mnt/ crash/201706221 906# crash /usr/lib/ debug/boot/ vmlinux- 4.10.0- 24-generic vmcore.201706221906
crash 7.1.8
Copyright (C) 2002-2016 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011 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.6 gnu.org/ licenses/ gpl.html> linux-gnu" ...
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "i686-pc-
crash: cannot determine base kernel version debug/boot/ vmlinux- 4.10.0- 24-generic and vmcore.201706221906 do not match!
WARNING: cannot read linux_banner string
crash: /usr/lib/
Usage:
crash [OPTION]... NAMELIST MEMORY- IMAGE[@ ADDRESS] (dumpfile form)
crash [OPTION]... [NAMELIST] (live system form)
Enter "crash -h" for details.