You are not logged in.

#1 2014-08-29 05:11:33

colegui
Member
From: Castellón de la Plana, Spain.
Registered: 2014-07-20
Posts: 64

(Solved) Virtualbox : Failed to start load-kernel Modules

Hi, i have installed a second kernel LTS ( 3.14.17-1-lts) and if I choose to start with this kernel I get the warning:

Failed to start load-Kernel Modules


Once inside the system, I tried to find information about the problem:

[alkde1974g@archkde ~]$ systemctl status systemd-modules-load
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
   Active: failed (Result: exit-code) since vie 2014-08-29 06:25:43 CEST; 2min 8s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 141 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 141 (code=exited, status=1/FAILURE)

ago 29 06:25:42 archkde systemd-modules-load[141]: Inserted module 'vboxdrv'
ago 29 06:25:42 archkde systemd-modules-load[141]: Failed to insert 'vboxnetadp': Invalid argument
ago 29 06:25:42 archkde systemd-modules-load[141]:Failed to insert 'vboxnetflt': Invalid argument
ago 29 06:25:43 archkde systemd[1]: systemd-modules-load.service: main process exited, code=exited,...ILURE
ago 29 06:25:43 archkde systemd[1]: Failed to start Load Kernel Modules.
ago 29 06:25:43 archkde systemd[1]: Unit systemd-modules-load.service entered failed state.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Hint: Some lines were ellipsized, use -l to show in full.

virtualbox-modules configuration:

cat /etc/modules-load.d/virtualbox.conf

vboxdrv
vboxnetadp
vboxnetflt
vboxpci

I have installed virtualbox-host-modules-lts and also virtualbox-host-dkms ( I do not know if the latter is necessary ). I do not know why I get the message:


Failed to insert 'vboxnetadp': Invalid argument
Failed to insert 'vboxnetflt': Invalid argument

.. if I choose to start with the official kernel (3.16.1), the warning is not displayed the modules are loaded correctly.



Edit: Solution

Remove virtuabox-host-modules and virtualbox-host-modules-lts.

$ sudo pacman  -Rns virtualbox-host-modules
$ sudo pacman  -Rns virtualbox-host-modules-lts

Install virtualbox-host-dkms

$ sudo pacman -S virtualbox-host-dkms

Build dkms modules in the kernel manually

$ sudo dkms install vboxhost/4.3.14

Build dkms modules in the kernel automatically

# Systemctl enable dkms.service

Best Regards.

Last edited by colegui (2014-08-29 15:52:06)

Offline

#2 2014-08-29 13:53:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: (Solved) Virtualbox : Failed to start load-kernel Modules

Offline

#3 2014-08-29 15:39:16

colegui
Member
From: Castellón de la Plana, Spain.
Registered: 2014-07-20
Posts: 64

Re: (Solved) Virtualbox : Failed to start load-kernel Modules


Finally I solved the problem:

$ sudo pacman  -Rns virtualbox-host-modules
$ sudo pacman  -Rns virtualbox-host-modules-lts

$ sudo pacman -S virtualbox-host-dkms
$ sudo dkms install vboxhost/4.3.14
# Systemctl enable dkms.service

Thank you so much @Scimmia.

Last edited by colegui (2014-08-29 15:39:57)

Offline

Board footer

Powered by FluxBB