Re: [PATCH 0/3 v11] add reserved e820 ranges to the kdump kernel e820 table
From: Borislav Petkov
Date: Sat Jun 08 2019 - 05:14:51 EST
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.