Earlykdump fails if kernel upgrade or downgrade is performed with dracut option 'add_dracutmodules+=earlykdump' set in dracut configuration file.

Solution Verified - Updated -

Issue

  • Earlykdump fails with an error Cannot open/boot/vmlinuz-4.18.0-57.el8.x86_64': No such file or directory`
# journalctl -u dracut-cmdline
-- Logs begin at Wed 2019-01-02 15:34:37 IST, end at Wed 2019-01-02 16:45:58 IST. --
Jan 02 15:34:37 localhost systemd[1]: Starting dracut cmdline hook...
Jan 02 15:34:37 localhost dracut-cmdline[220]: dracut-8.0 (Ootpa) dracut-049-5.git20181015.el8
Jan 02 15:34:37 localhost dracut-cmdline[220]: Using kernel command line parameters: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-57.el8.x86_64 root=/dev/mapper/rhel-root ro crashkernel=auto resu>
Jan 02 15:34:37 localhost dracut-cmdline[220]: early-kdump is enabled.
Jan 02 15:34:37 localhost dracut-cmdline[220]: Cannot open `/boot/vmlinuz-4.18.0-57.el8.x86_64': No such file or directory
Jan 02 15:34:37 localhost dracut-cmdline[220]: kexec: failed to load early-kdump kernel
Jan 02 15:34:37 localhost systemd[1]: Started dracut cmdline hook.
Jan 02 15:34:39 localhost systemd[1]: Stopped dracut cmdline hook.

Environment

  • Red Hat Enterprise Linux 8.0 Beta (Ootpa)
  • kexec-tools

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