Configuration of fadump

This document (7012786) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)
SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)

Situation

On SLES11 SP3 and SP4 there is no YaST2 module available to setup firmware assisted dump (fadump).
It has to be enabled / disabled manually as described with this document.

Resolution


Prerequisites:
  1. The kernel to be configured with fadump must be the default boot entry.

  • Boot into the kernel to be configured with fadump before running the steps to enable/disable fadump.

  • Install the latest available makedumpfile, kexec-tools & kdump packages.

To enable fadump do the following:

  1.  Enable boot.kdump service
  2. chkconfig boot.kdump on

  •  In /etc/sysconfig/kdump set:
  • KDUMP_FADUMP=yes

  •  As user root run the below command to add dump capturing support in initrd:
  • mkdumprd -f

  •  Refresh bootloader to use the new initrd for all subsequent boots:
  • update-bootloader --refresh

  •  Reboot the system


  •  After a reboot verify with the below that this file is available and shows a value of '1':
  • cat /sys/kernel/fadump_registered
This indicates that fadump is enabled in the kernel and the system will now use the fadump mechanism to capture a kernel dump.


NOTE:
  1.  If after this process the file /etc/sysconfig/kdump is modified again by any means, be it manually or via YaST, the below command has to be run again, to make fadump aware of these changes:
  2. mkdumprd -f

  •  If a new kernel is installed after fadump was configured on a previous installed kernel, boot into the new kernel and execute Steps 3 to 5 to configure fadump support for the new kernel.


To disable fadump do the following:

  1.  In /etc/sysconfig/kdump set
  2. KDUMP_FADUMP=no

  •  As user root run the below command to update the kernel cmdline parameters:
  • mkdumprd -f

  • As user root run the below command to rebuild the initrd:
  • mkinitrd -k /boot/vmlinux-$(uname -r) -i /boot/initrd-$(uname -r)

  • Reboot the system

Additional Information

Possible problems:

1. In case of a second kernel failing with "Out of Memory" messages during fadump capture, use the "fadump_reserve_mem=<size>M" kernel command line to specify a larger size of the memory to reserve for boot memory dump preservation and reboot the system.

The term "boot memory" means the size of the low memory chunk that is required for the second kernel to boot successfully when booted with restricted memory during a system crash. By default, the boot memory size will not be larger than 5% of system RAM or 256MB.  Alternatively, a user can also specify the boot memory size through the boot parameter "fadump_reserve_mem=" which will override the default calculated size.

2. While FADump is configured, only use the “mkdumprd -f” command to update the default initrd (instead of mkinitrd) to ensure dump capture scripts are included in the default initrd. If the default initrd is updated by other methods, dump capture scripts may not be included in the initrd. If this happens, a vmcore will not be captured automatically after a crash. Instead, the system will boot with minimal available memory and with the “/proc/vmcore” file waiting to be saved.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7012786
  • Creation Date: 04-Jul-2013
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center