VirtualBox Failed to recompile after kernel update
Posted: 11. Jul 2016, 20:33
Hello,
Have have centos 6 server and virtualBox won't start after a Kernel update.
Centos 6.8
VirtualBox 4.3
kernel 2.6.32-642.1.1.el6.x86_64
Thank you.
Have have centos 6 server and virtualBox won't start after a Kernel update.
Centos 6.8
VirtualBox 4.3
kernel 2.6.32-642.1.1.el6.x86_64
Code: Select all
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG=
-C /lib/modules/2.6.32-504.1.3.el6.x86_64/build modules
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.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
Code: Select all
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.32-642.1.1.el6.x86_64) or it fail
ed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
Usage:
VBoxManage list [--long|-l] vms|runningvms|ostypes|hostdvds|hostfloppies|
intnets|bridgedifs|hostonlyifs|natnets|dhcpservers|
hostinfo|hostcpuids|hddbackends|hdds|dvds|floppies|
usbhost|usbfilters|systemproperties|extpacks|
groups|webcams