Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for kernel module(s) required to dump at the configured mount point #13

Open
kamalesh-babulal opened this issue Aug 3, 2020 · 1 comment

Comments

@kamalesh-babulal
Copy link

kamalesh-babulal commented Aug 3, 2020

Servicereport kdump plugin should check initrd-kdump.img for the required kernel module to capture the crash dump at the configured mount point. For example, if /etc/kdump.conf is configured to dump at a local path, that's mounted on multipath disk but the dm_* module are missing from the initrd-kdump.img. Such configurations fail to capture the dump, when the initrd-kdump.img is not build with required kernel modules.

One way to teach Servicereport, to identify the missing module and fix the module dependency issue:

  • Check /etc/kdump.conf for mount point
  • Based on the mount point, check dracut --list-module /boot/initrd-kdump.img for the required kernel module and
  • Add it using dracut --add-drivers "<module names>" /boot/initrd-kdump.img or
  • Add dracut_args --add-drivers "<module name>" in /etc/kdump.conf
@sourabhjains
Copy link
Contributor

sourabhjains commented Sep 10, 2024

@kamalesh-babulal Isn't it already done by scripts that generates kdump/fadump initrd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants