vboxdrv.sh: failed: modprobe vboxdrv failed
Posted: 16. Mar 2018, 22:29
Hello,
I"m having trouble installing "VirtualBox" on SUSE 12 SP2. (uname -r: 4.4.74-92.38-default, x86_64)
I've tried these 3 packages and they all keep failing with the same error "vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why."
VirtualBox-4.3-4.3.40_110317_openSUSE114-1.x86_64.rpm
VirtualBox-5.2-5.2.8_121009_openSUSE132-1.x86_64.rpm
VirtualBox-5.2.8-121009-Linux_amd64.run
In /var/log/vbox-install.log, I see the below error
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.4.74-92.38-default/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j8 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make -C ../../../linux-4.4.74-92.38 O=/usr/src/linux-4.4.74-92.38-obj/x86_64/default/. modules
make -C /usr/src/linux-4.4.74-92.38-obj/x86_64/default KBUILD_SRC=/usr/src/linux-4.4.74-92.38 \
-f /usr/src/linux-4.4.74-92.38/Makefile 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."; \
I did run "make oldconfig && make prepare" at /usr/src/linux and it ran successfully. But it still throws the same error in vbox-install.log.
I have the below packages installed on the vm.
root@rpm -qa kernel*
kernel-devel-4.4.74-92.38.1.noarch
kernel-default-devel-4.4.114-92.67.1.x86_64
kernel-macros-4.4.74-92.38.1.noarch
kernel-source-4.4.74-92.38.1.noarch
kernel-default-4.4.74-92.38.1.x86_64
kernel-source-4.4.114-92.67.1.noarch
kernel-default-devel-4.4.74-92.38.1.x86_64
kernel-devel-4.4.114-92.67.1.noarch
kernel-firmware-20170530-21.10.1.noarch
kernel-syms-4.4.114-92.67.1.x86_64
kernel-syms-4.4.74-92.38.1.x86_64
root@rpm -qa gcc*
gcc-4.8-6.189.x86_64
gcc-info-4.8-6.189.x86_64
gcc48-info-4.8.5-31.3.1.noarch
gcc48-4.8.5-31.3.1.x86_64
Appreciate if someone could help here.
I"m having trouble installing "VirtualBox" on SUSE 12 SP2. (uname -r: 4.4.74-92.38-default, x86_64)
I've tried these 3 packages and they all keep failing with the same error "vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why."
VirtualBox-4.3-4.3.40_110317_openSUSE114-1.x86_64.rpm
VirtualBox-5.2-5.2.8_121009_openSUSE132-1.x86_64.rpm
VirtualBox-5.2.8-121009-Linux_amd64.run
In /var/log/vbox-install.log, I see the below error
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.4.74-92.38-default/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j8 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make -C ../../../linux-4.4.74-92.38 O=/usr/src/linux-4.4.74-92.38-obj/x86_64/default/. modules
make -C /usr/src/linux-4.4.74-92.38-obj/x86_64/default KBUILD_SRC=/usr/src/linux-4.4.74-92.38 \
-f /usr/src/linux-4.4.74-92.38/Makefile 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."; \
I did run "make oldconfig && make prepare" at /usr/src/linux and it ran successfully. But it still throws the same error in vbox-install.log.
I have the below packages installed on the vm.
root@rpm -qa kernel*
kernel-devel-4.4.74-92.38.1.noarch
kernel-default-devel-4.4.114-92.67.1.x86_64
kernel-macros-4.4.74-92.38.1.noarch
kernel-source-4.4.74-92.38.1.noarch
kernel-default-4.4.74-92.38.1.x86_64
kernel-source-4.4.114-92.67.1.noarch
kernel-default-devel-4.4.74-92.38.1.x86_64
kernel-devel-4.4.114-92.67.1.noarch
kernel-firmware-20170530-21.10.1.noarch
kernel-syms-4.4.114-92.67.1.x86_64
kernel-syms-4.4.74-92.38.1.x86_64
root@rpm -qa gcc*
gcc-4.8-6.189.x86_64
gcc-info-4.8-6.189.x86_64
gcc48-info-4.8.5-31.3.1.noarch
gcc48-4.8.5-31.3.1.x86_64
Appreciate if someone could help here.