I just upgraded one of my systems from RHEL 7.6 to 7.7. During the update, I got the following error:
dracut[43998]: Failed to install module libnvdimmvmxnet3
The fix is this: in /etc/dracut.conf.d/*.conf -- in my case, both nvdimm-security.conf and vmware-tools.conf, edit the "add_drivers" line to add a leading and trailing space. e.g. in nvdimm-security.conf, change:
add_drivers+="libnvdimm"
to
add_drivers+=" libnvdimm "
and in vmware-tools.conf, change:
add_drivers+="vmxnet3 vmw_pvscsi"
to
add_drivers+=" vmxnet3 vmw_pvscsi "
Then, run "dracut --force" to rebuild your initramfs. You should no longer get the "Failed to install module libnvdimmvmxnet3" error.
The reason for the problem is that dracut is concatenating all the "add_drivers" strings together, without any processing. See the dracut.conf man page for the warning that was apparently ignored by the open-vm-tools folks: "Space-separated lists have to have a leading and trailing space"
Thank you!!!!
ReplyDeleteThank you, this cleared the error for me.
ReplyDeleteThanks from me too! :-)
ReplyDeleteAwesome solution! Thank you!
ReplyDeleteAnother set of thanks from me
ReplyDeleteAbsolutely awesome guidance ... my VM refused to suspend and but I saw an error in /var/log/messages about missing adapter but could not figure out what has gone wrong. Update kernel and got this error about dracut .. now this has fixed both issues !!!
ReplyDeleteThank You
ReplyDeleteThanks for documenting this 🙂
ReplyDeleteThank you
ReplyDeletePerfect!!!
ReplyDeleteLegit. thank you so much.
ReplyDeleteThank you... That solved the problem!
ReplyDeleteThank you, you made my day!
ReplyDeleteDid the job. Thank you for the clear guidance.
ReplyDeleteWow thanx, fixed my problem also but in the form of "Failed to install module hpvsalibnvdimm"
ReplyDeleteAwesome! Thank you for the examples and clear explanation!
ReplyDeleteCOOOOL !!!
ReplyDeletehanks alot
ReplyDelete