Reaching out to others! Contact for Consulting on Infrastructure Management, Solutioning, Cloud Support etc..

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 https://communities.vmware.com 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 @@
#endif</code>

static unsigned int
+#if LINUX_VERSION_CODE &lt; KERNEL_VERSION(3, 13, 0)
VNetFilterHookFn(unsigned int hooknum, // IN:
+#else
+VNetFilterHookFn(const struct nf_hook_ops *ops, // IN:
+#endif
#ifdef VMW_NFHOOK_USES_SKB
struct sk_buff *skb, // IN:
#else
@@ -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);
+
+#if LINUX_VERSION_CODE &lt; KERNEL_VERSION(3, 13, 0)
+ transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
+#else
+ transmit = (ops-&gt;hooknum == VMW_NF_INET_POST_ROUTING);
+#endif

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

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: , , ,

Linux powered Large Hadron Collider

Worlds largest physics project kicks off its operation by allowing the first light beam through its $10 billion LHC accelerator. There is an interesting news for Free and OpenSource software enthusiasts. Believe it  or not Large Hadron Collider (LHC) runs on “Linux”.

Image: View of the Computer Center during the installation of servers. (Maximilien Brice; Claudia Marcelloni, © CERN) Source: Boston.com

Yes, CERN is running a custom Linux distribution called CernVM inside the LHC Computing Grid (LCG - https://lcg.web.cern.ch/LCG). Its one of the Scientific Linux distribution running directly on the hardware.

The core reason behind choosing Linux for LHC is that, its not at a risk from the blue screen of death.

Following information has been revealed by Sean Michael Kerne on InternetNews.com:

CERN itself is no stranger to Linux and is one of the lead backers of the Scientific Linux distribution, which is a recompiled version of Red Hat Enterprise Linux.

VMWare also powers LHC Computing Grid:
Read the complete storyVMware Fusion Helps CERN Physicists Analyze Data From Coolest Place on Earth

VMware Remote Console Plug-in – Firefox 3.0.x hack

Today I was in a bad need of VMWare Server as I wanted to test VMWare products and I also had to test an operating system. I had downloaded VMWare Server 2.0 RC2 Beta couple of weeks back for testing purpose which didn’t get installed pretty easily for me earlier as I had old VMWare installation which was kinda screwed up. I cleared up all old mess and installed VMWare Server 2.0 Beta freshly and found that it comes with VMWare Infrastructure Management web console for managing the VMWare Servers and other infrastructure. Its pretty cool to run and manage the complete IT infrastructure via a single console and that is what I’m trying to achieve.

Though things went on smooth, bad luck stuck me when I was supposed to be using the software which I had just installed. VMWare Remote Console plug-in which gets installed on to your browser while you try accessing a new server which you create via web interface didn’t work and I learned that it was not compatible with Firefox 3.0.1.

To get this issue resolved, you need to wait for VMWare team to release the new plug-in (for which you might have to download the software completely if they don’t made this plug-in available separately) or you got to hack into the plug-in your self. Guess what, I choose the second path.

Downloaded the plug-in to my local directory.

links https://localhost/ui/plugin/vmware-vmrc-linux-x86.xpi

Unzipped the xpi file

unzip vmware-vmrc-linux-x86.xpi

Edit install.rdf to change the Versions supported by this plugin. Check for the following lines. (I have changed the MaxVersion to 3.0.* instead of 3.0.0.*)

{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
1.0
3.0.*

Remove the xpi file

rm -f vmware-vmrc-linux-x86.xpi

Repack the content with the new install.rdf

zip -r vmware-vmrc-linux-x86.xpi *

Now drag and drop this file to Firefox browser to get it workinig.

If you want this file to be available for others also, make it available in the server on which VMWare server is running. This can be done by copying the fresh .xpi file to following location :

cp vmware-vmrc-linux-x86.xpi /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin

Now when others try accessing the web console from their browser new plugin will be downloaded and they will never come to know that the original plug-in had any issue with compatibility.

Here I go with VMWare on my Firefox. Use this hack and enjoy VMWare web access on new browser releases. Don’t wait for things to happen. Make it happen.