lolwhites
March 19th, 2009, 06:40 PM
Since the kernel upgraded to 2.6.27-14, Virtualbox has stopped working. Starting a virtual machine gives the message VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908)
A swift check of the forum suggested I type sudo /etc/init.d/vboxdrv setup but that just gives me the following:
* Look at /var/log/vbox-install.log to find out what went wrong
The contents of the /var/log/vbox-install.log are:
Attempting to install using DKMS
removing old DKMS module vboxdrv version
Error! Invalid number of parameters passed.
Usage: remove -m <module> -v <module-version> --all
or: remove -m <module> -v <module-version> -k <kernel-version>
------------------------------
Deleting module version: 2.1.4
completely from the DKMS tree.
------------------------------
Done.
Creating symlink /var/lib/dkms/vboxdrv/2.1.4/source ->
/usr/src/vboxdrv-2.1.4
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.27-14-generic -C /lib/modules/2.6.27-14-generic/build M=/var/lib/dkms/vboxdrv/2.1.4/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 2.6.27-14-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/2.1.4/build/ for more information.
3
DO YOU HAVE gcc INSTALLED???
0
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-14-generic/build SUBDIRS=/tmp/vbox.3 SRCROOT=/tmp/vbox.3 modules
/usr/src/linux-headers-2.6.27-14-generic/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/linux-headers-2.6.27-14-generic/scripts/gcc-version.sh: line 26: gcc: command not found
make[1]: gcc: Command not found
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.3/.tmp_versions ; rm -f /tmp/vbox.3/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.3
gcc -Wp,-MD,/tmp/vbox.3/linux/.SUPDrv-linux.o.d -nostdinc -isystem -D__KERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.27-14-generic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -msoft-float -mregparm=3 -freg-struct-return -march=i586 -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -I/lib/modules/2.6.27-14-generic/build/include -I/tmp/vbox.3/ -I/tmp/vbox.3/include -I/tmp/vbox.3/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -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.3/linux/.tmp_SUPDrv-linux.o /tmp/vbox.3/linux/SUPDrv-linux.c
/bin/sh: gcc: not found
make[2]: *** [/tmp/vbox.3/linux/SUPDrv-linux.o] Error 127
make[1]: *** [_module_/tmp/vbox.3] Error 2
make: *** [vboxdrv] Error 2
How should I proceed?
A swift check of the forum suggested I type sudo /etc/init.d/vboxdrv setup but that just gives me the following:
* Look at /var/log/vbox-install.log to find out what went wrong
The contents of the /var/log/vbox-install.log are:
Attempting to install using DKMS
removing old DKMS module vboxdrv version
Error! Invalid number of parameters passed.
Usage: remove -m <module> -v <module-version> --all
or: remove -m <module> -v <module-version> -k <kernel-version>
------------------------------
Deleting module version: 2.1.4
completely from the DKMS tree.
------------------------------
Done.
Creating symlink /var/lib/dkms/vboxdrv/2.1.4/source ->
/usr/src/vboxdrv-2.1.4
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.27-14-generic -C /lib/modules/2.6.27-14-generic/build M=/var/lib/dkms/vboxdrv/2.1.4/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 2.6.27-14-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/2.1.4/build/ for more information.
3
DO YOU HAVE gcc INSTALLED???
0
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-14-generic/build SUBDIRS=/tmp/vbox.3 SRCROOT=/tmp/vbox.3 modules
/usr/src/linux-headers-2.6.27-14-generic/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/linux-headers-2.6.27-14-generic/scripts/gcc-version.sh: line 26: gcc: command not found
make[1]: gcc: Command not found
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.3/.tmp_versions ; rm -f /tmp/vbox.3/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.3
gcc -Wp,-MD,/tmp/vbox.3/linux/.SUPDrv-linux.o.d -nostdinc -isystem -D__KERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.27-14-generic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -msoft-float -mregparm=3 -freg-struct-return -march=i586 -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -I/lib/modules/2.6.27-14-generic/build/include -I/tmp/vbox.3/ -I/tmp/vbox.3/include -I/tmp/vbox.3/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -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.3/linux/.tmp_SUPDrv-linux.o /tmp/vbox.3/linux/SUPDrv-linux.c
/bin/sh: gcc: not found
make[2]: *** [/tmp/vbox.3/linux/SUPDrv-linux.o] Error 127
make[1]: *** [_module_/tmp/vbox.3] Error 2
make: *** [vboxdrv] Error 2
How should I proceed?