encyclopegia.org

Kdump (Linux)

kdump is a feature of the Linux kernel that creates crash dumps in the event of a kernel crash. When triggered, kdump exports a memory image (also known as vmcore) that can be analyzed for the purposes of debugging and determining the cause of a crash. The dumped image of main memory, exported as an Executable and Linkable Format (ELF) object, can be accessed either directly through during the handling of a kernel crash, or it can be automatically saved to a locally accessible file system, to a raw device, or to a remote system accessible over network.

kdump is a feature of the Linux kernel that creates crash dumps in the event of a kernel crash. When triggered, kdump exports a memory image (also known as vmcore) that can be analyzed for the purposes of debugging and determining the cause of a crash. The dumped image of main memory, exported as an Executable and Linkable Format (ELF) object, can be accessed either directly through during the handling of a kernel crash, or it can be automatically saved to a locally accessible file system, to a raw device, or to a remote system accessible over network. == Internals== In the event of a kernel crash, kdump preserves system consistency by booting another Linux kernel, which is known as the dump-capture kernel, and using it to export and save a memory dump. As a result, the system boots into a clean and reliable environment instead of relying on an already crashed kernel that may cause various issues, such as causing file system corruption while writing a memory dump file. To implement this "dual kernel" layout, kdump uses kexec for "warm" booting into the dump-capture kernel immediately after the kernel crash, using kexec's ability to boot "over" the currently running kernel while avoiding the execution of a bootloader and hardware initialization performed by the system firmware (BIOS or UEFI). A dump-capture kernel can be either a separate Linux kernel image built specifically for that purpose, or the primary kernel image can be reused on architectures that support relocatable kernels. The contents of main memory (RAM) are preserved while booting into and running the dump-capture kernel by reserving a small amount of RAM in advance, into which the dump-capture kernel is preloaded so none of the RAM used by the primary kernel is overwritten when a kernel crash is handled. This reserved amount of RAM is used solely by the dump-capture kernel and is otherwise unused during normal system operation. Some architectures, including x86 and ppc64, require a small fixed-position portion of RAM to boot a kernel regardless of where it is loaded; in this case, kexec creates a copy of that portion of RAM so it is also accessible to the dump-capture kernel. Size and optional position of the reserved portion of RAM are specified through the kernel boot parameter , and the command-line utility is used after the primary kernel boots to preload a dump-capture kernel image and its associated initrd image into the reserved portion of RAM. In addition to the functionality that is part of the Linux kernel, additional userspace utilities support the kdump mechanism, including the utility mentioned above. Besides the official utilities, which are provided as a patch to the kexec's suite of userspace utilities, some Linux distributions provide additional utilities that simplify the configuration of kdump's operation, including the setup of automated saving of memory dump files. Created memory dump files can be analyzed using the GNU Debugger ( ), or by using Red Hat's dedicated utility. ==History== Kdump replaced the deprecated Linux Kernel Crash Dumps (LKCD) tool, which also wrote the contents of memory upon a crash. Kdump presents a more efficient, scalable utility than LKCD. kdump functionality, together with kexec, was merged into the Linux kernel mainline in kernel version 2.6.13, which was released on August 29, 2005. ==See also== debugfs a Linux kernel's RAM-based file system specifically designed for debugging purposes kdump (BSD) a BSD utility for viewing trace files generated by the ktrace utility Linux kernel oops a potentially non-fatal deviation from correct behavior of the Linux kernel ProcDump a utility for creating core dumps of applications based on performance triggers ==References== ==External links== Kdump, a Kexec-based Kernel Crash Dumping Mechanism, IBM, 2005, by Vivek Goyal, Eric W. Biederman, and Hariprasad Nellitheertha Using Kdump for examining Linux kernel crashes, June 21, 2017, by Pratyush Anand Kdump: Usage and internals, Red Hat, June 2017, by Pratyush Anand and Dave Young

References

  1. kexec and kdump: Analyzing the Crash Dump (System Analysis and Tuning Guide) · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "kexec and kdump: Analyzing the Crash Dump (System Analysis and Tuning Guide)." 2026-11-18. https://www.suse.com/documentation/sles11/book_sle_tuning/data/cha_tuning_kdump_analyze.html. Accessed 24 November 2026.

    Chicago "kexec and kdump: Analyzing the Crash Dump (System Analysis and Tuning Guide)." 2026-11-18. https://www.suse.com/documentation/sles11/book_sle_tuning/data/cha_tuning_kdump_analyze.html.

    APA encyclopegia.org. (2026). kexec and kdump: Analyzing the Crash Dump (System Analysis and Tuning Guide). Retrieved November 24, 2026, from https://www.suse.com/documentation/sles11/book_sle_tuning/data/cha_tuning_kdump_analyze.html

  2. Collecting and analyzing Linux kernel crashes - LKCD · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "Collecting and analyzing Linux kernel crashes - LKCD." Ljubuncic, Igor (April 15, 2009). 2026-11-18. https://www.dedoimedo.com/computers/lkcd.html. Accessed 24 November 2026.

    Chicago "Collecting and analyzing Linux kernel crashes - LKCD." Ljubuncic, Igor (April 15, 2009). 2026-11-18. https://www.dedoimedo.com/computers/lkcd.html.

    APA Ljubuncic, Igor (April 15, 2009). (2026). Collecting and analyzing Linux kernel crashes - LKCD. Retrieved November 24, 2026, from https://www.dedoimedo.com/computers/lkcd.html

  3. Collecting and analyzing Linux kernel crashes - Kdump · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "Collecting and analyzing Linux kernel crashes - Kdump." Ljubuncic, Igor (July 18, 2009). 2026-11-18. https://www.dedoimedo.com/computers/kdump.html. Accessed 24 November 2026.

    Chicago "Collecting and analyzing Linux kernel crashes - Kdump." Ljubuncic, Igor (July 18, 2009). 2026-11-18. https://www.dedoimedo.com/computers/kdump.html.

    APA Ljubuncic, Igor (July 18, 2009). (2026). Collecting and analyzing Linux kernel crashes - Kdump. Retrieved November 24, 2026, from https://www.dedoimedo.com/computers/kdump.html

  4. Linux kernel 2.6.13 · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "Linux kernel 2.6.13." "Linux kernel 2. 2026-11-18. https://kernelnewbies.org/Linux_2_6_13. Accessed 24 November 2026.

    Chicago "Linux kernel 2.6.13." "Linux kernel 2. 2026-11-18. https://kernelnewbies.org/Linux_2_6_13.

    APA "Linux kernel 2. (2026). Linux kernel 2.6.13. Retrieved November 24, 2026, from https://kernelnewbies.org/Linux_2_6_13

  5. Debugging using Kdump · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "Debugging using Kdump." Takashi Iwai (July 26, 2006). 2026-11-18. http://ftp.suse.com/pub/people/tiwai/kdump-training/kdump-training.pdf. Accessed 24 November 2026.

    Chicago "Debugging using Kdump." Takashi Iwai (July 26, 2006). 2026-11-18. http://ftp.suse.com/pub/people/tiwai/kdump-training/kdump-training.pdf.

    APA Takashi Iwai (July 26, 2006). (2026). Debugging using Kdump. Retrieved November 24, 2026, from http://ftp.suse.com/pub/people/tiwai/kdump-training/kdump-training.pdf

  6. 29.2.2. Using the Kernel Dump Configuration Utility (Red Hat Enterprise Linux 6 Deployment Guide) · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "29.2.2. Using the Kernel Dump Configuration Utility (Red Hat Enterprise Linux 6 Deployment Guide)." "29. 2026-11-18. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-kdump-configuration-gui.html. Accessed 24 November 2026.

    Chicago "29.2.2. Using the Kernel Dump Configuration Utility (Red Hat Enterprise Linux 6 Deployment Guide)." "29. 2026-11-18. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-kdump-configuration-gui.html.

    APA "29. (2026). 29.2.2. Using the Kernel Dump Configuration Utility (Red Hat Enterprise Linux 6 Deployment Guide). Retrieved November 24, 2026, from https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-kdump-configuration-gui.html

  7. kexec and kdump: Basic kdump Configuration (System Analysis and Tuning Guide) · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "kexec and kdump: Basic kdump Configuration (System Analysis and Tuning Guide)." 2026-11-18. https://www.suse.com/documentation/sles11/book_sle_tuning/data/cha_tuning_kdump_basic.html. Accessed 24 November 2026.

    Chicago "kexec and kdump: Basic kdump Configuration (System Analysis and Tuning Guide)." 2026-11-18. https://www.suse.com/documentation/sles11/book_sle_tuning/data/cha_tuning_kdump_basic.html.

    APA encyclopegia.org. (2026). kexec and kdump: Basic kdump Configuration (System Analysis and Tuning Guide). Retrieved November 24, 2026, from https://www.suse.com/documentation/sles11/book_sle_tuning/data/cha_tuning_kdump_basic.html

  8. How to use kdump to debug kernel crashes · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "How to use kdump to debug kernel crashes." 2026-11-18. http://fedoraproject.org/wiki/How_to_use_kdump_to_debug_kernel_crashes. Accessed 24 November 2026.

    Chicago "How to use kdump to debug kernel crashes." 2026-11-18. http://fedoraproject.org/wiki/How_to_use_kdump_to_debug_kernel_crashes.

    APA encyclopegia.org. (2026). How to use kdump to debug kernel crashes. Retrieved November 24, 2026, from http://fedoraproject.org/wiki/How_to_use_kdump_to_debug_kernel_crashes

  9. White Paper: Red Hat Crash Utility · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "White Paper: Red Hat Crash Utility." David Anderson (August 27, 2010). 2026-11-18. https://crash-utility.github.io/crash_whitepaper.html. Accessed 24 November 2026.

    Chicago "White Paper: Red Hat Crash Utility." David Anderson (August 27, 2010). 2026-11-18. https://crash-utility.github.io/crash_whitepaper.html.

    APA David Anderson (August 27, 2010). (2026). White Paper: Red Hat Crash Utility. Retrieved November 24, 2026, from https://crash-utility.github.io/crash_whitepaper.html

  10. Linux kernel documentation: Documentation/kdump/kdump.txt · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "Linux kernel documentation: Documentation/kdump/kdump.txt." a b c "Linux kernel documentation: Documentation/kdump/kdump. 2026-11-18. https://www.kernel.org/doc/Documentation/kdump/kdump.txt. Accessed 24 November 2026.

    Chicago "Linux kernel documentation: Documentation/kdump/kdump.txt." a b c "Linux kernel documentation: Documentation/kdump/kdump. 2026-11-18. https://www.kernel.org/doc/Documentation/kdump/kdump.txt.

    APA a b c "Linux kernel documentation: Documentation/kdump/kdump. (2026). Linux kernel documentation: Documentation/kdump/kdump.txt. Retrieved November 24, 2026, from https://www.kernel.org/doc/Documentation/kdump/kdump.txt

  11. Crash dumps with kexec · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "Crash dumps with kexec." a b c d Jonathan Corbet (October 27, 2004). 2026-11-18. https://lwn.net/Articles/108595/. Accessed 24 November 2026.

    Chicago "Crash dumps with kexec." a b c d Jonathan Corbet (October 27, 2004). 2026-11-18. https://lwn.net/Articles/108595/.

    APA a b c d Jonathan Corbet (October 27, 2004). (2026). Crash dumps with kexec. Retrieved November 24, 2026, from https://lwn.net/Articles/108595/

  12. Kdump: A Kexec-based Kernel Crash Dumping Mechanism · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "Kdump: A Kexec-based Kernel Crash Dumping Mechanism." a b c Vivek Goyal; Eric W. 2026-11-18. https://lse.sourceforge.net/kdump/documentation/ols2005-kdump-presentation.pdf. Accessed 24 November 2026.

    Chicago "Kdump: A Kexec-based Kernel Crash Dumping Mechanism." a b c Vivek Goyal; Eric W. 2026-11-18. https://lse.sourceforge.net/kdump/documentation/ols2005-kdump-presentation.pdf.

    APA a b c Vivek Goyal; Eric W. (2026). Kdump: A Kexec-based Kernel Crash Dumping Mechanism. Retrieved November 24, 2026, from https://lse.sourceforge.net/kdump/documentation/ols2005-kdump-presentation.pdf

  13. 13.2 About Kdump (Chapter 13: Support Diagnostic Tools) · retrieved 2026-11-18 · rev 1362920215
    Cite this reference

    MLA "13.2 About Kdump (Chapter 13: Support Diagnostic Tools)." "13. 2026-11-18. http://docs.oracle.com/cd/E37670_01/E37355/html/ol_kdump_diag.html. Accessed 24 November 2026.

    Chicago "13.2 About Kdump (Chapter 13: Support Diagnostic Tools)." "13. 2026-11-18. http://docs.oracle.com/cd/E37670_01/E37355/html/ol_kdump_diag.html.

    APA "13. (2026). 13.2 About Kdump (Chapter 13: Support Diagnostic Tools). Retrieved November 24, 2026, from http://docs.oracle.com/cd/E37670_01/E37355/html/ol_kdump_diag.html

Cite this article

MLA

"Kdump (Linux)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/kdump-linux. Accessed 24 November 2026.

Chicago

"Kdump (Linux)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/kdump-linux.

APA

encyclopegia.org. (2026). Kdump (Linux). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/kdump-linux

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date2005-08-29Wikipedia

Related articles

Herbert Francis

enwiki · references available

Harold J. Greene

enwiki · references available

The Devil in I

enwiki · references available

Crawl (video game)

enwiki · references available

2005 Minnesota state government shutdown

enwiki · references available

Tim Bender

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1362920215 · 0.5 · snapshot enwiki-001362920215

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.