After up grading from Ubuntu 20.04 LTS to 22.04; I tried to start VMware Workstation Pro and I got the message "Unable to install all modules" and it referred me to an error log file which I have attached to this message. Any ideas how to get around this or do I need to go back to the previous version of Linux?
This is what helped me
cd /usr/lib/vmware/modules/source
git clone https://github.com/mkubecek/vmware-host-modules
cd vmware-host-modules
git checkout workstation-16.2.3
make
tar -cf vmnet.tar vmnet-only
tar -cf vmmon.tar vmmon-only
mv vmnet.tar /usr/lib/vmware/modules/source/
mv vmmon.tar /usr/lib/vmware/modules/source/
vmware-modconfig --console --install-all
Are we going to need to do this every time the kernel updates? Kind of frustrated I need my vms for research, and I may go back to 20.04 if we need to do this every time the kernel updates.
VMWare will use the same files to compile modules to the new kernel.
I've Upgraded the kernel from 5.15.0-25 to 5.15.0-27 and it still working without interference
Thanks. This worked.
Confirmed. Fixed my issue as well.
Thanks.
It still fails for me:
uname -a
Linux nuc11 5.13.0-40-generic #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
cd /usr/lib/vmware/modules/source
sudo git clone https://github.com/mkubecek/vmware-host-modules
cd vmware-host-modules
sudo git checkout workstation-16.2.3
sudo make
sudo tar -cf vmnet.tar vmnet-only
sudo tar -cf vmmon.tar vmmon-only
sudo mv vmnet.tar /usr/lib/vmware/modules/source/
sudo mv vmmon.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all
result:
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-Z3iwV2/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-Z3iwV2/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-Z3iwV2/vmnet-only'
Starting VMware services:
Virtual machine monitor failed
Virtual machine communication interface done
VM communication interface socket family done
Virtual ethernet failed
VMware Authentication Daemon done
Unable to start services
on pop-os you have to add sudo make install when you finish, thats what worked for me after following the instructions. thanks.
It just doesn't work
cd /usr/lib/vmware/modules/source
sudo git clone https://github.com/mkubecek/vmware-host-modules
cd vmware-host-modules
sudo git checkout workstation-16.2.3
sudo make && sudo make install
sudo tar -cf vmnet.tar vmnet-only
sudo tar -cf vmmon.tar vmmon-only
sudo vmware-modconfig --console --install-all
in addition to this steps i copied vmmon and vmnet to /dev/
then i run the command (sudo vmware-modconfig --console --install-all) again as the original post solutions wasn't working. its working now. ps-my pop-os is new install so if your os has been running for long time you may have to dig deeper for solution or reinstall if you backup your important stuff. hope vmware comes out with new update that works out of the box. hope it helps.
Thanks for your help!l
i’ll gave up on VMware
This was a huge help, thanks for sharing!
I just posted in another thread, and apologies for being repetitive but I've been trying to get Player to work for six weeks and don't know what else to do.
The foregoing all have failed. Player remains unable to open a VM. Player installs. It can install a VM from ISO and run it but the VM cannot be restarted using the VM's restart command, and cannot be opened after reboot.
What's been done:
Please see attached logs. Any suggestions that actually get the software working would be profoundly appreciated.
Trying to repeat something that failed once several times usually does not make it better - on the contrary.
Please check if you really have install the kernel headers for your running kernel.
From the looks of it VMplayer has not yet been installed completely.
Whats is the result of
uname -a
Ulli
done this and managed to get the install running. stupid me did forgot to do other checks about the version and I have now corrupted it all. guess I will just reinstall everything from scratch and see how it goes
Thanks, this worked for me on a new install of Ubuntu 22.04
O meu ubuntu 22.04 funcionou!! Obrigado
the Austkwabs solution of 04-30-2022 12:53 AM worked for me on an upgrade from Ubuntu 20.04 to 22.04
Austkwabs solution has worked fine for me. Thanks.