Seite 1 von 1

vmware lässt sich nicht kompilieren

Verfasst: 17.06.2006, 22:49
von Ravermeister
hallo, ich habe da mal o eine frage, und zwar hatte ich bei kubuntu breezy vmware gsx-server installiert, ich glaube mit dem kernel 2.6.15-23i386.
jetzt habe ich auf kubuntu dapper upgedatet, und verwende den kernel 2.6.15-25-686.
die entsprechenden header hab ich auch:

root@Virusmaster:/usr/src# ll /usr/src/
insgesamt 45680
-rw-r--r-- 1 root root 2270487 2006-04-06 09:14 alsa-driver.tar.bz2
drwxr-xr-x 2 root root 4096 2006-06-17 15:05 kernel-build-2.4.27-2
drwxr-xr-x 5 root root 4096 2006-06-17 14:58 kernel-headers-2.4.27-2
drwxr-xr-x 4 root root 4096 2006-06-17 15:04 kernel-headers-2.4.27-2-386
drwxr-xr-x 4 root root 4096 2006-06-17 15:04 kernel-headers-2.4.27-2-586tsc
drwxr-xr-x 4 root root 4096 2006-06-17 15:04 kernel-headers-2.4.27-2-686
drwxr-xr-x 4 root root 4096 2006-06-17 15:04 kernel-headers-2.4.27-2-686-smp
drwxr-xr-x 4 root root 4096 2006-06-17 15:04 kernel-headers-2.4.27-2-k6
drwxr-xr-x 4 root root 4096 2006-06-17 15:04 kernel-headers-2.4.27-2-k7
drwxr-xr-x 4 root root 4096 2006-06-17 15:05 kernel-headers-2.4.27-2-k7-smp
drwxr-xr-x 9 root root 4096 2006-06-17 15:57 kernel-patches
lrwxrwxrwx 1 root src 28 2006-06-17 19:35 linux -> linux-headers-2.6.15-25-686/
drwxr-xr-x 18 root root 4096 2006-05-14 21:15 linux-headers-2.6.12-10
drwxr-xr-x 4 root root 4096 2006-05-14 21:17 linux-headers-2.6.12-10-386
drwxr-xr-x 19 root root 4096 2006-06-13 20:40 linux-headers-2.6.15-23
drwxr-xr-x 4 root root 4096 2006-06-13 20:40 linux-headers-2.6.15-23-386
drwxr-xr-x 4 root root 4096 2006-06-13 20:40 linux-headers-2.6.15-23-686
drwxr-xr-x 4 root root 4096 2006-06-13 20:40 linux-headers-2.6.15-23-k7
drwxr-xr-x 4 root root 4096 2006-06-17 15:55 linux-headers-2.6.15-23-server
drwxr-xr-x 4 root root 4096 2006-06-17 15:55 linux-headers-2.6.15-23-server-bigiron
drwxr-xr-x 20 root root 4096 2006-06-17 15:11 linux-headers-2.6.15-25
drwxr-xr-x 4 root root 4096 2006-06-15 19:10 linux-headers-2.6.15-25-386
drwxr-xr-x 5 root root 4096 2006-06-17 16:08 linux-headers-2.6.15-25-686
drwxr-xr-x 4 root root 4096 2006-06-15 19:10 linux-headers-2.6.15-25-k7
drwxr-xr-x 4 root root 4096 2006-06-17 15:56 linux-headers-2.6.15-25-server
drwxr-xr-x 4 root root 4096 2006-06-17 15:56 linux-headers-2.6.15-25-server-bigiron
drwxr-xr-x 21 root root 4096 2006-06-17 17:13 linux-source-2.6.15
-rw-r--r-- 1 root root 44346806 2006-06-14 14:09 linux-source-2.6.15.tar.bz2

#################################################################
und der link müsste doch auch richtig sein oder?
mein gcc is auf 4.0 gelinkt.

wenn ich nun versuche die vmware-config.pl auszuführen kommt folgende fehlermeldung:

root@Virusmaster:/usr/src# vmware-config.pl
Making sure services for VMware GSX Server are stopped.

Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware GSX Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.15-25-686/build/include]

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 /lib/modules/2.6.15-25-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-25-686'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.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
/tmp/vmware-config2/vmmon-only/common/task.c: In Funktion »Task_Switch«:
/tmp/vmware-config2/vmmon-only/common/task.c:480: Warnung: »sysenterState.cs« könnte in dieser Funktion uninitialisiert verwendet werden
/tmp/vmware-config2/vmmon-only/common/task.c:480: Warnung: »sysenterState.isValidEipEsp« könnte in dieser Funktion uninitialisiert verwendet werden
/tmp/vmware-config2/vmmon-only/common/task.c:480: Warnung: »sysenterState.esp« könnte in dieser Funktion uninitialisiert verwendet werden
/tmp/vmware-config2/vmmon-only/common/task.c:480: Warnung: »sysenterState.eip« könnte in dieser Funktion uninitialisiert verwendet werden
CC [M] /tmp/vmware-config2/vmmon-only/common/vmx86.o
LD [M] /tmp/vmware-config2/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config2/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config2/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-25-686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
The module loads perfectly in the running kernel.

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmnet-only'
make -C /lib/modules/2.6.15-25-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-25-686'
CC [M] /tmp/vmware-config2/vmnet-only/driver.o
/tmp/vmware-config2/vmnet-only/driver.c: In Funktion »VNetProcessOwnsPort«:
/tmp/vmware-config2/vmnet-only/driver.c:1610: Fehler: »struct files_struct« hat kein Element namens »max_fds«
make[2]: *** [/tmp/vmware-config2/vmnet-only/driver.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config2/vmnet-only] Fehler 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-25-686'
make: *** [vmnet.ko] Fehler 2
make: Leaving directory `/tmp/vmware-config2/vmnet-only'
Unable to build the vmnet 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/prebuilt_modules_linux.html".

Execution aborted.

###########################################################

was hab ich falsch gemacht? wie bekomme ich vmware gsx wieder auf meinen rechner?
hoffe es weiss jemand rat, bin echt hilflos unglücklich

gruß Jonny

Verfasst: 18.06.2006, 00:22
von stefan.becker
Suchfiunktion => any-any-Patch.

Verfasst: 18.06.2006, 12:57
von Ravermeister
hallo, habe leider bevor ich das ausprobieren konnte versucht nochmal komplett neu zu installieren, und habe die dateien aus /usr/bin und /usr/sbin gelöscht,
nun bekomme ich jedesmal wenn ich versuche neu zu installieren folgende meldung:

ravermeister@Virusmaster:~/Desktop/vmware/vmware2/vmware-gsx-distrib$ sudo ./vmware-install.pl
Creating a new installer database using the tar3 format.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

Unable to change the access rights of the file /usr/sbin/vmware-authd.

Execution aborted.


was kann ich tun? bitte helft mir, ich bin echt hilflos
gruß Jonny

Verfasst: 18.06.2006, 19:28
von stefan.becker
Lösche VMWARE komplett und installier es neu (rpm -e ..., rpm -U ...).

Verfasst: 19.06.2006, 09:45
von Ravermeister
habe kein rpm system, sondern kubuntu basiert auf debian benutze momentan den kernel
2.6.15-25-686, habe das nun mit dem any-any update hinbekommen zu kompilieren, aber
nach einem neustart muss ich jedesmal neu kompilieren, was kann ich da tun?
oder kennt ihr einen kernel den ich nehmen kann, wo das auf jedenfall funktioniert, den ich für kubuntu dapper verwenden kann?

danke schon ma für eure hilfe
gruß Jonny

Verfasst: 19.06.2006, 21:41
von Ravermeister
habe jetz mal den 2.6.15-25k7 kernel (für amd) genommen,
und alles ist gut :)

Verfasst: 20.06.2006, 06:49
von Ravermeister
naja doch nich alles gut, also es sieht so aus, bei jedem neustart erstellt er die datei
/etc/vmware/not_configured.
wenn ich diese manuell lösche als root,
und dann /etc/init.d/vmware restart aufrufe, dann funktionierts.
vor dem letzten kommando kann ich auch nicht mit ifconfig die netzwerk karten von vmware sehen, danach erscheinen sie auch dort? was ist das bitte bitte helft mir, bin irgendwie echt hilflos...