You are not logged in.

#1 2010-04-12 14:14:47

tabelle
Member
From: Uganda
Registered: 2009-09-09
Posts: 17

[SOLVED] VMware Workstation 7 doesn't work since Kernel26.33

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

#2 2010-04-12 16:19:17

adriandelatabla
Member
Registered: 2010-04-12
Posts: 6

Re: [SOLVED] VMware Workstation 7 doesn't work since Kernel26.33

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

#3 2010-04-13 00:43:01

Decapsuleur
Member
Registered: 2008-06-30
Posts: 14

Re: [SOLVED] VMware Workstation 7 doesn't work since Kernel26.33

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... hmm

Last edited by Decapsuleur (2010-04-13 00:51:07)

Offline

#4 2010-04-14 09:19:10

blowback
Member
From: Japan
Registered: 2008-11-03
Posts: 18

Re: [SOLVED] VMware Workstation 7 doesn't work since Kernel26.33

Offline

#5 2010-04-15 08:13:05

dedenker
Member
Registered: 2010-04-15
Posts: 1

Re: [SOLVED] VMware Workstation 7 doesn't work since Kernel26.33

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

Board footer

Powered by FluxBB