https://www.virtualbox.org/wiki/Linux%2 ... structions
The instructions say I should be able to run from the build directory, and indeed I can run the GUI front-end and even create a VM with it, but I cannot start any VM, whether newly created or known to work with an installed copy of Virtual Box 5.0.0. When I run my local build, and then try to start a VM, it pops up an error box saying Kernel driver not accessible. Clicking OK gives another error with little additional information. No log file is created in the VM directory, though logging is enabled in the GUI, and I do get a log when the same VM is run from a properly installed Virtual Box.
I also tried VBoxManage startvm, and of course got the same Kernel driver not accessible error, but curiously after clicking OK it said the VM was started when in fact it was not.
Code: Select all
$ ./VBoxManage startvm Ubuntu-X1
Waiting for VM "Ubuntu-X1" to power on...
VM "Ubuntu-X1" has been successfully started.
$
Code: Select all
VBOXSVC_RELEASE_LOG_FLAGS=time tid thread
VBOXSVC_RELEASE_LOG=main.e.l.f+gui.e.l.f
VBOXSVC_RELEASE_LOG_DEST=dir=/home/rvilbig/temp
VBOX_RELEASE_LOG_FLAGS=time
VBOX_RELEASE_LOG=main.e.l.f+gui.e.l.f
VBOX_RELEASE_LOG_DEST=dir=/home/rvilbig/temp
VBOX_LOG_DEST=dir=/home/rvilbig/temp
I have noticed that after powering off the host then booting up, lsmod reports that vboxdrv is loaded with 3 additional vbox modules. And I was unable to remove them with modprobe -r because it said they were in use. So I suppose when I had done the modprobe to install my locally built drivers it had failed though it had not said so.
Q1: Is it viable to run a locally built Virtual Box on the same host where there is an installed copy? I am obviously not trying to run them at the same time, but is something running behind the scenes due to the installed version which interferes with either the locally built version or modprobe?
Q2: Am I just botching the modprobe step somehow? Can someone provide more specific steps to take between building and running Virtual Box?
Q3: Are there more appropriate log flags or settings that I should be using to debug this?
Thanks in advance