Product SiteDocumentation Site

Chapter 22. The kdump Crash Recovery Service

22.1. Installing the kdump Service
22.2. Configuring the kdump Service
22.2.1. Configuring the kdump at First Boot
22.2.2. Using the Kernel Dump Configuration Utility
22.2.3. Configuring kdump on the Command Line
22.2.4. Testing the Configuration
22.3. Analyzing the Core Dump
22.3.1. Running the crash Utility
22.3.2. Displaying the Message Buffer
22.3.3. Displaying a Backtrace
22.3.4. Displaying a Process Status
22.3.5. Displaying Virtual Memory Information
22.3.6. Displaying Open Files
22.3.7. Exiting the Utility
22.4. Additional Resources
22.4.1. Installed Documentation
22.4.2. Useful Websites
When the kdump crash dumping mechanism is enabled, the system is booted from the context of another kernel. This second kernel reserves a small amount of memory and its only purpose is to capture the core dump image in case the system crashes.
Being able to analyze the core dump significantly helps to determine the exact cause of the system failure, and it is therefore strongly recommended to have this feature enabled. This chapter explains how to configure, test, and use the kdump service in Fedora, and provides a brief overview of how to analyze the resulting core dump using the crash debugging utility.

22.1. Installing the kdump Service

In order use the kdump service on your system, make sure you have the kexec-tools package installed. To do so, type the following at a shell prompt as root:
yum install kexec-tools
For more information on how to install new packages in Fedora, refer to Section 5.2.4, “Installing Packages”.