Kernel problem: Instalation VMWare Server 2.1 on Opensuse 11.1

Hey guys,

first of all, please excuse my bad english.
I’m from Germany.

We rent a dedicatet server at Strato.de.
I need to install VMWare Server.

Actually this should be no Problem for me.
I installed the server an patch.
When I run the vmware-config.pl starts the problems:

Your kernel was built with "gcc" version "4.3.2", while you are trying to use
"/usr/bin/gcc" version "4.3". This configuration is not recommended and VMware
Server may crash if you'll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.3" anyway? [no]

I submit “y”.

Then the following message is shown:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

If i accept:

The directory of kernel headers (version 2.6.27.56-0.1-default) does not match
your running kernel (version 2.6.27.29-0.1-default).  Even if the module were
to compile successfully, it would not load into the running kernel

.

In /usr/src are just the folders for the 2.6.27.56.
uname -r shows me, that 2.6.27.29 is installed.
/usr/src/linux links /usr/src/linux-2.6.27.56-0.1

So I decided to download the 2.6.27.29 source and run
make oldconfig && make

Back to the installation I typed in /home/linux/linux-2.6.27.29/include

The installation goes a little bit further:

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /home/linux/linux-2.6.27.29/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/home/linux/linux-2.6.27.29'

  WARNING: Symbol version dump /home/linux/linux-2.6.27.29/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config2/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config2/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config2/vmmon-only/common/hashFunc.o
  CC [M]  /tmp/vmware-config2/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config2/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config2/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-config2/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config2/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config2/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config2/vmmon-only/vmmon.ko
make[1]: Leaving directory `/home/linux/linux-2.6.27.29'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config2/vmmon.o': -1 Invalid module format
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".

Execution aborted.

Now to my questions:

How can I make the the server works with GCC 4.3.2?
How can I upgrade the Kernel to 2.6.27.56, or downgrade to 2.6.27.29?

Thanks a lot.

On 2011-01-05 14:06, motu84 wrote:
> Code:
> --------------------
> The directory of kernel headers (version 2.6.27.56-0.1-default) does not match
> your running kernel (version 2.6.27.29-0.1-default). Even if the module were
> to compile successfully, it would not load into the running kernel
> --------------------

Running kernel, its rpm and the sources have to match. Properly update that
installation.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Hey,

bad question, but how can I do that from the console?

I tried YOU, but maybe I made a mistakte.
Nothing changed after that.

Greetings.

On 2011-01-06 15:06, motu84 wrote:
>
> Hey,
>
> bad question, but how can I do that from the console?
>
> I tried YOU, but maybe I made a mistakte.
> Nothing changed after that.

Yast, text mode, works. You also have zypper.

But this being a rented server, I don’t know if you are limited in what you
are allowed to do.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)