Zhmayev Yaroslav

Linux Kernel 4.9 and VMware Workstation >12.5.x

December 20, 2016

After updating our test system to Kernel 4.9 we realized that VMware v12.5.0 failed start and recover (while trying to compile VMware kernel modules)..

So after analyzing error logs and 4.9.x changelogs we decided to try fixing both vmmon and vmnet modules and patch them to work with Kernel 4.9.x

Step 1. You have to extract the content of both modules:

Step 2. Find the following portion of code in /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c file

and replace it with

Step 3. Pretty much the same story for /usr/lib/vmware/modules/source/vmnet-only/userif.c file

which should look like this

Step 4. Repack modified modules back in order to make VMware use patched sources

Warning - This is not an official patch probably this incompatibility will soon be fixed by VMware, but at least for now it compiles, modules seem load and run correctly


Your email address will not be published.