2017-11-08 01:05:34

by Jiri Bohac

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

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 <[email protected]>
SUSE Labs, Prague, Czechia


From 1583452038856838168@xxx Tue Nov 07 23:32:20 +0000 2017
X-GM-THRID: 1583066928846548446
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread