You are not logged in.

#1 2016-03-13 20:26:46

Fuentes
Member
Registered: 2011-08-01
Posts: 20

[SOLVED] Failed to start Load Kernel Modules after update DKMS

Hi everyone:

I just updated my arch installation and and error is loggen when run dmesg. Yesterday i updated the system after few weeks and i notice that the virtualbox-guest-modules package was replaced by virtualbox-guest-dkms, and the same error was showed. Installing the linux-headers package was solved de issue.

But this time when i run the complete system update and the new version of virtualbox-guest-dkms was installed, the same error of yesterday is showed and don't know how to solve it.

"# systemctl status systemd-modules-load" and "# journalctl -u systemd-modules-load" showed nothing helpful. Here the output:

Systemctl:
 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 dom 2016-03-13 17:05:46 CLT; 16min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 143 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 143 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.


Journalctl:
-- Reboot --
mar 11 23:18:41 fuentes-env systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
mar 11 23:18:41 fuentes-env systemd[1]: Failed to start Load Kernel Modules.
mar 11 23:18:41 fuentes-env systemd[1]: systemd-modules-load.service: Unit entered failed state.
mar 11 23:18:41 fuentes-env systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
-- Reboot --

Any ideas?
Many thanks in advance.

Last edited by Fuentes (2016-03-13 21:23:32)

Offline

#2 2016-03-13 20:27:35

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

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-03-13 20:31:45

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

Possibly? https://bbs.archlinux.org/viewtopic.php?id=210074

What does cat /usr/lib/modules-load.d/virtualbox-host-dkms.conf say

Offline

#4 2016-03-13 20:55:55

Fuentes
Member
Registered: 2011-08-01
Posts: 20

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

You're right. The /usr/lib/modules-load.d/virtualbox-host-dkms.conf file was bogus, but correcting it not solved the problem. Now the file looks like this:

vboxnetadp
vboxsf
vboxguest

Another question:
Time ago i create the /etc/modules-load.d/virtualbox.conf file to load modules at boot time. This file looks like this:

vboxguest
vboxsf

Still is a valid file or he was replaced by /usr/lib/modules-load.d/virtualbox-host-dkms.conf?

Offline

#5 2016-03-13 20:57:05

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

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

Are we dealing with a host or a guest here? You referred to "host" in the last post, so I'm not sure anymore.

Assuming we're talking about a guest, see https://bugs.archlinux.org/task/48566

Last edited by Scimmia (2016-03-13 20:58:56)

Offline

#6 2016-03-13 21:03:01

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

@Fuentes Sorry you mentioned virtualbox-guest-dkms, what I pointed to was for virtualbox-host-dkms. This is a different issue.

Last edited by ugjka (2016-03-13 21:03:47)

Offline

#7 2016-03-13 21:06:04

Fuentes
Member
Registered: 2011-08-01
Posts: 20

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

OH!, my bad. Is a guest arch installation. I suppose that any change to /usr/lib/modules-load.d/virtualbox-host-dkms.conf didn't anything to my system.

So, the problem still exists. Any suggestion?

Offline

#8 2016-03-13 21:17:43

Fuentes
Member
Registered: 2011-08-01
Posts: 20

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

OK, i fixed by the @Scimmia and @ugjka suggestions. The file /usr/lib/modules-load.d/virtualbox-guest-dkms.conf was bogus in two ways:

- The '\n' bug
- And the non-existent module 'vboxnetadp'

Many thanks to all!!

Still i got the second question:

Time ago i create the /etc/modules-load.d/virtualbox.conf file to load modules at boot time. This file looks like this:

vboxguest
vboxsf

Still is a valid file or he was replaced by /usr/lib/modules-load.d/virtualbox-guest-dkms.conf?

Last edited by Fuentes (2016-03-13 21:18:16)

Offline

#9 2016-03-13 21:19:45

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

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

They do the same thing, so you don't need the one in /etc anymore.

Offline

#10 2016-03-13 21:23:08

Fuentes
Member
Registered: 2011-08-01
Posts: 20

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

Ok, i'll remove then. Many thanks.

Offline

#11 2016-03-14 00:31:30

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

Update is out and it should be fixed now.


do it good first, it will be faster than do it twice the saint wink

Offline

#12 2016-03-14 07:52:44

STaRDoGG
Member
Registered: 2016-01-01
Posts: 6

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

The Wiki probably still needs some updating in the guest part: https://wiki.archlinux.org/index.php/Vi … _modules_2

I'm also not sure why vboxservice should still be responsible for loading the modules if it is now handled by systemd-modules-load by default.

Anyways, thx for the fix.

Last edited by STaRDoGG (2016-03-14 07:54:29)

Offline

#13 2016-03-14 09:52:37

enkeyz
Member
Registered: 2016-03-14
Posts: 2

Re: [SOLVED] Failed to start Load Kernel Modules after update DKMS

FIXED it with removing virtualbox-guest-dkms package.

I have the following packages installed:

[enkeyz@locknload ~]$ sudo pacman -Q | grep virtualbox           
[sudo] password for enkeyz:                           
virtualbox 5.0.16-3
virtualbox-guest-dkms 5.0.16-3
virtualbox-guest-iso 5.0.16-1
virtualbox-host-dkms 5.0.16-3
[enkeyz@locknload ~]$
[enkeyz@locknload ~]$ dkms status
vboxguest, 5.0.16_OSE, 4.4.5-1-ARCH, i686: installed
vboxhost, 5.0.16_OSE, 4.4.5-1-ARCH, i686: installed
[enkeyz@locknload ~]$

And I still get this error message while booting my system:

Mar 14 11:10:31 locknload kernel: EXT4-fs (sda6): re-mounted. Opts: data=ordered
Mar 14 11:10:31 locknload systemd[1]: Mounted Temporary Directory.
Mar 14 11:10:31 locknload systemd[1]: Started Remount Root and Kernel File Systems.
Mar 14 11:10:31 locknload systemd[1]: Starting Create Static Device Nodes in /dev...
Mar 14 11:10:31 locknload systemd[1]: Starting Load/Save Random Seed...
Mar 14 11:10:31 locknload systemd[1]: Starting udev Coldplug all Devices...
Mar 14 11:10:31 locknload kernel: Linux agpgart interface v0.103
Mar 14 11:10:31 locknload kernel: [drm] Initialized drm 1.1.0 20060810
Mar 14 11:10:31 locknload systemd[1]: Started Load/Save Random Seed.
Mar 14 11:10:31 locknload systemd[1]: Started udev Coldplug all Devices.
Mar 14 11:10:31 locknload kernel: vboxdrv: Found 2 processor cores
Mar 14 11:10:31 locknload kernel: vboxdrv: fAsync=0 offMin=0x200 offMax=0xdf7
Mar 14 11:10:31 locknload kernel: vboxdrv: TSC mode is Synchronous, tentative frequency 2499983745 Hz
Mar 14 11:10:31 locknload kernel: vboxdrv: Successfully loaded version 5.0.16_OSE (interface 0x00240000)
Mar 14 11:10:31 locknload kernel: VBoxPciLinuxInit
Mar 14 11:10:31 locknload systemd[1]: Started Create Static Device Nodes in /dev.
Mar 14 11:10:31 locknload systemd[1]: Starting udev Kernel Device Manager...
Mar 14 11:10:31 locknload systemd[1]: Reached target Local File Systems (Pre).
Mar 14 11:10:31 locknload systemd[1]: Started Setup Virtual Console.
Mar 14 11:10:31 locknload kernel: vboxpci: IOMMU not found (not registered)
Mar 14 11:10:31 locknload kernel: VBoxNetAdp: Successfully started.
Mar 14 11:10:31 locknload kernel: VBoxNetFlt: Successfully started.
Mar 14 11:10:31 locknload systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Mar 14 11:10:31 locknload systemd[1]: Failed to start Load Kernel Modules.
Mar 14 11:10:31 locknload systemd[1]: systemd-modules-load.service: Unit entered failed state.
Mar 14 11:10:31 locknload systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Mar 14 11:10:31 locknload systemd[1]: Starting Apply Kernel Variables...
Mar 14 11:10:31 locknload systemd[1]: Mounting Configuration File System...
Mar 14 11:10:31 locknload systemd[1]: Mounted Configuration File System.
Mar 14 11:10:31 locknload systemd[1]: Started udev Kernel Device Manager.
Mar 14 11:10:31 locknload systemd[1]: Started Apply Kernel Variables.
Mar 14 11:10:31 locknload systemd-journald[175]: Journal started
Mar 14 11:10:31 locknload systemd-modules-load[173]: Failed to insert 'vboxguest': No such device
Mar 14 11:10:31 locknload systemd[1]: Started Journal Service.
Mar 14 11:10:31 locknload systemd-modules-load[173]: Failed to insert 'vboxsf': No such device
Mar 14 11:10:29 locknload systemd-modules-load[173]: Inserted module 'vboxvideo'
Mar 14 11:10:30 locknload systemd-modules-load[173]: Inserted module 'vboxdrv'
Mar 14 11:10:30 locknload systemd-modules-load[173]: Inserted module 'vboxpci'
Mar 14 11:10:30 locknload systemd-modules-load[173]: Inserted module 'vboxnetadp'
Mar 14 11:10:30 locknload systemd-modules-load[173]: Inserted module 'vboxnetflt'
Mar 14 11:10:31 locknload systemd[1]: Starting Flush Journal to Persistent Storage...
[enkeyz@locknload ~]$ systemctl status systemd-modules-load.service
● 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 Mon 2016-03-14 11:10:30 UTC; 8min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 173 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 173 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[enkeyz@locknload ~]$ 

Last edited by enkeyz (2016-03-14 10:30:20)

Offline

Board footer

Powered by FluxBB