Hallo,
Hab neulich von Linux Mandrake 7.2 (Vollversion) auf 8.1 (Downloadversion) geupdated. Und muss, wegen der neuen Kernelversion (2.4. das Script vmware-config.pl deshalb neu ausführen.
Es kommt aber nsch der Frage "What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]" lediglich zu einem haufen Fehlermeldungen und das Script bricht ab.
Ich habe Vmware 2.0.2 , gcc-2.96 und auch die Kernelquellen für Kernel 2.4.8 installiert und weiss einfach nicht mehr woran das liegt.
Und die Hilfe auf Vmware bringt mich auch nicht weiter. Ich sende gleich noch die Fehlerausgabe, vielleicht kann mir ja jemand dadurch weiter helfen.
Vmware-config script bricht ab.
Re: Vmware-config script bricht ab.
Fehlerausgabe vom vmware-config - Script.
[root@tux karsten]# vmware-config.pl
Making sure VMware's services are stopped.
Stopping VMware services:
Virtual machine monitor [ OK ]
Bridged networking on /dev/vmnet0 [ OK ]
DHCP server on /dev/vmnet1 [ OK ]
Host-only networking on /dev/vmnet1 [ OK ]
Virtual ethernet [ OK ]
Trying to find a suitable vmmon module for your running kernel.
None of VMware's pre-built vmmon modules is suitable for your running kernel. Do
you want this script to try to build the vmmon module for your system (you need
to have a C compiler installed on your system)? [yes]
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
make: Wechsel in das Verzeichnis Verzeichnis »/tmp/vmware-config6/vmmon-only«
make<font size="1">: Wechsel in das Verzeichnis Verzeichnis »/tmp/vmware-config6/vmmon-only«
make<font size="2">: Wechsel in das Verzeichnis Verzeichnis »/tmp/vmware-config6/vmmon-only/driver-2.4.8-26mdk«
In file included from .././linux/driver.c:22:
/usr/src/linux/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from .././linux/driver.c:44:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../include/vm_asm.h:19,
from .././linux/driver.c:48:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../linux/driver.h:12,
from .././linux/driver.c:54:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from .././linux/hostif.c:24:
/usr/src/linux/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from .././linux/hostif.c:46:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../include/modulecall.h:17,
from .././linux/hostif.c:50:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from .././common/vmx86.c:29:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../common/vmx86.h:15,
from .././common/vmx86.c:33:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../include/modulecall.h:17,
from .././common/task.c:41:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../include/vm_asm.h:19,
from ../include/taskswitch.h:20,
from .././common/task.c:46:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../common/vmx86.h:15,
from ../common/hostif.h:16,
from .././common/memtrack.c:28:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from .././common/memtrack.c:29:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../common/vmx86.h:15,
from .././common/phystrack.c:31:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
make<font size="2">: Verlassen des Verzeichnisses Verzeichnis »/tmp/vmware-config6/vmmon-only/driver-2.4.8-26mdk«
make<font size="2">: Wechsel in das Verzeichnis Verzeichnis »/tmp/vmware-config6/vmmon-only/driver-2.4.8-26mdk«
In file included from .././linux/driver.c:22:
/usr/src/linux/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from .././linux/driver.c:44:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../include/vm_asm.h:19,
from .././linux/driver.c:48:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../linux/driver.h:12,
from .././linux/driver.c:54:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
.././linux/driver.c:123: warning: initialization from incompatible pointer type
.././linux/driver.c:124: warning: initialization from incompatible pointer type
.././linux/driver.c:126: warning: initialization from incompatible pointer type
.././linux/driver.c:128: warning: initialization from incompatible pointer type
.././linux/driver.c: In function `LinuxDriver_Ioctl':
.././linux/driver.c:878: structure has no member named `dumpable'
make<font size="2">: *** [driver.o] Fehler 1
make<font size="2">: Verlassen des Verzeichnisses Verzeichnis »/tmp/vmware-config6/vmmon-only/driver-2.4.8-26mdk«
make<font size="1">: *** [driver] Fehler 2
make<font size="1">: Verlassen des Verzeichnisses Verzeichnis »/tmp/vmware-config6/vmmon-only«
make: *** [auto-build] Fehler 2
make: Verlassen des Verzeichnisses Verzeichnis »/tmp/vmware-config6/vmmon-only«
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please have
a look at "http://www.vmware.com/download/modules/modules.html".
Execution aborted.
Mal nur so `ne idee, Wie ist das mit der Version vom gcc-2.96, kann man den überhaupt nehmen, um den Kernel, oder einzelne Kernelmodule zu übersetzen, oder muss ich auf 2.95.x downdaten. Ich frag nur, weil ich erinnere mich noch dran, dass Redhat doch mal so eine inkompatible Version hatte oder vielleicht auch nicht. Aber das wissen wahrscheinlich eh nur C-Programmierer. <img src="http://www.pl-forum.de/UltraBoard/Images/Wilk.gif" border="0" align="middle">
[root@tux karsten]# vmware-config.pl
Making sure VMware's services are stopped.
Stopping VMware services:
Virtual machine monitor [ OK ]
Bridged networking on /dev/vmnet0 [ OK ]
DHCP server on /dev/vmnet1 [ OK ]
Host-only networking on /dev/vmnet1 [ OK ]
Virtual ethernet [ OK ]
Trying to find a suitable vmmon module for your running kernel.
None of VMware's pre-built vmmon modules is suitable for your running kernel. Do
you want this script to try to build the vmmon module for your system (you need
to have a C compiler installed on your system)? [yes]
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
make: Wechsel in das Verzeichnis Verzeichnis »/tmp/vmware-config6/vmmon-only«
make<font size="1">: Wechsel in das Verzeichnis Verzeichnis »/tmp/vmware-config6/vmmon-only«
make<font size="2">: Wechsel in das Verzeichnis Verzeichnis »/tmp/vmware-config6/vmmon-only/driver-2.4.8-26mdk«
In file included from .././linux/driver.c:22:
/usr/src/linux/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from .././linux/driver.c:44:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../include/vm_asm.h:19,
from .././linux/driver.c:48:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../linux/driver.h:12,
from .././linux/driver.c:54:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from .././linux/hostif.c:24:
/usr/src/linux/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from .././linux/hostif.c:46:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../include/modulecall.h:17,
from .././linux/hostif.c:50:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from .././common/vmx86.c:29:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../common/vmx86.h:15,
from .././common/vmx86.c:33:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../include/modulecall.h:17,
from .././common/task.c:41:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../include/vm_asm.h:19,
from ../include/taskswitch.h:20,
from .././common/task.c:46:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../common/vmx86.h:15,
from ../common/hostif.h:16,
from .././common/memtrack.c:28:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from .././common/memtrack.c:29:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../common/vmx86.h:15,
from .././common/phystrack.c:31:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
make<font size="2">: Verlassen des Verzeichnisses Verzeichnis »/tmp/vmware-config6/vmmon-only/driver-2.4.8-26mdk«
make<font size="2">: Wechsel in das Verzeichnis Verzeichnis »/tmp/vmware-config6/vmmon-only/driver-2.4.8-26mdk«
In file included from .././linux/driver.c:22:
/usr/src/linux/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from .././linux/driver.c:44:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../include/vm_asm.h:19,
from .././linux/driver.c:48:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
In file included from ../linux/driver.h:12,
from .././linux/driver.c:54:
../include/x86.h:834:8: warning: extra tokens at end of #endif directive
.././linux/driver.c:123: warning: initialization from incompatible pointer type
.././linux/driver.c:124: warning: initialization from incompatible pointer type
.././linux/driver.c:126: warning: initialization from incompatible pointer type
.././linux/driver.c:128: warning: initialization from incompatible pointer type
.././linux/driver.c: In function `LinuxDriver_Ioctl':
.././linux/driver.c:878: structure has no member named `dumpable'
make<font size="2">: *** [driver.o] Fehler 1
make<font size="2">: Verlassen des Verzeichnisses Verzeichnis »/tmp/vmware-config6/vmmon-only/driver-2.4.8-26mdk«
make<font size="1">: *** [driver] Fehler 2
make<font size="1">: Verlassen des Verzeichnisses Verzeichnis »/tmp/vmware-config6/vmmon-only«
make: *** [auto-build] Fehler 2
make: Verlassen des Verzeichnisses Verzeichnis »/tmp/vmware-config6/vmmon-only«
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please have
a look at "http://www.vmware.com/download/modules/modules.html".
Execution aborted.
Mal nur so `ne idee, Wie ist das mit der Version vom gcc-2.96, kann man den überhaupt nehmen, um den Kernel, oder einzelne Kernelmodule zu übersetzen, oder muss ich auf 2.95.x downdaten. Ich frag nur, weil ich erinnere mich noch dran, dass Redhat doch mal so eine inkompatible Version hatte oder vielleicht auch nicht. Aber das wissen wahrscheinlich eh nur C-Programmierer. <img src="http://www.pl-forum.de/UltraBoard/Images/Wilk.gif" border="0" align="middle">
Re: Vmware-config script bricht ab.
So weit ich weiß wird vmware (gilt zumindest für den GSX- Server) nur bis Kernel 2.4.7 unterstützt.
Näheres steht in den vmware Newsgroups. Speziell in den *.experimental. Dort gibt es auch schon Lösungen zu Kernel > 2.4.7.
Näheres steht in den vmware Newsgroups. Speziell in den *.experimental. Dort gibt es auch schon Lösungen zu Kernel > 2.4.7.
Re: Vmware-config script bricht ab.
Sali Karsten
Das Problem hatte ich auch. Du musst im Verzeichniss /usr/src/linux/include eine Datei haben, die du erhälst wenn du den Kernel noch einmal installierst (War bei Suse so) Ich habe den Kernel direkt von CD installiert. Früher ginge es auch, wenn die include datei installieren waren
Greetz
Floonder
Das Problem hatte ich auch. Du musst im Verzeichniss /usr/src/linux/include eine Datei haben, die du erhälst wenn du den Kernel noch einmal installierst (War bei Suse so) Ich habe den Kernel direkt von CD installiert. Früher ginge es auch, wenn die include datei installieren waren
Greetz
Floonder
Re: Vmware-config script bricht ab.
Ja danke erstmal,
werde einfach mal ausprobieren, ob ein reicht vorher einfach eine Kernelkompilation laufen zu lassen.
werde einfach mal ausprobieren, ob ein reicht vorher einfach eine Kernelkompilation laufen zu lassen.
Re: Vmware-config script bricht ab.
ab kernel 2.4.7 braucht's andere vmmon.tar & vmnet.tar
die hatte mal jemand auf der mailingliste gepostet, auf wunsch kann ich sie auch mailen...
die hatte mal jemand auf der mailingliste gepostet, auf wunsch kann ich sie auch mailen...