Page 1 of 1

komme nicht weiter mit VMWare Server 1.0.8

Posted: 2008-12-22 10:26
by Anonymous
Hallo,

Ich versuche seid gestern vmware server auf mein 1und1 l64 rootserver zu installieren. Habe für mein system die rpm datei runter geladen dann mit rpm -ihv installiert. Das hat ja auch gut hingeauen. Jetzt habe ich die config datei von vmware server aufgerufen, bis da kammen keine fehler. Jetzt stehe vor der frage
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Wenn ich jetzt auf enter drücke dann kommt die frage wieder.
Kann mir jemand dabei helfen?

MFG
pfreak

Re: komme nicht weiter mit VMWare Server 1.0.8

Posted: 2008-12-22 11:21
by Joe User
Der Kernel-Source zum laufenden Kernel ist unter /usr/src/linux installiert?

Re: komme nicht weiter mit VMWare Server 1.0.8

Posted: 2008-12-22 11:28
by Anonymous
habe jetzt denn aktuellen kernel installiert (kernel 2.16.27.10). Jetzt bekomme ich ne fehler meldung.
kernel? [/usr/src/linux-2.6.27.10/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /usr/src/linux-2.6.27.10/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.27.10'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/./include/x86.h:24,
from /tmp/vmware-config2/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:53:
/tmp/vmware-config2/vmmon-only/./include/x86paging.h:61:1: warning: "PTE_PFN_MASK" redefined
In file included from include/asm/pda.h:8,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:16:
include/asm/page.h:22:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config2/vmmon-only/linux/vmhost.h:13,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:84:
/tmp/vmware-config2/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config2/vmmon-only/linux/driver.c:171: error: unknown field ânopageâ specified in initializer
/tmp/vmware-config2/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c:175: error: unknown field ânopageâ specified in initializer
/tmp/vmware-config2/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c: In function â__LinuxDriver_Ioctlâ:
/tmp/vmware-config2/vmmon-only/linux/driver.c:1781: error: too many arguments to function âsmp_call_functionâ
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.10'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference ... linux.html".

Execution aborted.
MFG
pfreak

Re: komme nicht weiter mit VMWare Server 1.0.8

Posted: 2008-12-22 11:46
by Joe User
Du kannst nicht einfach irgendeinen Kernel-Source installieren und zum Bauen von 3rd-Party-Modulen verwenden. Installiere also bitte den Kernel-Source, inklusive aller nötigen Patches, der zu dem aktuell auf Deinem Server laufenden Kernel gehört. Danach muss der Source exakt so konfiguriert werden, wie der laufende Kernel und abschliessend mindestens die Deps erzeugt/aufgelöst werden. Wenn das erledigt ist, kannst Du mit VMWare weitermachen...

Viel Spass beim Lernen ;)