[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190131222732.GA946@anatevka>
Date: Thu, 31 Jan 2019 15:27:32 -0700
From: Jerry Hoemann <jerry.hoemann@....com>
To: Borislav Petkov <bp@...en8.de>
Cc: Dave Young <dyoung@...hat.com>, x86@...nel.org,
Baoquan He <bhe@...hat.com>,
Randy Dunlap <rdunlap@...radead.org>,
kexec@...ts.infradead.org, linux-kernel@...r.kernel.org,
Pingfan Liu <kernelfans@...il.com>,
Mike Rapoport <rppt@...ux.vnet.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>, yinghai@...nel.org,
vgoyal@...hat.com
Subject: Re: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X
consistent with kaslr
On Thu, Jan 31, 2019 at 11:57:32AM +0100, Borislav Petkov wrote:
> On Thu, Jan 31, 2019 at 03:59:07PM +0800, Dave Young wrote:
> > As Pingfan/me mentioned in another reply, there are two reasons:
> > 1. old kexec-tools can not load kernel to high memory
> > 2. ,high will not work on some systems without some amounts of low
> > memory so it nees reserve extra low memory, it is bad for people who do
> > not want it.
>
> Let's see: we don't enable high by default because of old kexec-tools
> and some systems which do some funky reservations.
>
> But this patch kinda enables high by trying a couple more regions.
>
> So we don't really need this - we simply need to tell people to use high
> if it fails with KASLR, AFAICT.
Borris,
The testing I've done shows that the allocation failure caused by KASLR
is intermittent. On one SUT that I've seen this issue on, the crash
kernel allocation fails less than 10% of the time.
So even if a system administrator is diligent and tests
that a chosen kdump configuration works, that configuration
might not work on some random reboot 7 months in the future.
Unfortunately, that will be the time that the system crashes
and we won't be able to collect the crash dump due to the
crashkernel allocation failure.
Jerry
--
-----------------------------------------------------------------------------
Jerry Hoemann Software Engineer Hewlett Packard Enterprise
-----------------------------------------------------------------------------
Powered by blists - more mailing lists