Monday, August 22, 2011

VMware cannot compile modules in kernel 2.6.40*

If you update you Linux and VMware just went down and saying that
it needs to compile somethings and load some modules to your kernel and
then every thing goes wrong

I tried a lot of patches on the net and nothing works for kernel 2.6.40 and later

and after investing a lot of time in this problem here is the solution

I made a new post that contains the solution to all VMware installation problems on Linux
You can visit it HERE

This is an update for this topic
before doing the steps you need to download a patch and apply it then
you can do the steps if the patch did not bear fruit

to download the patch  Click Here

The maker of the patch is from 

Weltall's blog

The link of the original patch post

Patch post


I executed the patch but only executing it is not enough and i found that the files are not in its place so now we are going to put the in place
Note: if you use VMware 8 this steps do not work this topic goes for VMware 8

Now if the path did not work it does not mean that it did not do its job

Th problem is that the fixed modules are not in its place so by following this steps you will but the modules in its right place

First of all log into your system as root using
su
1- Go to
/usr/lib/vmware/modules
2- Copy its content to any place, in my case i copied it to
~/Desktop/New Folder
 3- Extract the tar file you copied each one to its own folder and make sure that you have the following folders contains some folders and file that VMware will use
    vmblock-only
    vmci-only
    vmmon-only
    vmnet-only
    vsock-only
4- In command line go to:
/tmp/vmware-root
5- Copy the tar files and the extracted folders directly to this folder.
6- Run the a VMware product ( Workstation or Player) and it will compile and load the necessary modules to your kernel

** Note that i have uploaded the modules that is working for my Linux (Fedora 15 with kernel 2.6.40.3-0.fc15.x86_64 Using Xfce desktop environment)

Download the module from here

Please comment on this topic


Please support me by downloading this file
Click Here to download

No comments:

Post a Comment