VMWare Installation Problem

I have installed OpenSUSE 11.3 64 bit and want to install VMWare workstation 7.1.

I have run the install script for VMWare without any issues.

When I start the VMWare Workstation I get a window saying this:

Before you can run VMWare, several modules must be compiled and loaded into the running kernel.
Kernel Headers 2.6.34-12-desktop
Kernel headers for version 2.6.34-12-desktop were not found.

What should I do?

Hi
32 or 64bit system? There is some patching to do to fix the discrepancy
with the change in header location.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.4-default
up 9:55, 2 users, load average: 0.01, 0.05, 0.07
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Did you install the kernel development packages using Yast > Software Manager ?

Workstation 7.1 installs fine for me on 3 machines with new 64 bit 11.3 installs.

Hi
It installs fine (I’m using 6.5.4 though) it’s building the modules
that you can strike issues because autoconf.h and utsrelease.h are now
in the generated directory rather than the linux one.

Now, hopefully the OP has installed the kernel-source, kernel-syms,
linux-glibc-devel (a.k.a. linux-kernel-headers), make, gcc and gcc-c++.

You didn’t run into the compat_wait.h and compat_page.h errors?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.3 (x86_64) Kernel 2.6.34-12-default
up 1:54, 2 users, load average: 0.00, 0.01, 0.00
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

You didn’t run into the compat_wait.h and compat_page.h errors?

I didn’t get any errors.

I always install Gnome dev, kernel dev patterns rather than checking individual packages.

Works without error.

I just have to remember to disable ipv6 or VMs don’t start after reboot.

Hi!
I cannot install vmware server!
Can you help me pls?
"What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path “/usr/src/linux/include” is a kernel header file directory, but it
does not contain the file “linux/version.h” as expected. This can happen if
the kernel has never been built, or if you have invoked the “make mrproper”
command in your kernel directory. In any case, you may want to rebuild your
kernel."

uname -r = 2.6.34-12-desktop
I have installed kernel-default, kernel-devel, kernel-source

ty

I have the same problem. VMWare server doesn’t find the kernel-headers anymore, even if everything is installed the way as in the previous opensuse versions.

Has anyone a hint?

I cannot install a VMWare player as a workaround because the server has no window manager installed.

Best regards
Werner

If your having trouble compiling the vmware, you’ll probably have to make a symlink in

/usr/src/linux-2.6.34-12/include/linux

that points to

/usr/src/linux-2.6.34-12-obj/x86_64/desktop/include/generated/autoconf.h

so something like :


ln -s /usr/src/linux-2.6.34-12-obj/x86_64/desktop/include/generated/autoconf.h /usr/src/linux-2.6.34-12/include/linux/autoconf.h

this should allow you to compile the necessary modules for vmware.

On 2010-07-26 09:06, speedysupranet wrote:
>
> I have the same problem. VMWare server doesn’t find the kernel-headers
> anymore, even if everything is installed the way as in the previous
> opensuse versions.

For vmware server, you have to patch it.

I don’t have the exact link available, but have a look here, I think this is it:

http://radu.cotescu.com/2010/01/19/how-to-install-vmware-server-ubuntu-fedora-opensuse/


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

Hi,

do I get it right that you were able to install VMware workstation 6.5.4 on openSUSE 11.3 ??
That’s my main problem at the moment. I have an old laptop (ACER TravelMate 6003LMi with 1.6GHz Pentium M without PAE support, 2GB RAM). After installation of openSUSE 11.3, my VMware workstation 6.5.4 ist no longer able to compile its kernel modules. I always get the message:

Before you can run VMWare, several modules must be compiled and loaded into the running kernel.
Kernel Headers 2.6.34-12-default
Kernel headers for version 2.6.34-12-default were not found.

My first idea was a stupid one; I upgraded to VMware 7.1, installed it (fine), started it (fine), opened my existing virtual machine (fine) and tried to boot it (failed). Here I got a small message that VMWare cannot proceed since my processor does not support PAE. Don’t ask me why one doesn’t get this message already during the installation process.
So I have to get my old VMware workstation 6.5.4 working on openSUSE 11.3 but everything I tried so far, didn’t help. The kernel source are definitely installed.

Hi
Yes, I just created softlinks to the two files so it wouldn’t barf,
here is my script (needs to be run as root user);


#!/bin/bash
cd
cp -prn /usr/lib/vmware/modules/source /usr/lib/vmware/modules/source-backup
mkdir fixed
cd fixed
find /usr/lib/vmware/modules/source -name "*.tar" -exec tar xf '{}' \;

## add missing header on kernels
sed -i '/#include "compat_wait.h"/a\#include "compat_sched.h"' vmnet-only/vnetUserListener.c
sed -i '/#include "compat_page.h"/a\#include "compat_sched.h"' vmci-only/include/pgtbl.h
## comment out an invalid definition
sed -i 's|\(extern void poll_initwait(compat_poll_wqueues \*);\)|//\1|' *-only/include/compat_wait.h

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 vmppuser.tar vmppuser-only
tar cf vsock.tar vsock-only

cp -p *.tar /usr/lib/vmware/modules/source

cd /lib/modules/`uname -r`/build/include/linux
ln -s ../generated/autoconf.h
ln -s ../generated/utsrelease.h
cd

vmware-modconfig --console --install-all

# clean up
cd
rm -rf fixed
cd /lib/modules/`uname -r`/build/include/linux
rm autoconf.h utsrelease.h
cd /usr/lib/vmware/modules/
rm -rf source-backup
cd

Thanx a lot !!
That script worked really fine !!

Hi
So I’m guessing your all up and running with vmware now?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.3 (x86_64) Kernel 2.6.34-12-default
up 6 days 3:06, 4 users, load average: 0.34, 0.14, 0.10
GPU GeForce 8600 GTS Silent - Driver Version: 256.44

Thank you very much. I tried without any succes for days…
Now everything is up and running with VMWare Workstn 6.5
pinselohr

Question, I am a n00b to the vmware world…I am running Win 7 but I wanted to install SuSE 11.3 virtually…do I just use the regular SuSE install dvd for 64bit?

Hi
Yes, if your running 64bit windows or you could also install the 32bit version, which may be a better option unless you have lots of ram to allocate…

Hi,
the automatic update installed a new kernel on my system. formerly “2.6.34.12-desktop” and now “2.6.34.4-0.1-desktop” and once again vmware needs to be installed. Not to long ago I have found help here with the script of malcolmlewis, but this time and after the update it will not work.

Running OpenSUSe 11.3 64bit

Any help or idea will be much appreciated.

Thank you
pinselohr

Hi
I ran the script here and it worked fine to rebuild the modules?

You should only need to be root user in a terminal and run the script
nothing else…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.3 (x86_64) Kernel 2.6.34.4-0.1-default
up 1 day 18:17, 2 users, load average: 0.02, 0.02, 0.00
GPU GeForce 8600 GTS Silent - Driver Version: 256.53

I had the same problem with VMware Workstation 7.0. Installing ‘kernel-desktop-devel’ did the trick.

Note that I installed ‘kernel-source’ prior to it and it did not resolve the issue. There may be a dependency issue but I cannot confirm it.

Good luck!

Thank you all,

I was so shure that I had installed the “kernel-desktop-devel”, but after using YAST I knew that I was wrong.:shame:

The script again did its job and I am happy to have my VMWare back.

Thanks again
pinselohr