PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : vmware kernel 2.6.5



krischan2000
18.06.04, 17:39
Hi,

ich hab mir jetzt die Sources von nem 2.6.5er Kernel vom kraxel (suse) gezogen und auch einwadnfrei durchkompiliert. Bin auch ganz zufrieden mit dem kernel und wird ihn auch gern weiternutzen nur funktioniert vmware damit nicht. Unter 2.6.3 gings aber einwandfrei. Das any-any update hab ich schon probiert (von 66er bis 70er Version alles), auch bei der neuesten vmware version (4.5.2) geht nix. Bei vmware-config.pl bricht mit folgendem Fehler ab:




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

None of the pre-built vmmon modules for VMware Workstation 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.5-7.69cvs20040606165823-default/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 4.5.2.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config16/vmmon-only'
make -C /lib/modules/2.6.5-7.69cvs20040606165823-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.69cvs20040606165823'
CC [M] /tmp/vmware-config16/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config16/vmmon-only/linux/driver.c:18:
include/linux/file.h: In function `fcheck_files':
include/linux/file.h:67: warning: comparison between signed and unsigned
CC [M] /tmp/vmware-config16/vmmon-only/linux/hostif.o
In file included from /tmp/vmware-config16/vmmon-only/linux/hostif.c:22:
include/linux/file.h: In function `fcheck_files':
include/linux/file.h:67: warning: comparison between signed and unsigned
/tmp/vmware-config16/vmmon-only/linux/hostif.c: In function `HostIF_AllocLockedPages':
/tmp/vmware-config16/vmmon-only/linux/hostif.c:799: warning: signed and unsigned type in conditional expression
CC [M] /tmp/vmware-config16/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config16/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config16/vmmon-only/common/memtrack.o
/tmp/vmware-config16/vmmon-only/common/memtrack.c: In function `MemTrack_Init':
/tmp/vmware-config16/vmmon-only/common/memtrack.c:102: warning: comparison between signed and unsigned
/tmp/vmware-config16/vmmon-only/common/memtrack.c:115: warning: comparison between signed and unsigned
/tmp/vmware-config16/vmmon-only/common/memtrack.c: In function `MemTrack_Add':
/tmp/vmware-config16/vmmon-only/common/memtrack.c:168: warning: comparison between signed and unsigned
/tmp/vmware-config16/vmmon-only/common/memtrack.c: In function `MemTrack_Cleanup':
/tmp/vmware-config16/vmmon-only/common/memtrack.c:347: warning: comparison between signed and unsigned
/tmp/vmware-config16/vmmon-only/common/memtrack.c:354: warning: comparison between signed and unsigned
CC [M] /tmp/vmware-config16/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config16/vmmon-only/common/task.o
CC [M] /tmp/vmware-config16/vmmon-only/common/vmx86.o
/tmp/vmware-config16/vmmon-only/common/vmx86.c: In function `Vmx86_COWSharePages':
/tmp/vmware-config16/vmmon-only/common/vmx86.c:935: warning: comparison between signed and unsigned
/tmp/vmware-config16/vmmon-only/common/vmx86.c: In function `Vmx86_AllocLockedPages':
/tmp/vmware-config16/vmmon-only/common/vmx86.c:2190: warning: comparison between signed and unsigned
/tmp/vmware-config16/vmmon-only/common/vmx86.c: In function `Vmx86_GetMemInfo':
/tmp/vmware-config16/vmmon-only/common/vmx86.c:2327: warning: comparison between signed and unsigned
In file included from /tmp/vmware-config16/vmmon-only/common/vmx86.c:2644:
/tmp/vmware-config16/vmmon-only/common/vmx86_compat.h: In function `GetMemInfoV4':
/tmp/vmware-config16/vmmon-only/common/vmx86_compat.h:83: warning: comparison between signed and unsigned
/tmp/vmware-config16/vmmon-only/common/vmx86_compat.h: In function `Vmx86_GetVMInfo':
/tmp/vmware-config16/vmmon-only/common/vmx86_compat.h:366: warning: comparison between signed and unsigned
CC [M] /tmp/vmware-config16/vmmon-only/vmcore/compat.o
CC [M] /tmp/vmware-config16/vmmon-only/vmcore/compilercheck.o
CC [M] /tmp/vmware-config16/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config16/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config16/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config16/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.69cvs20040606165823'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config16/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-config16/vmnet-only'
make -C /lib/modules/2.6.5-7.69cvs20040606165823-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.69cvs20040606165823'
CC [M] /tmp/vmware-config16/vmnet-only/driver.o
In file included from /tmp/vmware-config16/vmnet-only/driver.c:23:
include/linux/netdevice.h: In function `netif_msg_init':
include/linux/netdevice.h:806: warning: comparison between signed and unsigned
In file included from /tmp/vmware-config16/vmnet-only/driver.c:35:
include/linux/file.h: In function `fcheck_files':
include/linux/file.h:67: warning: comparison between signed and unsigned
CC [M] /tmp/vmware-config16/vmnet-only/hub.o
In file included from /tmp/vmware-config16/vmnet-only/hub.c:19:
include/linux/netdevice.h: In function `netif_msg_init':
include/linux/netdevice.h:806: warning: comparison between signed and unsigned
In file included from /tmp/vmware-config16/vmnet-only/hub.c:31:
include/linux/file.h: In function `fcheck_files':
include/linux/file.h:67: warning: comparison between signed and unsigned
CC [M] /tmp/vmware-config16/vmnet-only/userif.o
In file included from /tmp/vmware-config16/vmnet-only/userif.c:19:
include/linux/netdevice.h: In function `netif_msg_init':
include/linux/netdevice.h:806: warning: comparison between signed and unsigned
In file included from /tmp/vmware-config16/vmnet-only/userif.c:30:
include/linux/file.h: In function `fcheck_files':
include/linux/file.h:67: warning: comparison between signed and unsigned
CC [M] /tmp/vmware-config16/vmnet-only/netif.o
In file included from /tmp/vmware-config16/vmnet-only/netif.c:19:
include/linux/netdevice.h: In function `netif_msg_init':
include/linux/netdevice.h:806: warning: comparison between signed and unsigned
In file included from /tmp/vmware-config16/vmnet-only/netif.c:30:
include/linux/file.h: In function `fcheck_files':
include/linux/file.h:67: warning: comparison between signed and unsigned
CC [M] /tmp/vmware-config16/vmnet-only/bridge.o
In file included from /tmp/vmware-config16/vmnet-only/bridge.c:19:
include/linux/netdevice.h: In function `netif_msg_init':
include/linux/netdevice.h:806: warning: comparison between signed and unsigned
In file included from /tmp/vmware-config16/vmnet-only/bridge.c:30:
include/linux/file.h: In function `fcheck_files':
include/linux/file.h:67: warning: comparison between signed and unsigned
/tmp/vmware-config16/vmnet-only/bridge.c: In function `VNetBridgeReceiveFromVNet':
/tmp/vmware-config16/vmnet-only/bridge.c:347: error: structure has no member named `wmem_alloc'
make[2]: *** [/tmp/vmware-config16/vmnet-only/bridge.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config16/vmnet-only] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.69cvs20040606165823'
make: *** [vmnet.ko] Fehler 2
make: Leaving directory `/tmp/vmware-config16/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.



Woran kann das liegen?


thx schonmal..

stefan.becker
20.06.04, 18:23
Keine Ahnung, aber frag doch mal die SuSE Support DB, den VMWARE Support.. ALternative: Im VMWARE Howto gibt es einen Link zu einem speziellen VMWARE Howto.

Mir ist die Software zu teuer geworden, darum kann ich leider nicht mehr helfen.

hansschleidt
21.06.04, 14:14
Hi.

Woran das beim Script liegt kann ich leider auch nicht sagen. Aber es gibt mit den Kernel 2.6.5 sowieso ein Problem. Die Ansteuerung der Festplatten hat sich geändert. Das Ergebnis ist, daß Windows in VmWare nicht mehr booten kann. Der Fehler ist wohl erst in Kernel 2.6.6 und höher abgestellt.

Ein kurze Beschreibung liefert http://vmware.itst.org

Gruß
Hans

krischan2000
22.06.04, 08:49
Dann werd ich mal 2.6.6 ausprobieren..

Danke!

Burelli
24.06.04, 14:10
hab des rätzels lösung:

http://www.linux-club.de/viewtopic.php?t=9298

viel spaß,
gruß jan