Bug 1528542

Summary: makedumpfile failed to save vmcore for 4.15-rc* kernels
Product: [Fedora] Fedora Reporter: Dave Young <ruyang>
Component: kexec-toolsAssignee: Dave Young <ruyang>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: bhe, jorti, ruyang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kexec-tools-2.0.17-2.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-02 10:52:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
makedumpfile -l --message-level 31 -d 31 none

Description Dave Young 2017-12-22 05:43:09 UTC
Description of problem:

Happened on kvm guest:

[root@* tmp]# ./makedumpfile -l --message-level 31 -d 31 vmcore vmcore.1
sadump: does not have partition header
sadump: read dump device as unknown format
sadump: unknown format
LOAD (0)
  phys_start : 1400000
  phys_end   : 1ff5000
  virt_start : ffffffff81000000
  virt_end   : ffffffff81bf5000
LOAD (1)
  phys_start : 1000
  phys_end   : a0000
  virt_start : ffff880000001000
  virt_end   : ffff8800000a0000
LOAD (2)
  phys_start : 100000
  phys_end   : 17000000
  virt_start : ffff880000100000
  virt_end   : ffff880017000000
LOAD (3)
  phys_start : 21000000
  phys_end   : 23e68018
  virt_start : ffff880021000000
  virt_end   : ffff880023e68018
LOAD (4)
  phys_start : 23e68018
  phys_end   : 23ea7058
  virt_start : ffff880023e68018
  virt_end   : ffff880023ea7058
LOAD (5)
  phys_start : 23ea7058
  phys_end   : 23ea8018
  virt_start : ffff880023ea7058
  virt_end   : ffff880023ea8018
LOAD (6)
  phys_start : 23ea8018
  phys_end   : 23eb1858
  virt_start : ffff880023ea8018
  virt_end   : ffff880023eb1858
LOAD (7)
  phys_start : 23eb1858
  phys_end   : 24262000
  virt_start : ffff880023eb1858
  virt_end   : ffff880024262000
LOAD (8)
  phys_start : 24263000
  phys_end   : 243b1000
  virt_start : ffff880024263000
  virt_end   : ffff8800243b1000
LOAD (9)
  phys_start : 243b3000
  phys_end   : 245e2000
  virt_start : ffff8800243b3000
  virt_end   : ffff8800245e2000
LOAD (10)
  phys_start : 24634000
  phys_end   : 256b4000
  virt_start : ffff880024634000
  virt_end   : ffff8800256b4000
LOAD (11)
  phys_start : 25718000
  phys_end   : 257e0000
  virt_start : ffff880025718000
  virt_end   : ffff8800257e0000
Linux kdump
page_size    : 4096

max_mapnr    : 257e0
There is enough free memory to be done in one cycle.

Buffer size for the cyclic mode: 38392
The kernel version is not supported.
The makedumpfile operation may be incomplete.

num of NODEs : 1


Memory type  : SPARSEMEM_EX

mem_map (0)
  mem_map    : ffff880024255000
  pfn_start  : 0
  pfn_end    : 8000
mem_map (1)
  mem_map    : 0
  pfn_start  : 8000
  pfn_end    : 10000
mem_map (2)
  mem_map    : 0
  pfn_start  : 10000
  pfn_end    : 18000
mem_map (3)
  mem_map    : 0
  pfn_start  : 18000
  pfn_end    : 20000
mem_map (4)
  mem_map    : 0
  pfn_start  : 20000
  pfn_end    : 257e0
mmap() is available on the kernel.
Checking for memory holes                         : [  0.0 %] /                Checking for memory holes                         : [100.0 %] |                  STEP [Checking for memory holes  ] : 0.000314 seconds
__vtop4_x86_64: Can't get a valid pte.
readmem: Can't convert a virtual address(ffff880024262000) to physical address.
readmem: type_addr: 0, addr:ffff880024262000, size:32768
__exclude_unnecessary_pages: Can't read the buffer of struct page.
create_2nd_bitmap: Can't exclude unnecessary pages.

makedumpfile Failed.
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Juan Orti Alcaine 2018-02-13 21:47:12 UTC
Created attachment 1395674 [details]
makedumpfile -l --message-level 31 -d 31

I'm unable to capture a vmcore in F27 in a physical machine.

My versions are:

kernel-4.14.13-300.fc27.x86_64
kexec-tools-2.0.15-12.fc27.1.x86_64

Comment 2 Fedora End Of Life 2018-02-20 15:32:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 3 Fedora Update System 2018-04-28 07:09:10 UTC
kexec-tools-2.0.17-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e0cc897425

Comment 4 Fedora Update System 2018-04-29 09:41:40 UTC
kexec-tools-2.0.17-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e0cc897425

Comment 5 Fedora Update System 2018-05-02 10:52:10 UTC
kexec-tools-2.0.17-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.