In kdump kernel boot, kdump kernel is booted with memmap= and add them into e820 map. Then ACPI is initialized and the kernel traverses the ACPI namespace to find entries for memory device to be hot added. This adds page table information and the kexec/kdump kernel runs out of memory.
So in kdump kernel, hot plug memory need be disabled always, only exact map is trusted. Now add the kernel parameter acpi_no_memhotplug to kdump kernel cmdline.
Signed-off-by: Baoquan He bhe@redhat.com --- kdump.sysconfig.x86_64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kdump.sysconfig.x86_64 b/kdump.sysconfig.x86_64 index 7e4d611..989c3c7 100644 --- a/kdump.sysconfig.x86_64 +++ b/kdump.sysconfig.x86_64 @@ -16,7 +16,7 @@ KDUMP_COMMANDLINE=""
# This variable lets us append arguments to the current kdump commandline # As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline -KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail" +KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail acpi_no_memhotplug"
# Any additional kexec arguments required. In most situations, this should # be left empty
On 01/26/14 at 05:22pm, Baoquan He wrote:
In kdump kernel boot, kdump kernel is booted with memmap= and add them into e820 map. Then ACPI is initialized and the kernel traverses the ACPI namespace to find entries for memory device to be hot added. This adds page table information and the kexec/kdump kernel runs out of memory.
So in kdump kernel, hot plug memory need be disabled always, only exact map is trusted. Now add the kernel parameter acpi_no_memhotplug to kdump kernel cmdline.
Signed-off-by: Baoquan He bhe@redhat.com
ACK
kdump.sysconfig.x86_64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kdump.sysconfig.x86_64 b/kdump.sysconfig.x86_64 index 7e4d611..989c3c7 100644 --- a/kdump.sysconfig.x86_64 +++ b/kdump.sysconfig.x86_64 @@ -16,7 +16,7 @@ KDUMP_COMMANDLINE=""
# This variable lets us append arguments to the current kdump commandline # As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline -KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail" +KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail acpi_no_memhotplug"
# Any additional kexec arguments required. In most situations, this should
# be left empty
1.8.3.1
kexec mailing list kexec@lists.fedoraproject.org https://lists.fedoraproject.org/mailman/listinfo/kexec
On 01/26/14 at 05:22pm, Baoquan He wrote:
In kdump kernel boot, kdump kernel is booted with memmap= and add them into e820 map. Then ACPI is initialized and the kernel traverses the ACPI namespace to find entries for memory device to be hot added. This adds page table information and the kexec/kdump kernel runs out of memory.
So in kdump kernel, hot plug memory need be disabled always, only exact map is trusted. Now add the kernel parameter acpi_no_memhotplug to kdump kernel cmdline.
Does anybody know if Fedora has merged the kernel patch?
Signed-off-by: Baoquan He bhe@redhat.com
kdump.sysconfig.x86_64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kdump.sysconfig.x86_64 b/kdump.sysconfig.x86_64 index 7e4d611..989c3c7 100644 --- a/kdump.sysconfig.x86_64 +++ b/kdump.sysconfig.x86_64 @@ -16,7 +16,7 @@ KDUMP_COMMANDLINE=""
# This variable lets us append arguments to the current kdump commandline # As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline -KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail" +KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail acpi_no_memhotplug"
# Any additional kexec arguments required. In most situations, this should
# be left empty
1.8.3.1
kexec mailing list kexec@lists.fedoraproject.org https://lists.fedoraproject.org/mailman/listinfo/kexec
On Tue, Jan 28, 2014 at 12:19:51PM +0800, WANG Chao wrote:
On 01/26/14 at 05:22pm, Baoquan He wrote:
In kdump kernel boot, kdump kernel is booted with memmap= and add them into e820 map. Then ACPI is initialized and the kernel traverses the ACPI namespace to find entries for memory device to be hot added. This adds page table information and the kexec/kdump kernel runs out of memory.
So in kdump kernel, hot plug memory need be disabled always, only exact map is trusted. Now add the kernel parameter acpi_no_memhotplug to kdump kernel cmdline.
Does anybody know if Fedora has merged the kernel patch?
Fedora kernel master branch is based off 3.13 kernel now and this patch is present in 3.13. So yes this patch is in fedora now.
Thanks Vivek
On 01/28/14 at 11:16am, Vivek Goyal wrote:
On Tue, Jan 28, 2014 at 12:19:51PM +0800, WANG Chao wrote:
On 01/26/14 at 05:22pm, Baoquan He wrote:
In kdump kernel boot, kdump kernel is booted with memmap= and add them into e820 map. Then ACPI is initialized and the kernel traverses the ACPI namespace to find entries for memory device to be hot added. This adds page table information and the kexec/kdump kernel runs out of memory.
So in kdump kernel, hot plug memory need be disabled always, only exact map is trusted. Now add the kernel parameter acpi_no_memhotplug to kdump kernel cmdline.
Does anybody know if Fedora has merged the kernel patch?
Fedora kernel master branch is based off 3.13 kernel now and this patch is present in 3.13. So yes this patch is in fedora now.
I'll merge this patch for f21/rawhide only.
Thanks WANG Chao
On Sun, Jan 26, 2014 at 05:22:33PM +0800, Baoquan He wrote:
In kdump kernel boot, kdump kernel is booted with memmap= and add them into e820 map. Then ACPI is initialized and the kernel traverses the ACPI namespace to find entries for memory device to be hot added. This adds page table information and the kexec/kdump kernel runs out of memory.
So in kdump kernel, hot plug memory need be disabled always, only exact map is trusted. Now add the kernel parameter acpi_no_memhotplug to kdump kernel cmdline.
Signed-off-by: Baoquan He bhe@redhat.com
Acked-by: Vivek Goyal vgoyal@redhat.com
Vivek
kdump.sysconfig.x86_64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kdump.sysconfig.x86_64 b/kdump.sysconfig.x86_64 index 7e4d611..989c3c7 100644 --- a/kdump.sysconfig.x86_64 +++ b/kdump.sysconfig.x86_64 @@ -16,7 +16,7 @@ KDUMP_COMMANDLINE=""
# This variable lets us append arguments to the current kdump commandline # As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline -KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail" +KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail acpi_no_memhotplug"
# Any additional kexec arguments required. In most situations, this should
# be left empty
1.8.3.1
kexec mailing list kexec@lists.fedoraproject.org https://lists.fedoraproject.org/mailman/listinfo/kexec