Zhmayev Yaroslav

Ядро Linux 4.9 и VMware Workstation >12.5.х

Декабрь 20, 2016
2 277

Извините, этот техт доступен только в “Американский Английский”. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.

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


Ваш e-mail не будет опубликован.