17.02.2017 VMWare kernel 4.9 vmmon vmnet failed patch (UNOFFICIAL!)
[vmwkp4.9.tar] md5 [9e6040716b3001912147e23a10c4c596] sha256 [f41e4e65130c259f2d60d2a20f1b73554e88b80f3840065bb9d5edef1a1f1698]
/ *************************************************
VMWare kernel >= 4.9 Unofficial patch script by D7X
(Fixes the VMWare vmnet / vmmon failed issue on kernel 4.9)
See log file /tmp/vmware-root/vmware-2469.log for details.
Steps:
1) Install vmware on kernel >= 4.9 using VMWare bundle script
2) Run this script (chmod +x vmw_patch.sh; ./vmw_patch.sh)
Tested on 4.9.0-kali1-amd64:
Linux version 4.9.0-kali1-amd64 (devel@kali.org) (gcc version 6.3.0 20170124 (Debian 6.3.0-5) ) #1 SMP Debian 4.9.6-3kali2 (2017-01-30)
ADDITIONAL INFORMATION:
Fixes the vmnet/vmmon failure on kernel 4.9 where VMWare failes to start services and prompts an error message similar to this:
Unable to start services. See log file /tmp/vmware-root/vmware-3823.log for details.
#tail /tmp/vmware-root/vmware-2469.log
2017-02-17T01:19:22.285+02:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.9.0-kali1-amd64/misc/vmmon.ko".
2017-02-17T01:19:22.285+02:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2017-02-17T01:19:22.293+02:00| vthread-4| I125: Successfully extracted the vmmon source.
2017-02-17T01:19:22.293+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-EeQ71K/vmmon-only auto-build HEADER_DIR=/lib/modules/4.9.0-kali1-amd64/build/include CC=/usr/bin$
2017-02-17T01:19:23.687+02:00| vthread-4| W115: Failed to build vmmon. Failed to execute the build command.
2017-02-17T01:19:23.688+02:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.9.0-kali1-amd64/misc/vmnet.ko".
2017-02-17T01:19:23.688+02:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2017-02-17T01:19:23.692+02:00| vthread-4| I125: Successfully extracted the vmnet source.
2017-02-17T01:19:23.692+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-EeQ71K/vmnet-only auto-build HEADER_DIR=/lib/modules/4.9.0-kali1-amd64/build/include CC=/usr/bin$
2017-02-17T01:19:25.164+02:00| vthread-4| W115: Failed to build vmnet. Failed to execute the build command.
CREDIT FOR MAKING THIS SCRIPT POSSIBLE GOES TO:
Robert Gadsdon (for the method)
bobdtc (for the depmod part at the end)
*************************************************** /