[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 0/2] Debian mkinitrd: Integrate kdump



Hi

The following set of patches made on mkinitrd (from initrd-tools
package:version 0.1.82), would enable the integration of kdump with
Debian. For more details about the kexec based kdump solution please
refer to Documentation/kdump/kdump.txt in the kernel source tree.

This first patch (to be applied on the mkinitrd), would 
enable the generation of the initrd for the dump capture kernel.

Usage:
mkinitrd -c <dump_dev> -f <file_system> -o <out-file> <kernel-version>

The second patch would enable the user to generate the initrd
for the first or the regular kernel. This initrd will package 
the second kernel or the dump capture kernel along with its initrd, 
the kexec-tools user space application (needed to load the dump 
capture kernel).

Usage:
mkinitrd -i <capture_initrd> -v <capture_kernel> -o <out_file> <kernel-version>

The user would then need to boot to the first kernel with this initrd. 
Incase of a panic/crash, the system will automatically boot to the 
capture kernel. The capture kernel's initrd will copy the dump and reboot
the system back to regular kernel.

This is a series patch set. Pls apply as follows on the mkinitrd:
1. capture_initrd.patch
2. first_initrd.patch


Please let me know your comments.

Thanks
Rachita



Reply to: