On 08/02/19 at 10:59am, Kazuhito Hagio wrote:
From: Kazuhito Hagio <k-hagio(a)ab.jp.nec.com>
# resend this set bacause the previous one is being held..
These are both backports from upstream, and tested OK with kernel
5.3.0-0.rc1.git3.1.fc31.x86_64.
Patch 2/2 fixes a failure of makedumpfile on Linux 5.3-rc1 that
prints error like the following:
readmem: Can't convert a virtual address(fffffc97d1000000) to physical address.
readmem: type_addr: 0, addr:fffffc97d1000000, size:32768
__exclude_unnecessary_pages: Can't read the buffer of struct page.
create_2nd_bitmap: Can't exclude unnecessary pages.
Patch 1/2 is not necessary for fixing the issue, but without the patch,
if a similar issue occurs in the future, makedumpfile can take a long
time to finish generating a broken vmcore meaninglessly, and 2nd kernel
cannot reboot soon.
Kazuhito Hagio (2):
makedumpfile: Do not proceed when get_num_dumpable_cyclic() fails
makedumpfile: Increase SECTION_MAP_LAST_BIT to 4
...d-when-get_num_dumpable_cyclic-fails.patch | 44 +++++++++++++++++++
...e-Increase-SECTION_MAP_LAST_BIT-to-4.patch | 38 ++++++++++++++++
kexec-tools.spec | 4 ++
3 files changed, 86 insertions(+)
create mode 100644
kexec-tools-2.0.20-makedumpfile-Do-not-proceed-when-get_num_dumpable_cyclic-fails.patch
create mode 100644
kexec-tools-2.0.20-makedumpfile-Increase-SECTION_MAP_LAST_BIT-to-4.patch
--
2.20.1
Kazu, thanks for the patch!
Acked-by: Dave Young <dyoung(a)redhat.com>
Thanks
Dave