Hallo ihr Kanoten da draußen,
ich habe heute den Schritt zurück zu Kanotix gemacht und fühle mich gleich wieder zu Hause. Thorhammer ist wirklich großartig!
Allerdings habe ich ein Problem mit der Installation von VMware-Server und Virtualbox. Eins von beiden würde mir reichen. Am liebsten VMware-Server, allerdings lassen sich bei beiden Programmen die benötigten kernel-module nicht kompilieren.
Ich habe den Verdacht, dass es an dem neuen Kernel liegt, kann aber hier im Forum, bei den Anbietern (innotek und vmware) und auch bei google nicht wirklich was brauchbares finden.
Mein Kernel ist der 2.6.24-3-generic
Die Installation von VMware läuft anfangs gut, aber wenns an's kompilieren geht, kommen folgende Meldungen:
Zitat:
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 /lib/modules/2.6.24-3-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-3-generic'
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
In file included from include/asm/bitops.h:2,
from /tmp/vmware-config2/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config2/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config2/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config2/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config2/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Fehler 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-3-generic'
make: *** [vmmon.ko] Fehler 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/prebuilt_modules_linux.html".
Execution aborted.
Wie gesagt, bei virtualbox geht es auch nicht. Die Ausgabe von /var/log/vbox-install.log sieht so aus:
Zitat:
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.24-3-generic/build SUBDIRS=/tmp/vbox.2 SRCROOT=/tmp/vbox.2 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-3-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.2/.tmp_versions ; rm -f /tmp/vbox.2/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.2
gcc -m32 -Wp,-MD,/tmp/vbox.2/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-x86/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/lib/modules/2.6.24-3-generic/build/include -I/tmp/vbox.2/ -I/tmp/vbox.2/include -I/tmp/vbox.2/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DVBOX_WITHOUT_IDT_PATCHING -DUSE_NEW_OS_INTERFACE_FOR_MM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.2/linux/.tmp_SUPDrv-linux.o /tmp/vbox.2/linux/SUPDrv-linux.c
In file included from /tmp/vbox.2/include/iprt/types.h:72,
from /tmp/vbox.2/include/VBox/types.h:21,
from /tmp/vbox.2/SUPDRV.h:26,
from /tmp/vbox.2/linux/SUPDrv-linux.c:22:
include/linux/types.h:40: error: redefinition of typedef ‘uintptr_t’
/tmp/vbox.2/include/iprt/stdint.h:118: error: previous declaration of ‘uintptr_t’ was here
In file included from include/linux/thread_info.h:33,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from /tmp/vbox.2/SUPDRV.h:87,
from /tmp/vbox.2/linux/SUPDrv-linux.c:22:
include/linux/bitops.h:6:1: warning: "BIT" redefined
In file included from /tmp/vbox.2/include/VBox/cdefs.h:20,
from /tmp/vbox.2/SUPDRV.h:25,
from /tmp/vbox.2/linux/SUPDrv-linux.c:22:
/tmp/vbox.2/include/iprt/cdefs.h:1042:1: warning: this is the location of the previous definition
make[2]: *** [/tmp/vbox.2/linux/SUPDrv-linux.o] Fehler 1
make[1]: *** [_module_/tmp/vbox.2] Fehler 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-3-generic'
make: *** [vboxdrv] Fehler 2
Ich hoffe, es hat jemand eine Idee. Ich bin leider auf 2-3 win-Programme angewiesen, die mit wine nicht laufen.
Gruß,
pableo[/b] |