Hallo,
ich habe openSUSE 13.1 auf meinem Laptop laufen und habe mir von virtualbox.org die 64bit-Version
für openSUSE 13.1 heruntergeladen. Die Installation klappte ohne Probleme, als ich allerdings eine VM
starten wollte bekam ich folgende Fehlermeldung
ZitatAlles anzeigenKernel driver not installed (rc=-1908 )
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
Ich habe daraufhin meinen Benutzer der gruppe "vboxusers" hinzugefügt, da das das Problem bei anderen
gelöst zu haben scheint.
Ich habe danach wieder die gleiche Meldung bekommen und habe dann folgenden Befehl ausgeführt:
Das führte zu folgender Ausgabe:
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 3.11.6-4-desktop (x86_64)
Consult /var/lib/dkms/vboxhost/4.3.4/build/make.log for more information.
failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
Daraufhin habe ich in /var/log/vbox-install.log nachgeschaut, aber hab nicht verstanden wo der Fehler liegt,
da ich leider mit so etwas keine Erfahrung habe:
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.3.4
------------------------------
Deleting module version: 4.3.4
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.3.4/source ->
/usr/src/vboxhost-4.3.4
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=3.11.6-4-desktop -C /lib/modules/3.11.6-4-desktop/build M=/var/lib/dkms/vboxhost/4.3.4/build....(bad exit status: 2)
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/3.11.6-4-desktop/build modules
make -C /usr/src/linux-3.11.6-4-obj/x86_64/desktop \
KBUILD_SRC=/usr/src/linux-3.11.6-4 \
KBUILD_EXTMOD="/tmp/vbox.0" -f /usr/src/linux-3.11.6-4/Makefile \
modules
/usr/src/linux-3.11.6-4/arch/x86/Makefile:92: stack protector enabled but no compiler support
/usr/src/linux-3.11.6-4/arch/x86/Makefile:107: CONFIG_X86_X32 enabled but no binutils support
make[3]: gcc: Kommando nicht gefunden
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f /usr/src/linux-3.11.6-4/scripts/Makefile.build obj=/tmp/vbox.0
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem -I/usr/src/linux-3.11.6-4/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.11.6-4/include -Iinclude -I/usr/src/linux-3.11.6-4/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.11.6-4/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.11.6-4/include/linux/kconfig.h -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -pipe -Wno-sign-compare -fomit-frame-pointer -fasynchronous-unwind-tables -g -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/3.11.6-4-desktop/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/.tmp_SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
/bin/sh: gcc: Kommando nicht gefunden.
make[4]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Fehler 127
make[3]: *** [_module_/tmp/vbox.0] Fehler 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make: *** [vboxdrv] Error 2
Alles anzeigen
Wäre super, wenn mir jemand helfen könnte.
Gruß,
mok