Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
crash can not read files generated with --memory-only option for virsh dump
Version-Release number of selected component:
Host:
kernel-3.10.0-666.el7.x86_64
libvirt-3.2.0-5.virtcov.el7.x86_64
crash-7.1.9-2.el7.x86_64
kernel-debug-3.10.0-666.el7.x86_64
kernel-debuginfo-3.10.0-666.el7.x86_64
kernel-debuginfo-common-x86_64-3.10.0-666.el7.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.9.x86_64
Guest:
kernel-3.10.0-666.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Start and dump the guest
# virsh dump generic-3 --memory-only /tmp/generic-3.raw
Domain generic-3 dumped to /tmp/generic-3.raw
2.check the dump info
# crash /usr/lib/debug/lib/modules/3.10.0-666.el7.x86_64/vmlinux /tmp/generic-3.raw
Actual results:
crash 7.1.9-2.el7
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.
WARNING: cannot determine physical base address: defaulting to 0
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 "x86_64-unknown-linux-gnu"...
crash: read error: kernel virtual address: 656c69663a6f666e type: "possible"
WARNING: cannot read cpu_possible_map
crash: read error: kernel virtual address: c040001a type: "present"
WARNING: cannot read cpu_present_map
crash: /usr/lib/debug/lib/modules/3.10.0-666.el7.x86_64/vmlinux and /tmp/generic-3.raw do not match!
Usage:
crash [OPTION]... NAMELIST MEMORY-IMAGE[@ADDRESS] (dumpfile form)
crash [OPTION]... [NAMELIST] (live system form)
Enter "crash -h" for details.
Expected Results:
Crash utility succeeds in reading the file generated with 'virsh dump --memory-only'.