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?
Didn't use Wrokstation 16.2.3 for couple of months and ran again recently and had same error with recompiling vmmem/vmmon stuff (probably updates overwriten some changes, I don't know).
I saw that 16.2.4 is out, so I uninstalled 16.2.3 and installed 16.2.4 and it worked for me without this hackery on Kubuntu 22.04 (kernel 5.15.0-41). So I should probably say "finally!" 🙂
My solution script, which works with my current kernel/PopOS! after the 16.2.4 still failed...
------
#!/bin/sh
wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-16.2.4.tar.gz
tar -xzf workstation-16.2.4.tar.gz
cd vmware-host-modules-workstation-16.2.4
tar -cf vmmon.tar vmmon-only
tar -cf vmnet.tar vmnet-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all
The "Second method (replace original tarballs)" method listed on this page worked for me on 22.04 with kernel 5.18.10-76051810-generic
https://github.com/mkubecek/vmware-host-modules/blob/master/INSTALL
this happens also on Ubuntu 20.04 with newer Kernel 5.15,
fortunately the solution provided works also for 20.04;
Which specific files did you copy over? Path? The vmmon.tar or vmmon-only...etc
"in addition to this steps i copied vmmon and vmnet to /dev/"
Worked for me Thanks!!!