VMware Workstation on Fedora 14 unable to build kernel module
*13/04/2011 UPDATE* Just a quick note to let you all know that VMware released a few updates to VMware workstation 7.1 branch (I’m using 7.1.4 as per this note) that completely solved all compatibility problems with 2.6.35+ kernels so a good starting point is downloading the updated version from the website and you will be able to correctly install the product without the need of any patch or workaround.
As you know Fedora 14 is out and I’ve already upgraded my systems to the latest release, but as I always say adopting a new technology, or release in this case, often means dealing with undocumented problems that can arise during the usage.
I use a lot of virtual machines and for this purpose I prefer VMware products, yesterday evening while trying to install VMware workstation (but the same has been going on with the VMware player) I faced a few problems specifically an cryptic error Unable to build kernel module.
So after I’ve installed Fedora 14 I’ve proceeded installing the required dependencies needed by VMware workstation to compile the required kernel modules with the following command :
yum install kernel-devel kernel-headers gcc
I then downloaded the installation package and proceeded with the installation, everything went smooth until I tried to launch the software task that failed with the error unable to build kernel module. See log file /tmp/vmware-root/setup…. which is reported below :
Failed to compile module vmmon!
After a bit of googling I’ve been able to find a script that was aimed to solve this kind of problem with kernel 2.6.35 which is exactly the kernel running on my Fedora 14. To solve the problem simply issue the following commands :
cd /tmp/ wget http://sputnick-area.net/scripts/vmware7.1.1-patch-kernel-2.6.35.bash chmod +x vmware7.1.1-patch-kernel-2.6.35.bash ./vmware7.1.1-patch-kernel-2.6.35.bash
Once you’ve launched the script VMware will be able to correctly compile all the needed modules for VMware Workstation/Player with the following command :
vmware-modconfig --console --install-all
VMware will go through the compilation process and you will be able to use your favourite virtualization software. I hope you will find this post useful, please feel free to share and re-tweet helping the blog to grow.
As usual please let me know if you face any problem or need any further information.
Incoming search terms:
- failed to compile module vmmon fedora 15
- vmware workstation fedora 15
- Failed to compile module vmmon!
- unable to build kernel module
- Failed to compile module vmmon
- Failed to compile module vmmon! fedora 15
- fedora 15 Failed to compile module vmmon
- fedora vmware workstation patches
- unable to build kernel module vmware
- fedora 15 vmware workstation