Page 1 of 1

Kernel driver not installed (rc=-1908)

PostPosted: 21. Jan 2020, 23:01
by bobptz
Hi

Recently I have problem starting the virtual machine (win 7). I see this error:
Code: Select all   Expand viewCollapse view
Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing

'/sbin/vboxconfig'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.


Then I run:
Code: Select all   Expand viewCollapse view
bob@bob-desktop:~$ sudo /sbin/vboxconfig
[sudo] password for bob:
vboxdrv.sh: Stopping VirtualBox services.
depmod: WARNING: could not open /lib/modules/5.0.0-36-generic/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/5.0.0-36-generic/modules.builtin: No such file or directory
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.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.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
bob@bob-desktop:~$


These are the contents of /var/log/vbox-setup.log:
Code: Select all   Expand viewCollapse view
/var/log/vbox-setup.log


Secure Boot is disabled from the BIOS/UEFI. And I do not know how it works in Ubuntu 18.04, ie I do not know if it is activated or anything. I hope not...

I have VB Version 6.0.8 r130520 (Qt5.9.5).

I have Ubuntu 18.04.
Code: Select all   Expand viewCollapse view
$ uname -r
5.3.0-26-generic


Could you please tell me how to fix this?

Re: Kernel driver not installed (rc=-1908)

PostPosted: 22. Jan 2020, 15:20
by bobptz
Sorry, here is the /var/log/vbox-setup.log :

https://pastebin.com/SdQHCJM2

Re: Kernel driver not installed (rc=-1908)

PostPosted: 22. Jan 2020, 18:11
by bobptz
The problem occurs when I use this kernel: 5.3.0-26-generic

When I switch to this kernel the problem goes away: 5.0.0-37-generic

So what do I do? Is it a kernel bug? VB bug? Incompatibility between the two?

Re: Kernel driver not installed (rc=-1908)

PostPosted: 22. Jan 2020, 21:15
by bobptz
After installing latest VB version 6.1.2, the problem is gone!