Introduction - Linux Kernel Crash Dump

Introduction - Linux Kernel Crash Dump

The Linux Kernel Crash Dump (LKCD) project is designed to meet the needs of customers and system administrators wanting a reliable method of detecting, saving and examining system crashes. While more mature operating systems have provided these capabilities by default for years, Linux has yet to evolve to such a state. LKCD is an attempt to move Linux towards greater supportability.

Kernel Crash Dump Requires Four Components:

  1. Kernel Support:
    Kernel code for configuring dump parameters, catching error conditions, and executing a kernel memory dump. Kernel.org kernels need to be patched with the LKCD dump modules.

  2. Dump Configuration:
    Facilities for integrating system crash dump capabilities into the operating system. These facilities are in the form of user-level applications to configure and enable crash dumps and various system scripts necessary for incorporating LKCD into the operating system.

  3. Dump Recovery:
    User-level commands to retrieve a dump saved by the kernel and transfer it to a user accessible location.

  4. Dump Analysis:
    A debugger that can operate on the saved dump image. The lkcdutils package provides the lcrash command for dump analysis.

LKCD provides the all of the components (kernel and user level code) designed to:

  • Save the kernel memory image when the system dies due to a software failure;
  • Recover the kernel memory image when the system is rebooted;
  • Analyze the memory image to determine what happened when the failure occurred.

The memory image is stored into a dump device, which is represented by one of the disk partitions on the system. That dump is recovered with an application called lcrash (Linux Crash) once the system boots back up, before the swap partitions are mounted. A report is generated and saved into /var/log/dump.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值