Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

Vmware Workstation 10.x patch for Linux kernel 3.13

Vmware Workstation breaks if you try using upcoming Linux kernel release’s and at the same time, VMWare community moves fast to push a quick patches to applied for those who dare to use cutting edge beta OS on their machines.

WoodyZ on provides a patch which just works for Linux Kernel 3.13.

Here is the patch provided from WoodyZ for your quick reference.

Apply the patch to /usr/lib/vmware/modules/source/vmnet.tar (Extract, apply the patch using patch command, compress the files back to vmnet.tar) and run vmware workstation again.


--- vmnet-only/filter.c 2013-10-18 15:11:55.000000000 -0400
+++ vmnet-only/filter.c 2013-12-21 20:15:15.000000000 -0500
@@ -27,6 +27,7 @@
#include "compat_module.h"
#include <linux/mutex.h> #include <linux/netdevice.h> +#include <linux/version.h> #if COMPAT_LINUX_VERSION_CHECK_LT(3, 2, 0)
# include <linux/module.h> #else
@@ -203,7 +204,11 @@

static unsigned int
VNetFilterHookFn(unsigned int hooknum, // IN:
+VNetFilterHookFn(const struct nf_hook_ops *ops, // IN:
struct sk_buff *skb, // IN:
@@ -252,7 +257,12 @@

/* When the host transmits, hooknum is VMW_NF_INET_POST_ROUTING. */
/* When the host receives, hooknum is VMW_NF_INET_LOCAL_IN. */
- transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
+ transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
+ transmit = (ops-&gt;hooknum == VMW_NF_INET_POST_ROUTING);

packetHeader = compat_skb_network_header(skb);
ip = (struct iphdr*)packetHeader;

Vmware workstation 8.0.4/player 4.0.4 fix for linux kernel 3.5.0

Weltall‘s blog gives us a patch to fix for vmblock installation issue for VMWare Workstation. Though he updates his blog regularly, I didn’t find the fix for Ubuntu 12.10 which runs on Linux kernel 3.5.0. One of the comments gave an hint to perform a little trick on vmblock module source of vmware workstation to get this working.
Here is how I got this working :

VMWare workstation 8.0.4 and player 4.0.4 after modifying

filesystem.c inside /usr/lib/vmware/modules/source/vmblock.tar

to look like this (Line 528)

And editing the patch file downloaded from Weltall’s blog to match workstation and player versions.

Now apply the patch and run the workstation to see the modules installation getting completed successfully.


Fix: Vmware WorkStation – Unable to change virtual machine power state: Internal error

Stale zombie processes deny starting VM’s after accidental / forceful termination of . VM Start process ends with the following error:

Unable to change virtual machine power state: Internal error

This can be resolved by sending command to -vmx command as follows

killall -s9 vmware-vmx

Now, your VM is ready to get back in action.

Tags: , , ,