From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.skyhub.de ([2a01:4f8:190:11c2::b:1457]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hZXNK-0001UZ-3y for kexec@lists.infradead.org; Sat, 08 Jun 2019 09:10:59 +0000 Date: Sat, 8 Jun 2019 11:10:30 +0200 From: Borislav Petkov Subject: Re: [PATCH 0/3 v11] add reserved e820 ranges to the kdump kernel e820 table Message-ID: <20190608091030.GB32464@zn.tnic> References: <20190423013007.17838-1-lijiang@redhat.com> <12847a03-3226-0b29-97b5-04d404410147@redhat.com> <20190607174211.GN20269@zn.tnic> <20190608035451.GB26148@MiWiFi-R3L-srv> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190608035451.GB26148@MiWiFi-R3L-srv> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Baoquan He Cc: Thomas.Lendacky@amd.com, x86@kernel.org, lijiang , peterz@infradead.org, dave.hansen@linux.intel.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, mingo@redhat.com, luto@kernel.org, hpa@zytor.com, tglx@linutronix.de, dyoung@redhat.com, akpm@linux-foundation.org On Sat, Jun 08, 2019 at 11:54:51AM +0800, Baoquan He wrote: > Is it a UEFI box? Yes. > If it's uefi machine, it should relate to below issue. Because kexec > always fails to randomly choose a new position for kernel. The kernel succeeds in selecting a position for the kernel - the kexec kernel doesn't load when a panic happens. Rather, the box panics and nothing more. > The current kexec code fills boot_params->efi_info->efi_loader_signature, > but doesn't contruct efi_memmap table. The kexec/kdump kernel will always > fail to find available slot for KASLR in process_efi_entries. Kernel has # CONFIG_RANDOMIZE_BASE is not set so no KASLR. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec