You are not logged in.

#1 2016-11-25 10:09:54

abasel
Member
Registered: 2015-04-29
Posts: 45

[RESOLVED] Virtual Box - Failed modules

I have looked at various forum posts but they are old and do not appear to help

How do I resolve these issues?

I have gone through the Wiki but must be missing something.

● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2016-11-25 23:05:33 NZDT; 1min 2s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 212 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 212 (code=exited, status=1/FAILURE)

Nov 25 23:05:33 baselmania systemd-modules-load[212]: Failed to insert 'vboxsf': No such device
Nov 25 23:05:33 baselmania systemd-modules-load[212]: Failed to insert 'vboxvideo': No such device
Nov 25 23:05:33 baselmania systemd-modules-load[212]: Inserted module 'vboxdrv'
Nov 25 23:05:33 baselmania systemd-modules-load[212]: Inserted module 'vboxpci'
Nov 25 23:05:33 baselmania systemd-modules-load[212]: Inserted module 'vboxnetadp'
Nov 25 23:05:33 baselmania systemd-modules-load[212]: Inserted module 'vboxnetflt'
Nov 25 23:05:33 baselmania systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Nov 25 23:05:33 baselmania systemd[1]: Failed to start Load Kernel Modules.
Nov 25 23:05:33 baselmania systemd[1]: systemd-modules-load.service: Unit entered failed state.
Nov 25 23:05:33 baselmania systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

Last edited by abasel (2016-11-26 09:22:25)

Offline

#2 2016-11-25 10:14:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [RESOLVED] Virtual Box - Failed modules

Building these from DKMS?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2016-11-25 10:31:52

abasel
Member
Registered: 2015-04-29
Posts: 45

Re: [RESOLVED] Virtual Box - Failed modules

I got a little confused by the following. I pressumed that I was using a linux kernel and so chose virtualbox-host-modules-arch.

Install the core packages

Install the virtualbox package. You will need to choose a package to provide host modules:

    for linux kernel choose virtualbox-host-modules-arch
    for other kernels choose virtualbox-host-dkms

To compile the virtualbox modules provided by virtualbox-host-dkms, it will also be necessary to install the appropriate headers package(s) for your installed kernel(s) (e.g. linux-lts-headers for linux-lts). [1] When either VirtualBox or the kernel is updated, the kernel modules will be automatically recompiled thanks to the DKMS Pacman hook.

Not sure if this answers your question.

Last edited by abasel (2016-11-25 10:50:01)

Offline

#4 2016-11-25 22:32:38

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: [RESOLVED] Virtual Box - Failed modules

output of "pacman -Q | grep virtualbox"?
Is Arch host or guest system?

Offline

#5 2016-11-26 04:36:14

abasel
Member
Registered: 2015-04-29
Posts: 45

Re: [RESOLVED] Virtual Box - Failed modules

Oops it looks like I have both

[abasel@baselmania ~]$ pacman -Q | grep virtualbox
virtualbox 5.1.10-1
virtualbox-ext-oracle 5.1.10-1
virtualbox-guest-dkms 5.1.10-1
virtualbox-guest-iso 5.1.10-1
virtualbox-host-modules-arch 5.1.10-2

Should I uninstall the host modules?

Offline

#6 2016-11-26 05:27:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [RESOLVED] Virtual Box - Failed modules

You should read the wiki, rather than look to have your hand held here:
https://wiki.archlinux.org/index.php/VirtualBox


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2016-11-26 05:41:55

abasel
Member
Registered: 2015-04-29
Posts: 45

Re: [RESOLVED] Virtual Box - Failed modules

Done that smile Now I am going into the trial and error mode smile If I get it right I will update the post.

Offline

#8 2016-11-26 06:15:48

abasel
Member
Registered: 2015-04-29
Posts: 45

Re: [RESOLVED] Virtual Box - Failed modules

Uninstalled virtualbox-guest-dkms and it came right smile

Offline

Board footer

Powered by FluxBB