[Error] Kernel driver not installed (rc=1908)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
JustYasu
Posts: 1
Joined: 23. Nov 2020, 22:36

[Error] Kernel driver not installed (rc=1908)

Post by JustYasu »

Hi guys, i have a small problem and i hope someone will be able to help me.

Basically I am usung Ubuntu 20.04 on Surface Pro 7 with a modified kernel (linux-surface kernel), which i believe is a part of the problem, but unforunately without this using linux on SP7 is impossible. While trying to run Virtual Box, trying to run Windows 10 64-bit i get this error:

Failed to open a session for the virtual machine Windows.
Details:
The virtual machine 'Windows' has terminated unexpectedly during startup with exit code 1 (0x1).


Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {5047460a-265d-4538-b23e-ddba5fb84976}

and this info:

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.

so as instructed i run '/sbin/vboxconfig' as root, which ended with this error:

vboxdrv.sh: Stopping VirtualBox services.
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.

Secure Boot is disabled.

Log mentioned in an error above:
vbox-setup.log
Log
(28.41 KiB) Downloaded 37 times
towo2099
Volunteer
Posts: 364
Joined: 18. Aug 2014, 21:53
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Android, Linux

Re: [Error] Kernel driver not installed (rc=1908)

Post by towo2099 »

Code: Select all

/tmp/vbox.0/r0drv/linux/the-linux-kernel.h:141:11: fatal error: linux/smp_lock.h: No such file or directory
Which old VBox version you try to run?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: [Error] Kernel driver not installed (rc=1908)

Post by scottgus1 »

JustYasu wrote:Kernel driver not installed
I think this is the key. Virtualbox must have kernel headers installed to install properly on a Linux host PC, per the manual section 2.3
Post Reply