Re: [PATCH] x86/kexec: Exclude GART aperture from vmcore

From: Jiri Bohac
Date: Tue Nov 07 2017 - 10:34:51 EST


On Tue, Nov 07, 2017 at 02:42:12PM +0100, Jiri Bohac wrote:
> On Tue, Nov 07, 2017 at 07:39:56PM +0800, Baoquan He wrote:
> > don't worry about the user space kexec utility either.
>
> What's the problem with the userspace kexec? The bug is in
> reading /proc/vmcore by makedumpfile. kexec would only operate
> within the preallocated crashkernel area, right?

right, I see it (without -s the kexec userspace creates the ELF header
later used the second kernel for /proc/vmcore).

No idea how to fix that nicely...

--
Jiri Bohac <jbohac@xxxxxxx>
SUSE Labs, Prague, Czechia