Bug 2269991 - makedumpfile failed when dumping vmcore
Summary: makedumpfile failed when dumping vmcore
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kexec-tools
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Pingfan Liu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2272434
TreeView+ depends on / blocked
 
Reported: 2024-03-18 02:27 UTC by Baoquan He
Modified: 2024-04-08 01:43 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
: 2272434 (view as bug list)
Environment:
Last Closed: 2024-04-08 01:43:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 205866 0 None None None 2024-03-19 08:16:02 UTC
Red Hat Issue Tracker FC-1142 0 None None None 2024-03-18 02:28:04 UTC

Description Baoquan He 2024-03-18 02:27:49 UTC
kdump-capture.service   
 - Kdump Vmcore Save Service...  
[   20.180771] systemd[1]: Starting kdump-capture.service - Kdump Vmcore Save Service... 
[   20.241361] kdump[457]:               
Kdump is using the default log level(3).   
 
[   20.361272] kdump.sh[444]: [debug_mem] kdump saving vmcore 
[   20.361620] kdump.sh[444]: MemFree:          202688 kB 
[   20.366827] kdump.sh[444]: Cached:           101056 kB 
[   20.369049] kdump.sh[444]: Slab:              50368 kB 
[   20.398942] kdump[493]: saving to /sysroot/var/crash/127.0.0.1-2024-03-17-11:33:11/ 
[   20.420740] kdump[498]: saving vmcore-dmesg.txt to /sysroot/var/crash/127.0.0.1-2024-03-17-11:33:11/ 
[   20.477668] kdump[504]: saving vmcore-dmesg.txt complete 
[   20.480576] kdump[506]: saving vmcore 
[   20.529767] kdump.sh[507]:  Checking for memory holes                         : [  0.0 %] /                   Checking for memory holes                         : [100.0 %] |                  readpage_elf: Attempt to read non-existent page at 0xc000000000000. 
[   20.530079] kdump.sh[507]: readmem: type_addr: 0, addr:c00c000000000000, size:16384 
[   20.530291] kdump.sh[507]: __exclude_unnecessary_pages: Can't read the buffer of struct page. 
[   20.530475] kdump.sh[507]: create_2nd_bitmap: Can't exclude unnecessary pages. 
[   20.531713] kdump.sh[507]: The kernel version is not supported. 
[   20.536928] kdump.sh[507]: The makedumpfile operation may be incomplete. 
[   20.537135] kdump.sh[507]: makedumpfile Failed. 
[   20.540278] kdump[509]:         
saving vmcore failed, exitcode:1   

Reproducible: Always

Comment 2 Coiby 2024-03-18 02:41:56 UTC
This issue has been fixed in kexec-tools-2.0.28-6.fc41.x86_64 which now depends on makedumpfile.

Comment 3 Coiby 2024-03-18 02:49:27 UTC
And I can confirm this issue has been gone with Fedora-Rawhide-20240317.n.0.

Comment 4 Baoquan He 2024-03-18 06:49:09 UTC
Hi Coiby,

This is a different issue related to ppc64le makedumpfile filtering error, you are supposed to close below makedumpfile package issue:

Bug 2269640 - makedumpfile command not found when building kdump initramfs

So I reopen this bug.

Thanks
Baoquan

Comment 5 Baoquan He 2024-03-19 07:32:54 UTC
Add IBM power experts into this bz in case they happen to know the reason.

Comment 6 IBM Bug Proxy 2024-03-19 08:41:03 UTC
------- Comment From mainamdar.com 2024-03-19 04:10 EDT-------
This is reverse Mirrored Bug 2269991 - makedumpfile failed when dumping vmcore

Comment 7 IBM Bug Proxy 2024-03-19 09:22:13 UTC
------- Comment From hbathini.com 2024-03-19 05:17 EDT-------
The below makedumpfile fix:

https://github.com/makedumpfile/makedumpfile/commit/94241fd2feed0

and crash-utility fix:

https://github.com/crash-utility/crash/commit/5b24e363a8980

are needed since kernel commit:

https://github.com/torvalds/linux/commit/55c49fee57af9

Comment 8 Baoquan He 2024-03-25 06:10:31 UTC
Thanks a lot for your quick response and the helpful link, Hari.

Comment 9 Dusty Mabe 2024-03-26 13:45:06 UTC
We are hitting this in the CoreOS pipelines too. CoreOS tracker issue in https://github.com/coreos/fedora-coreos-tracker/issues/1698

Comment 10 Coiby 2024-04-08 01:43:28 UTC
(In reply to IBM Bug Proxy from comment #7)
> ------- Comment From hbathini.com 2024-03-19 05:17 EDT-------
> The below makedumpfile fix:
> 
> https://github.com/makedumpfile/makedumpfile/commit/94241fd2feed0

kexec-tools-2.0.28-7.fc41 now includes the makedumpfile fix, thanks!


Note You need to log in before you can comment on or make changes to this bug.