From: Hari Bathini <hbathini@linux.ibm.com>
To: Sachin Sant <sachinp@linux.ibm.com>,
linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
linux-mm@kvack.org
Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com>,
Mahesh J Salgaonkar <mahesh@linux.ibm.com>,
Sourabh Jain <sourabhjain@linux.ibm.com>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [next-20230731] Kdump fails to capture vmcore (powerpc)
Date: Wed, 2 Aug 2023 15:57:49 +0530 [thread overview]
Message-ID: <1f26411c-34b9-14e8-66eb-4854d5b1fbbb@linux.ibm.com> (raw)
In-Reply-To: <F996AB3C-400E-447A-B142-9CB3600BCDD8@linux.ibm.com>
On 31/07/23 7:39 pm, Sachin Sant wrote:
> Kernel Crash dump(kdump) and firmware assisted dump on powerpc
> fails to capture vmcore on recent linux-next builds.
>
> Starting Kdump Vmcore Save Service...
> systemd[1]: Starting Kdump Vmcore Save Service...
> kdump[599]: Kdump is using the default log level(3).
> kdump[635]: saving to /sysroot/var/crash/127.0.0.1-2023-07-31-09:01:28/
> kdump[639]: Remounting the dump target in rw mode.
> kdump[643]: saving vmcore-dmesg.txt to /sysroot/var/crash/127.0.0.1-2023-07-31-09:01:28/
> kdump[649]: saving vmcore-dmesg.txt complete
> kdump[651]: saving vmcore
> kdump.sh[652]: readpage_elf: Attempt to read non-existent page at 0x4000000000000000.
> kdump.sh[652]: readmem: type_addr: 0, addr:0, size:8
> kdump.sh[652]: get_vmemmap_list_info: Can't get vmemmap region addresses
> kdump.sh[652]: get_machdep_info_ppc64: Can't get vmemmap list info.
> kdump.sh[652]: makedumpfile Failed.
> kdump[654]: saving vmcore failed, exitcode:1
> kdump[656]: saving the /run/initramfs/kexec-dmesg.log to /sysroot/var/crash/127.0.0.1-2023-07-31-09:01:28//
> kdump[663]: saving vmcore failed
> systemd[1]: kdump-capture.service: Main process exited, code=exited, status=1/FAILURE
> systemd[1]: kdump-capture.service: Failed with result 'exit-code'.
> systemd[1]: Failed to start Kdump Vmcore Save Service.
> [FAILED] Failed to start Kdump Vmcore Save Service.
>
> Git bisect points to following patch:
>
> 8dc9a0ad0c3e7f43e4e091e4e24634e21ce17a54 is the first bad commit
> commit 8dc9a0ad0c3e7f43e4e091e4e24634e21ce17a54
> powerpc/book3s64/vmemmap: switch radix to use a different vmemmap handling function
>
Earlier, makedumpfile made use of vmemmap_list to populate all the
vmemmap regions but that changed for radix. It uses the init_mm pgtable
for vmemmap regions. A fix is needed in makedumpfile to catch up with
the above change.
Thanks
Hari
prev parent reply other threads:[~2023-08-02 10:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-31 14:09 Sachin Sant
2023-08-02 10:27 ` Hari Bathini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1f26411c-34b9-14e8-66eb-4854d5b1fbbb@linux.ibm.com \
--to=hbathini@linux.ibm.com \
--cc=aneesh.kumar@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mahesh@linux.ibm.com \
--cc=sachinp@linux.ibm.com \
--cc=sourabhjain@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox