Friday, May 04, 2012

Issues with VMWare Workstation and new kernels

After installing the latest kernel package on Fedora 16, VMWare Workstation 8.0.2 stopped working. It requires certain modules to be built into the kernel and there is a script that automatically runs, compiles them, and installs. All this should be pretty straightforward except that it does not work. Module vmnet can not be started after the compilation.

Fortunately, there is a patch available at the link below. I used the one for VMWare 8.0.2. The process is as simple as extracting the files (one shell script and one patch) and running the shell script. It will patch the source and run the compilation again. After this, vmware services still don't start but the Workstation can start.

There is an error accessing ALSA sound while booting a virtual machine. Changing the sound driver to Default (ALSA) makes it work again.

Patch (link)

Update: This has to be re-applied every time kernel is upgraded. However, after installing 3.4.0 it did not work. The solution with kernel 3.4.0 is here. The files are here and, instead of using /usr/lib/vmware, you should go one level lower, to /usr/lib/vmware/modules, extract the package and run
vmware-modconfig --console --install-all

No comments: