Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

kernel driver not installed ?

EdStevensMar 23 2019 — edited Mar 28 2019

Running vbox on my ubuntu 16.04 TLS laptop with no issues for a couple of years now. Today, when I try to start one of my vm's, I get this:

pastedImage_0.png

So, following the instructions there:

ed@ed-Gazelle-00:~$ sudo /sbin/vboxconfig

[sudo] password for ed:

vboxdrv.sh: Building VirtualBox kernel modules.

vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.

There were problems setting up VirtualBox. To re-start the set-up process, run

/sbin/vboxconfig

as root.

contents of the log file:

make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.4.0-47-generic/build -j4 modules

make[1]: warning: -jN forced in submake: disabling jobserver mode.

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)

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

make -f ./scripts/Makefile.build obj=/tmp/vbox.0

@

The man page for make says nothing about 'oldconfig' or 'prepare', and doing a little googling about it what I find sounds like it can be pretty dangerous to your system if you don't take a lot of precautions.

Advice?

This post has been answered by Dude! on Mar 28 2019
Jump to Answer
Comments
Post Details
Added on Mar 23 2019
2 comments
919 views