Highlighted
Contributor
Contributor

VMWare Workstation fails to compile modules on Fedora 31

Jump to solution

After installing VMWare 15.5.1 (latest download) then trying to run it it says that it must compile some modules.  It asks for my root password and says it's compiling

vmmon and vmnet

Then it sales "Unable to install all modules. See log /tmp/vmaware.....

Log files are attached.

Is there any advise on how to fix this?

1 Solution

Accepted Solutions
Highlighted
Enthusiast
Enthusiast

wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-15.5.1.tar.gz

Then follow the instructions in

    vmware-host-modules-workstation-15.5.1/INSTALL

in the downloaded tarball.

I usually use the instructions labeled:

0. Quick guide for impatient

       "Second Method"

View solution in original post

5 Replies
Highlighted
Enthusiast
Enthusiast

wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-15.5.1.tar.gz

Then follow the instructions in

    vmware-host-modules-workstation-15.5.1/INSTALL

in the downloaded tarball.

I usually use the instructions labeled:

0. Quick guide for impatient

       "Second Method"

View solution in original post

Highlighted
Enthusiast
Enthusiast

I should note that this works for Fedora 30 with latest kernel (5.4.7-100).

I assume (perhaps incorrectly) that it'll work with F31.

Highlighted
Contributor
Contributor

It worked like a charm.

One note that the INSTALL doc "Quick guide for impatient" includes a wget for an older (14.1.1) version that of course needs to be ignored. (At first I was thinking I needed to downgrade.)

Simply grabbing that tarball then

make

sudo make install

did the trick--- even for Fedora 31!

Thank you very much for the answer.

Follow up. This seems to be a common problem with Fedora. I have run into it before.

Is that github endpoint a common place I should look for these sorts of problems?

0 Kudos
Highlighted
Enthusiast
Enthusiast

I don't believe that this is a Fedora-centric problem.

People using other distributions complain that

VMware could not compile some of its modules.

The problem modules are (almost) always vmnet and vmmon.

Michal Kubeček is the hero of the story. He is the one who

kindly supplies the patched code.

(See https://www.gitmemory.com/mkubecek )

Highlighted
Contributor
Contributor

Thumbs up for this thread and Michal!

Got it up and running after an update of my Fedora 31 kernel.

0 Kudos