"kdumpbase" dracut module
From: Ronit Halder <hidden>
Date: 2016-03-19 07:29:07
I want to know what is the job of "kdumpbase" dracut module.
5 messages, 4 authors, 2016-03-22 · open the first message on its own page
From: Ronit Halder <hidden>
Date: 2016-03-19 07:29:07
I want to know what is the job of "kdumpbase" dracut module.
From: Freeman Zhang <hidden>
Date: 2016-03-21 02:59:45
-------- Original Message --------
I want to know what is the job of "kdumpbase" dracut module. _______________________________________________ Kernelnewbies mailing list Kernelnewbies at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160321/b70e998a/attachment.bin
From: Dave Young <hidden>
Date: 2016-03-21 06:26:55
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
From: Ronit Halder <hidden>
Date: 2016-03-21 13:55:15
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?
From: Freeman Zhang <hidden>
Date: 2016-03-22 00:41:21
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 842 bytes Desc: OpenPGP digital signature Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160322/aa58307e/attachment.bin