You are not logged in.

#1 2022-04-15 15:08:16

arealactualcat
Member
Registered: 2022-04-15
Posts: 4

virtualbox no longer opening session

Hi!

I had just gotten virtualbox set up and running yesterday, but today after I powered on my laptop, virtualbox is no longer able to start my vm.

My host is arch linux,
VM is windows 10.

The virtual machine 'MSEdge - Win10' has terminated unexpectedly during startup with exit code 1 (0x1).


Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
MachineWrap
Interface: 
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

and

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. 
$ cat /usr/lib/modules-load.d/virtualbox-host-modules-arch.conf 
vboxdrv
vboxnetadp
vboxnetflt
$ sudo systemctl --failed
  UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
$ sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.17.2-arch3-1
$ sudo systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
     Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
     Active: active (exited) since Fri 2022-04-15 07:11:15 PDT; 53min ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
   Main PID: 275 (code=exited, status=0/SUCCESS)
        CPU: 9ms

Notice: journal has been rotated since unit was started, output may be incomplete.

Offline

#2 2022-04-15 15:09:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,539

Re: virtualbox no longer opening session

What package did you install for the modules and what kernel are you using?

Offline

#3 2022-04-15 15:13:11

arealactualcat
Member
Registered: 2022-04-15
Posts: 4

Re: virtualbox no longer opening session

$ uname -r
5.17.2-arch3-1

if I'm remembering correctly (please let me know how I can verify) I installed

virtualbox-host-modules-arch

Offline

#4 2022-04-15 15:19:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,539

Re: virtualbox no longer opening session

You can use pacman -Qs <term> to search installed packages.

That kernel is slightly out of date. Did you update the modules package but not the kernel?

Offline

#5 2022-04-15 15:26:20

arealactualcat
Member
Registered: 2022-04-15
Posts: 4

Re: virtualbox no longer opening session

$ sudo pacman -Qs modules
[sudo] password for
local/libp11-kit 0.24.1-1
    Loads and enumerates PKCS#11 modules (library)
local/linux 5.17.2.arch3-1
    The Linux kernel and modules
local/p11-kit 0.24.1-1
    Loads and enumerates PKCS#11 modules
local/pam 1.5.2-1
    PAM (Pluggable Authentication Modules) library
local/perl-mailtools 2.21-5
    Various e-mail related modules
local/virtualbox-host-modules-arch 6.1.32-23
    Virtualbox host kernel modules for Arch Kernel

I don't know/remember whether I updated the modules package or the kernel.

How can I check?

Offline

#6 2022-04-15 15:29:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,539

Re: virtualbox no longer opening session

virtualbox-host-modules-arch 6.1.32-23 is the current version, built for the current kernel. You did a partial update. Don't run pacman -Sy or cancel an update. If you do, you can't do anything else until you finish updating the system.

Offline

#7 2022-04-15 15:49:33

arealactualcat
Member
Registered: 2022-04-15
Posts: 4

Re: virtualbox no longer opening session

fixed it!

$ sudo pacman -Syu

rebooted host and now virtualbox is running beautifully.

Offline

Board footer

Powered by FluxBB