i386 dumps unusable w/ kernels > 4.4

Bug #1699874 reported by dann frazier
6
This bug affects 1 person
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-i386:/var/crash/201706221838# crash /usr/lib/debug/boot/vmlinux-4.10.0-24-generic dump.201706221838

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://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 "i686-pc-linux-gnu"...

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/debug/boot/vmlinux-4.10.0-24-generic and dump.201706221838 do not match!

Usage:

  crash [OPTION]... NAMELIST MEMORY-IMAGE[@ADDRESS] (dumpfile form)
  crash [OPTION]... [NAMELIST] (live system form)

Enter "crash -h" for details.

Tags: zesty
Revision history for this message
dann frazier (dannf) wrote :

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/201706221906# 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
Copyright (C) 2013 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 "i686-pc-linux-gnu"...

crash: cannot determine base kernel version
WARNING: cannot read linux_banner string
crash: /usr/lib/debug/boot/vmlinux-4.10.0-24-generic and vmcore.201706221906 do not match!

Usage:

  crash [OPTION]... NAMELIST MEMORY-IMAGE[@ADDRESS] (dumpfile form)
  crash [OPTION]... [NAMELIST] (live system form)

Enter "crash -h" for details.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1699874

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: zesty
dann frazier (dannf)
Changed in linux (Ubuntu):
status: Incomplete → New
Changed in linux (Ubuntu):
status: New → Incomplete
dann frazier (dannf)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.