Friday, March 27, 2015

Install VMware workstation 11 on Fedora 21 with kernel 3.17

Here is some solutions which might be able to help you during your VMware workstation 11 installation on Fedora 21 with kernel 3.17.

1. When you try to power on a virtual guest, you received error : "Unable to change virtual machine power state internal error".

Change the option mks.enable3d in the .vmx file from TRUE to FALSE.

mks.enable3d = FALSE

2. When you try to power on a virtual guest, you received error: "Version mismatch with vmmon module: expecting xxx.x, got yyy.y. You have an incorrect version of the 'vmmon' kernel module.

Try command below, these steps will help to patch vmnet source code:

# curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch
# cd /usr/lib/vmware/modules/source
# tar -xf vmnet.tar
# patch -p0 -i /tmp/vmnet-3.19.patch
# tar -cf vmnet.tar vmnet-only
# rm -rf *-only
# vmware-modconfig --console --install-all


3.  When you try to power on a virtual guest, you received error: "Failed to open device "/dev/vmci" : No such file or directory. Please make sure that the kernel module 'vmci' is loaded."


Execute the following command to build and install vmci module:

#vmware-modconfig --console --build-mod vmci
# vmware-modconfig --console --install-all


4. When you issue command "vmware-modconfig --console --install-status" at the command prompt and you found that vsock status is not installed.

If you try to use command "vmware-modconfig --console --build vsock" to build vsock module at the command prompt, you see some error like:

error: too many arguments to function ‘sk->sk_data_ready’
sk->sk_data_ready(sk, 0);

Try the steps below to patch the vsock source code:

# curl https://raw.githubusercontent.com/rasa/vmware-tools-patches/master/patches/vsock/01-vsock-sk_data_ready-kernel-3.15-tools-9.6.2.patch -o /tmp/vsock.patch
# cd /usr/lib/vmware/modules/source
# tar -xf vsock.tar
# patch -p0 -i /tmp/vsock.patch
# tar -cf vsock.tar vsock-only
# rm -rf *-only

# vmware-modconfig --console --build vsock
# vmware-modconfig --console --install-all


After you try steps above, when you issue command "vmware-modconfig --console --install-status", you should the result should be like the below: 

vmmon: installed
vmnet: installed
vmblock: unknown
vmci: installed
vsock: installed


This is the result after I fix all the error that I get.

VMware Workstation Running on Fedora 21 with Kernel 3.17.8
Wish this solution will be able to help you on your VMware Workstation 11 installation.



---