Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

how do i resolve error "Kernel driver not installed (rc=-1908)"

$
0
0
hi all , i am new in opensuse and i installed version 12.3 and i downloaded VirtualBox 4.3.6 from below link:

when i run my guest it returend me below error:
Code:

Kernel driver not installed (rc=-1908)
and it want to me i run this command as root:
Code:

'/etc/init.d/vboxdrv setup'

so when i ran above command it return me below result:

Code:

Stopping VirtualBox kernel modules                            done
Recompiling VirtualBox kernel modules                        failed
  (Look at /var/log/vbox-install.log to find out what went wrong)

when i run command
Code:

cat /var/log/vbox-install.log
my result is:

Code:

Makefile:186: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.2 SRCROOT=/tmp/vbox.2 CONFIG_MODULE_SIG= -C /usr/src/linux modules
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)

  ERROR: Kernel configuration is invalid.
        include/generated/autoconf.h or include/config/auto.conf are missing.
        Run 'make oldconfig && make prepare' on kernel src to fix it.

mkdir -p /tmp/vbox.2/.tmp_versions ; rm -f /tmp/vbox.2/.tmp_versions/*

  WARNING: Symbol version dump /usr/src/linux-3.7.10-1.24/Module.symvers
          is missing; modules will have no dependencies and modversions.

make -f scripts/Makefile.build obj=/tmp/vbox.2
/tmp/vbox.2/Makefile:186: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
  gcc -Wp,-MD,/tmp/vbox.2/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.7/include -I/usr/src/linux-3.7.10-1.24/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-3.7.10-1.24/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.7.10-1.24/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.7.10-1.24/include/linux/kconfig.h -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 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fomit-frame-pointer -DCC_HAVE_ASM_GOTO -include /tmp/vbox.2/include/VBox/SUPDrvMangling.h -I/usr/src/linux/include -I/tmp/vbox.2/ -I/tmp/vbox.2/include -I/tmp/vbox.2/r0drv/linux -I/tmp/vbox.2/vboxdrv/ -I/tmp/vbox.2/vboxdrv/include -I/tmp/vbox.2/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_X86 -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.2/linux/SUPDrv-linux.o /tmp/vbox.2/linux/SUPDrv-linux.c
/tmp/vbox.2/linux/SUPDrv-linux.c:1:0: error: code model ‘kernel’ not supported in the 32 bit mode
/tmp/vbox.2/linux/SUPDrv-linux.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [/tmp/vbox.2/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.2] Error 2
make: *** [vboxdrv] Error 2

how do i solve it?! thanks for your help .... i love opensuse

Viewing all articles
Browse latest Browse all 40713

Trending Articles