Hello,
A bit of warning - what I'm about to share is more of a workaround to the problem I had. That being said, I'm sharing because someone may find it helpful.
So I recently upgraded my laptop from the 5.15 LTS kernel to the new LTS kernel, and vmnet.ko
would oops the kernel when I would try to insert it. In case someone has a similar problem, you can build the kernel modules located at (https://github.com/mkubecek/vmware-host-modules).
I was able to patch the new changes present in this repo on top of the vmware-workstation AUR repo; each vmware-workstation version has its own branch, and the changes are applied on top of the official tarball by vmware. This probably makes more sense if you look at the commit history and the list of branches.
To the maintainers of this package, here's the patch file I generated; you all should just be able to git apply $PATCH_FILE
to pull in the changes (https://gist.githubusercontent.com/CarlosM10011/ff69db0640b742bf6a5ccde6855d5c94/raw/e23f47fb2331c98ed6333427ce04fe12b94d1c91/Patch-kernel-modules-with-latest-changes.patch).
Let me know if you all have questions, and hope this helps someone.
- Carlos
Pinned Comments
jihem commented on 2020-02-10 17:29 (UTC) (edited on 2021-06-19 13:19 (UTC) by jihem)
After the first installation, please:
1) install the appropriate headers package(s) for your installed kernel(s): linux-headers for default kernel, linux-lts-headers for LTS kernel...
2) reboot or load vmw_vmci and vmmon kernel modules (modprobe -a vmw_vmci vmmon)
3) Enable the services you need (using .service units to activate them during boot or .path units to activate them when a VM is started) :
vmware-networks: to have network access inside VMs
vmware-usbarbitrator: to connect USB devices inside VMs