-------- Original Message --------
I want to know what is the job of "kdumpbase" dracut module.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
dracut uses modules to include instructions and functions in initramfs. When the dump kernel(2nd kernel) is started, it needs to know what action it should take to dump the core. It also needs some infrastructure to support those actions. Dracut follows the kdumpbase script to build initramfs for the 2nd kernel. Above is my own understanding, hope this will help. Freeman
On 03/19/16 at 12:59pm, Ronit Halder wrote:
I want to know what is the job of "kdumpbase" dracut module.
Suppose you are using Fedora or RHEL, it is a out of tree module for creating kdump initramfs. Fedora package kexec-tools will install it to dracut module directory. Thanks Dave
Thanks for helping So, this module is used to dump the crash kernel. Am I right? If not then can you explain how kdump kernel calls the makedumpfile?
On 3/21/16 9:55 PM, Ronit Halder wrote:
Thanks for helping
So, this module is used to dump the crash kernel. Am I right? If not then can you explain how kdump kernel calls the makedumpfile?
You are absolutely right Ronit. By the time the second kernel is booted, this module will start a service called kdump-capture, which will execute kdump.sh, which will invoke makedumpfile after all, depending on your kdump configuration. All the best! Freeman
participants (4)
-
Dave Young -
Freeman Zhang -
Ronit Halder -
Ronit Halder