Solved) Can't open VMWare Player after kernel upload on Ubuntu

I upgraded Ubuntu from 11.04 to 11.10, then opening VMWare Player gets to show error:

Unable to build kernel module.
See log file /tmp/vmware-root/setup-730.log for details.

In the indicated log file:

Jan 27 18:32:07.783: app-140083871545120| Trying to find a suitable PBM set for kernel 3.0.0-15-generic.
Jan 27 18:32:07.784: app-140083871545120| Building module vmmon.
Jan 27 18:32:07.784: app-140083871545120| Extracting the sources of the vmmon module.
Jan 27 18:32:07.859: app-140083871545120| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPP
ORT_SMP=1 HEADER_DIR=/lib/modules/3.0.0-15-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.1
Jan 27 18:32:12.459: app-140083871545120| Failed to compile module vmmon!

Solution was to apply the patch found here. I just copy it and paste below:
sudo -i
mkdir /tmp/vmware && cd /tmp/vmware
cp -R /usr/lib/vmware/modules/source/
cp -R /usr/lib/vmware/modules/source/ /tmp/vmware
cd /tmp/vmware/source
wget http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/05/vmware2.6.39patchv3.tar.bz2
tar -jxvf vmware2.6.39patchv3.tar.bz2
for i in ./*.tar; do tar -xf $i; done
for i in ./*.tar; do mv $i $i.orginal; done
patch -t -f -p1 < vmware2.6.39fixedv3.patch
tar cf vmblock.tar vmblock-only
tar cf vmci.tar vmci-only
tar cf vmmon.tar vmmon-only
tar cf vmnet.tar vmnet-only
tar cf vsock.tar vsock-only
cp -vf *.tar /usr/lib/vmware/modules/source/
Note that you need to replace some character codes; '&amp and so on.


Sneakers in the heart of US politics.

Comments

Popular Posts