Hello everyone, I’m trying to install version 17.0.2, rather than the latest version offered (don’t ask why). You would think to go back in the PKGBUILD history, but the version that installs 17.0.2 there has dead links. Therefore, I am trying to modify the PKGBUILD.
How would I fix this? If I install with the regular PKGBUILD, the kernel modules do work (but you can guess from the modified package name why I don’t just use that). So clearly, there has to be a way to somehow get the kernel modules working.
Hopefully I’ve provided everything needed to get help.
You can’t use an older version of vmware against a newer kernel. The host modules need patches applied to make them compatible. Of course, nobody maintains patches for old versions of vmware against new kernels.
If you apply the patches you find here you can probably run 17.0.2 against LTS. However, this isn’t really sustainable unless you are going to lock your kernel in time permanently or you are willing to develop and maintain your own patches to the modules.
So before I made this thread I emailed the maintainer (lol, don’t try this at home), and got a response. Here’s what he said (snipped as I see fit):
You will find enclosed the vmmon.patch and vmnet.patch I just created to allow VMware Workstation 17.0.2 running on Linux 6.11 (and previous). You can rebuild your package with them and that should work.
But the modules will be broken again sooner or later (maybe after Linux 6.12 upgrade) and I don't plan to maintain these patches for this intermediate version of VMware Workstation. So, for the long term, you will have 3 solutions:
- Maintaining these patches yourself. To do that, after each broken kernel upgrade, you can track the changes made on the package vmware-workstation16 and try to apply them on your package, that should work most of the time (but it's not 100% guaranteed).
- Switch on vmware-workstation16 (I guess this version doesn't use the XSAVE instruction) and let the package maintainer doing the work for you.
- Stay as long as possible on a Linux LTS version which doesn't break the kernel modules.
Right now I downgraded to VMware Workstation 16, since I did that before getting the reply (thanks, Jean-Marc!), but I guess I can upgrade to 17.0.2 (for a while, anyway).
Instructions:
yay -G vmware-workstation
Replace Jean-Marc’s PKGBUILD with mine.
Have it download its prerequisites - Press CTRL + C when it tries to download a file starting with VMware.