From: Petr Tesarik Date: Tue, 27 Feb 2018 09:57:04 +0100 Subject: Add 'nokaslr' to the kdump kernel command line References: bsc#1075937 Upstream: merged Git-commit: 0724bcc8220bf2bd4a3598185dcd5ec7e9e5fe47 The kASLR algorithm may decide to place the kernel into low memory, which does not leave enough space for SWIOTLB, and dumping fails later on. Since the kdump environment does not run any exploitable services, kASLR can be safely disabled. Note that kexec already avoids the low memory reservation when finding a suitable location for the kernel, initrd and other data. Signed-off-by: Petr Tesarik --- init/load.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/init/load.sh +++ b/init/load.sh @@ -72,7 +72,7 @@ function build_kdump_commandline() nr_cpus=$(cpus_param "$kdump_kernel")=${KDUMP_CPUS:-1} fi # Use deadline for saving the memory footprint - commandline="$commandline elevator=deadline sysrq=yes reset_devices acpi_no_memhotplug cgroup_disable=memory" + commandline="$commandline elevator=deadline sysrq=yes reset_devices acpi_no_memhotplug cgroup_disable=memory nokaslr" commandline="$commandline irqpoll ${nr_cpus}" commandline="$commandline root=kdump rootflags=bind rd.udev.children-max=8" case $(uname -i) in