18.2. Enabling firmware assisted dump mechanism
You can enhance the crash dumping capabilities of IBM POWER systems by enabling the firmware assisted dump (fadump) mechanism.
In the Secure Boot environment, the GRUB boot loader allocates a boot memory region, known as the Real Mode Area (RMA). The RMA has a size of 512 MB, divided among the boot components. If a component exceeds its size allocation, GRUB fails with an out-of-memory (OOM) error.
Do not enable firmware assisted dump (fadump) mechanism in the Secure Boot environment on RHEL 9.1 and earlier versions. The GRUB boot loader fails with the following error:
error: ../../grub-core/kern/mm.c:376:out of memory.
Press any key to continue…
The system is recoverable only if you increase the default initramfs size due to the fadump configuration.
For information about workaround methods to recover the system, see the System boot ends in GRUB Out of Memory (OOM) article.
Prerequisites
- You have root permissions on the system.
Procedure
-
Install the
kexec-tools,kdump-utils, andmakedumpfilepackages. Configure the default value for
crashkernel:# kdumpctl reset-crashkernel --fadump=on --kernel=ALLOptional: Reserve boot memory instead of the default value:
# grubby --update-kernel ALL --args="fadump=on crashkernel=xxM"xxMis the required memory size in megabytes.注記When specifying boot configuration options, test the configurations by rebooting the kernel with
kdumpenabled. If thekdumpkernel fails to boot, increase thecrashkernelvalue gradually to set an appropriate value.Reboot for changes to take effect:
# reboot