VB used to work fine until a few days ago.
Now, when I try to start a virtual machine, it displays this error:
Code: Select all
Failed to open a session for the virtual machine Windows XP.
The virtual machine 'Windows XP' has terminated unexpectedly during startup with exit code 1.
Code: Select all
Kernel 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.
sudo /etc/init.d/vboxdrv setup
The output is:
I've attached the output of dmesg.Stopping VirtualBox kernel modules done
Removing old VirtualBox pci kernel module done
Removing old VirtualBox netadp kernel module done
Removing old VirtualBox netflt kernel module done
Removing old VirtualBox kernel module done
Recompiling VirtualBox kernel modules done
Starting VirtualBox kernel modules failed
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
I haven't attached vbox-install.log, because it's 6 MB, but here are the first few lines that seem relevant:
Code: Select all
/usr/share/virtualbox/src/vboxhost/build_in_tmp: line 62: make: command not found
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/i386/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
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)