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.
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?
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
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.
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:
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
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.