Skip to content

Commit 3d24b57

Browse files
committed
IBM Power updates for enabling kdump
1 parent ac79311 commit 3d24b57

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

modules/troubleshooting-enabling-kdump-day-one.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ storage:
5252
contents:
5353
inline: |
5454
KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb"
55-
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 transparent_hugepage=never nokaslr novmcoredd hest_disable"
55+
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 transparent_hugepage=never nokaslr novmcoredd hest_disable" <5>
5656
KEXEC_ARGS="-s"
5757
KDUMP_IMG="vmlinuz"
5858

@@ -63,9 +63,10 @@ systemd:
6363
----
6464
+
6565
<1> Replace `worker` with `master` in both locations when creating a `MachineConfig` object for control plane nodes.
66-
<2> Provide kernel arguments to reserve memory for the crash kernel. You can add other kernel arguments if necessary.
66+
<2> Provide kernel arguments to reserve memory for the crash kernel. You can add other kernel arguments if necessary. For the `ppc64le` platform, the recommended value for `crashkernel` is `crashkernel=2G-4G:384M,4G-16G:512M,16G-64G:1G,64G-128G:2G,128G-:4G`.
6767
<3> If you want to change the contents of `/etc/kdump.conf` from the default, include this section and modify the `inline` subsection accordingly.
6868
<4> If you want to change the contents of `/etc/sysconfig/kdump` from the default, include this section and modify the `inline` subsection accordingly.
69+
<5> For the `ppc64le` platform, replace `nr_cpus=1` with `maxcpus=1`, which is not supported on this platform.
6970
7071
. Use Butane to generate a machine config YAML file, `99-worker-kdump.yaml`, containing the configuration to be delivered to the nodes:
7172
+

modules/troubleshooting-enabling-kdump.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ Perform the following steps to enable kdump on {op-system}.
1818
----
1919
# rpm-ostree kargs --append='crashkernel=256M'
2020
----
21+
+
22+
[NOTE]
23+
====
24+
For the `ppc64le` platform, the recommended value for `crashkernel` is `crashkernel=2G-4G:384M,4G-16G:512M,16G-64G:1G,64G-128G:2G,128G-:4G`.
25+
====
2126

2227
. Optional: To write the crash dump over the network or to some other location, rather than to the default local `/var/crash` location, edit the `/etc/kdump.conf` configuration file.
2328
+

0 commit comments

Comments
 (0)