@jihem
That makes sense - he also does a good job of making each commit be cherry-pickable. I think the one that fixes the oops is 3bfe216f5b: vmnet: use explicit module_init() and module_exit() (#187). That was the last one I picked before the kernel did not oops anymore. However, I also had picked e3f4f1774: modules: rename conflicting DO_ONCE() macro, and cf2b9221a: vmnet: work around field-spanning write warning (#195). I'm not sure if these 2 commits are necessary though?
Thanks so much for pulling these Changes.
EDIT: here's the updated patch with only these three commits (https://gist.githubusercontent.com/CarlosM10011/c6b8a4f34d43516e377ab93548744a2d/raw/318c9ed4166cd775e9769751360e33127c4f9a8b/0001-Patch-modules-for-linux-6.1-and-linux-6.2.patch).
I can confirm that this inserts into both the LTS and mainline kernels packaged by Arch and am running a Windows VM with no problems on the LTS kernel.
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