VMware kernel module updater; fedora 36

I installed VMware workstation latest version on my fedora 36; but I’m unable to use it because of kernel modules.


The installation of these two just simply fail.

Kindly help me with this.

Welcome, Kirk. As a new poster to this forum, please review #start-here. The suggestions there will help you help everyone else.
Please provide everyone with the additional information, showing how you are attempting to install the additional software and how it fails. Hopefully someone who has successfully set up a similar configuration can help you. Note, though, that Fedora 36 is still in Beta release, so support for this may not be there yet.

Do you have secure boot enabled? If you do then it will block loading the VMware modules because they are unsigned.

There are 2 approaches to fixing this issue.

  1. Disable secure boot in the BIOS which will then allow the modules to load.

This is obviously the easiest and least stressful.

  1. install a couple packages and create a signing key so that when the kernel modules are built they get signed and can then be loaded with secure boot enabled. This involves the following as a minimum.
sudo /usr/sbin/kmodgenca
sudo mokutil --import /etc/pki/akmods/certs/public_key.der
(which will then require you to enter a password)

followed by a reboot that should pop up a window where you enroll the newly created key into the bios. It also requires that the bios be set to UEFI only mode for booting.
Then you will have to remove the VMware software you have installed, reboot, then reinstall the same vmware software so the kernel modules are properly built with the key created and installed above.
Finally, another reboot should allow the modules to load and function.

If you go through the process of step 2 above then in the future it should not need repeated for other software since the key is already generated and available.

1 Like