hey folks,

new version - new problems! ubuntu 10.10 with the 2.6.35-22 kernel needs more attention (see articel “installing vmware workstation 6.5.x on ubuntu”). here [1] i found the first solution for the problem “gcc and kernel headers must be installed”. it was necessary to link two header files to the include/linux directory. the next problem was the vsock module. the solution can be found here [2].

summarized there are following steps to be done:

in one terminal, run:

while true; do sudo killall -9 vmware-modconfig-console; sleep 1; done

in a second terminal, run:

sudo ./VMware-Workstation-6.5.4-246459.x86_64.bundle –ignore-errors

kill loop in first terminal. and now those commands:

cd /tmp vi vmnet-only/vnetUserListener.c (near line 37 add #include “compat_sched.h”) tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only tar xf /usr/lib/vmware/modules/source/vmci.tar vi vmci-only/linux/vmciKernelIf.c (add #include “compat_sched.h” around line 30) vi vmci-only/include/pgtbl.h (add #include “compat_sched.h” around line 30) tar cf /usr/lib/vmware/modules/source/vmci.tar vmci-only tar xf /usr/lib/vmware/modules/source/vmnet.tar cd /usr/src/linux-headers-2.6.35-22-generic/include/linux/ ln -sf ../generated/autoconf.h . ln -sf ../generated/utsrelease.h . cd /usr/lib/vmware/modules/source cp -a vsock.tar vsock-orig.tar tar xf vsock.tar cd /usr/lib/vmware/modules/sourcevsock-only/linux patch -p0 < /path/to/vsock.patch cd /usr/lib/vmware/modules/source tar cf vsock.tar vsock-only rm -rf vsock-only

and now finally

cd /tmp sudo vmware-modconfig –console –install-all

hopefully everything went fine ;)

thanks for all the fish!

[1] “VMWare Workstation 6.5.4 with Linux kernel 2.6.33.4” (http://bovitron.com/blogostu/2010/06/01/vmware-workstation-with-linux-kernel-2-6-33-4)

[2] “Persuading VMware Workstation 7.1 to cooperate with Linux kernel 2.6.35” (http://www.linuxinsight.com/persuading-vmware-workstation-7.1-to-cooperate-with-linux-kernel-2.6.35.html)

[3] vsock.patch