1

While running VMware 16 pro in My Linux Kernel i got a Error Like this..Here is the Error of Picture

Can Anyone give me solution for this :)

jamesdlin
  • 3,314

2 Answers2

9

From: ubuntu 22.04 install vm workstation error

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
Greenonline
  • 2,390
7

To use the VMware modules with newer kernels, you need some patches applied to the modules to be compatible. There is a repository that keep track of the needed patches and published them https://github.com/mkubecek/vmware-host-modules

There is a branch which host the changes needed to compile with the workstation version 16 in newer kernels.

If you get that code and compile the patched version, your VMWare will work.

git clone https://github.com/mkubecek/vmware-host-modules
cd vmware-host-modules
git checkout workstation-16.2.3
sudo make ; sudo make install
user3723763
  • 171
  • 1
  • 3