Installing VM Ware Workstation required tools from build vmmon and vmnet
patch VMware 17.5.0
Since you're specifically on 17.5.0 + kernel 6.8, you can use the maintained host-module patches.
The project documents replacing VMware's vmmon.tar and vmnet.tar with patched versions and then running vmware-modconfig.
First install the required build packages:
sudo apt update
sudo apt install -y build-essential linux-headers-$(uname -r) git
Then download the VMware 17.5.0 host-module source:
cd /tmp
git clone https://github.com/mkubecek/vmware-host-modules.git
cd vmware-host-modules
git checkout workstation-17.5.0
You can browse the upstream project here:
vmware-host-modules on GitHub
Now build:
make
If that succeeds, you should have:
vmmon-only/vmmon.ko
vmnet-only/vmnet.ko
Then install:
sudo make install
Finally:
sudo depmod -a
sudo modprobe vmmon
sudo modprobe vmnet
Check:
lsmod | grep -E 'vmmon|vmnet'
You should see something similar to:
vmnet
vmmon
Then start VMware.
If make fails
Because your exact combination is:
VMware 17.5.0
Linux 6.8.0-138-generic
I'd not randomly apply patches from different VMware versions.
The upstream project's documentation specifically warns that the branch should match the installed VMware version; mixing module versions can cause VMware to refuse to load them.
There are also newer maintained forks that specifically target recent Ubuntu/Debian kernels, but I'd try the matching upstream branch first.
For example, one maintained fork reports testing newer VMware versions against kernels up to 6.10/6.11.
Comments
Post a Comment