You are not logged in.
When I try to start vmware I get this:
"Kernel headers for version 2.6.33-ARCH were not found" though they are installed.
For me to get VMware running I always did:
sudo vmware-modconfig --console --install-all
but since the last update that doesn't do the trick anymore. I only get:
"gcc and kernel headers must be installed"
In theory I've found the solution on the vmware forums, it starts like this...
2.6.33 kernel changes ALOT about the way the headers are laid out. It took me a few hours but i finally got vmware server to work with 2.6.33. basicly i did BOTH this...
You can see his workaround here: http://communities.vmware.com/thread/257472 --
but I have to admit, that's too complicated for someone like me. Isn't there any other way
to get it working? If there is no other way, could someone be so kind to eleborate his solution a little?
Thank you.
EDIT: I did it with the adriandelatabla method, but thanks to everybody else who has commented in this thread too.
Last edited by tabelle (2010-04-22 17:01:46)
Offline
Hi, this is what a did to make it work.
First, apply the patch mentioned in the Arch Wiki for VMware for kernel 2.6.32,
here is a script and the patch, don't forget to run the script as root (or using sudo)
http://communities.vmware.com/thread/239221
Then, for the missing kernel header problem
# cd /usr/src/linux-2.6.33-ARCH/include/
# ln -s ../generated/autoconf.h .
# ln -s ../generated/utsrelease.h .
And finally
#vmware-modconfig --console --install-all
Hope it helps
Forgot to mention, about the symlink creation, I took the info from here: http://www.vislab.uq.edu.au/howto/vmware.html
Last edited by adriandelatabla (2010-04-12 16:20:47)
Offline
Thanks for the solution !
However, I think there might be a slight mistake in your instructions
# cd /usr/src/linux-2.6.33-ARCH/include/linux/
The modules are compiling here but vmplayer crashes on startup... no error messages...
Last edited by Decapsuleur (2010-04-13 00:51:07)
Offline
The followings may help you.
http://bbs.archlinux.org/viewtopic.php? … 00#p741400
Offline
What also works is by compiling the VM modules (VMblock, VMci, VMmon, VMnet, Vsock) by hand.
I got VMware Server 2 running with a kernel 2.6.33 and I got the modules from VMware Workstation 7.1 beta, but found the same modules in VMware Player 3. The modules are GPL.
Remember that vsock module has to be done last and with server 2 the the vmware start script must be changed in order to skip the check if vmware is configured or not.
Here is a script I used to automate it all:
#!/bin/sh
/etc/init.d/vmware stop
# clean up all the existing build dirs...
find -maxdepth 1 -type d -name "??*" -exec rm -rf {} \;
#unpack the tarballs
for a in *.tar; do tar xf $a; done
patch -p1 < CP.patch
for a in $(find -maxdepth 1 -type d -name "vm*") ; do
pushd $a
make
popd
done
pushd vsock-only
cp ../vmci-only/Module.symvers .
make
popd
test -d /lib/modules/$(uname -r)/misc || install -d /lib/modules/$(uname -r)/misc
find -name "*.ko" -exec install -t /lib/modules/$(uname -r)/misc {} \;
depmod -aq
/etc/init.d/vmware start
Offline