dracut: Some kernel modules are sometimes not included into kdump initramfs.

Solution Verified - Updated -

Issue

  • My system successfully kexeced into the kdump kernel, but required kernel modules are missing.
  • On RHEL7, some kernel modules are sometimes not included into kdump initramfs. The customer's system is SAN Boot using lpfc driver. However, the lpfc driver and so on aren't included in initramfs for kdump. That leads to the failure of collecting memory dump by kdump because disks for memory dump collection cannot be detected.

Here is an error message dracut outputs while kdump service makes initramfs for kdump.

hostname kdumpctl: /usr/sbin/dracut: line 1108: host_modules["$m"]: bad array subscript

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • kdump/kexec
  • dracut

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.