You are not logged in.

#1 2016-03-16 02:00:59

josealb77
Member
Registered: 2013-06-23
Posts: 90

[SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

Hi,
while booting I see this systemd FAILURE in red:

[    7.115759] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[    7.115869] systemd[1]: Failed to start Load Kernel Modules.
[    7.172730] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[    7.172733] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

After some searching I've seen people execute these commands trying to debug the problem, so here are the outputs:

[josealb77@ArchLinux ~]$ 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 mié 2016-03-16 00:53:56 CET; 30min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 180 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 180 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[josealb77@ArchLinux ~]$ journalctl -b _PID=180
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
-- No entries --

Nevertheless, I don't see anything clear. What more can I do to know what's this error about and how to solve it?

Last edited by josealb77 (2016-03-16 13:17:06)

Offline

#2 2016-03-16 06:30:18

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,437

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

Have you installed "linux-headers", if so check that they are the same version as your "linux", if not so, you may need to install them.

Offline

#3 2016-03-16 10:44:54

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

linux-headers it's installed and it's the same kernel version (4.4.5-1)

Offline

#4 2016-03-16 10:49:06

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

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

Post your

cat /usr/lib/modules-load.d/virtualbox-host-dkms.conf
cat /usr/lib/modules-load.d/virtualbox-guest-dkms.conf

Also do you have anything vbox related inside /etc/modules-load.d/?


https://ugjka.net
paru > yay | vesktop > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#5 2016-03-16 11:00:40

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

[josealb77@ArchLinux ~]$ cat /usr/lib/modules-load.d/virtualbox-host-dkms.conf
vboxdrv
vboxpci
vboxnetadp
vboxnetflt
[josealb77@ArchLinux ~]$ cat /usr/lib/modules-load.d/virtualbox-guest-dkms.conf
vboxguest
vboxsf
vboxvideo

In  /etc/modules-load.d/ I just have a file: virtualbox.conf

[josealb77@ArchLinux ~]$ cat /etc/modules-load.d/virtualbox.conf 
vboxdrv 
vboxpci 
vboxnetadp 
vboxnetflt

Offline

#6 2016-03-16 11:15:55

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

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

error wrote:

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

Reboot and check systemctl status systemd-modules-load.service until you get some list of modules that fail


https://ugjka.net
paru > yay | vesktop > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#7 2016-03-16 11:22:34

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

That's what I did before opening this thread and the outputs are in the first post.

Offline

#8 2016-03-16 11:27:16

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

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

Idk, your logs get cleared upon reboot it  seems

Run systemctl restart systemd-modules-load.service
And then try again systemctl status systemd-modules-load.service

Run them as root


https://ugjka.net
paru > yay | vesktop > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#9 2016-03-16 11:40:35

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

I've run them right now, without rebooting.

[josealb77@ArchLinux ~]$ sudo systemctl restart systemd-modules-load.service
[sudo] password for josealb77: 
Job for systemd-modules-load.service failed because the control process exited with error code. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.
[josealb77@ArchLinux ~]$ 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; vendor preset: disabled)
   Active: failed (Result: exit-code) since mié 2016-03-16 12:30:02 CET; 22s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 13397 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 13397 (code=exited, status=1/FAILURE)

mar 16 12:30:01 ArchLinux systemd[1]: Stopped Load Kernel Modules.
mar 16 12:30:01 ArchLinux systemd[1]: Starting Load Kernel Modules...
mar 16 12:30:02 ArchLinux systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
mar 16 12:30:02 ArchLinux systemd[1]: Failed to start Load Kernel Modules.
mar 16 12:30:02 ArchLinux systemd[1]: systemd-modules-load.service: Unit entered failed state.
mar 16 12:30:02 ArchLinux systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

And the "journalctl -xe" is quite big but I think the relevant part is this:

mar 16 12:30:01 ArchLinux sudo[13370]: josealb77 : TTY=pts/0 ; PWD=/home/josealb77 ; USER=root ; COMMAND=/usr/bin/systemctl restart systemd-modules-load.servi
mar 16 12:30:02 ArchLinux kernel: vboxguest: PCI device not found, probably running on physical hardware.
mar 16 12:30:02 ArchLinux kernel: vboxguest: PCI device not found, probably running on physical hardware.
mar 16 12:30:01 ArchLinux systemd[1]: Stopped Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has finished shutting down.
mar 16 12:30:01 ArchLinux sudo[13370]: pam_unix(sudo:session): session opened for user root by (uid=0)
mar 16 12:30:01 ArchLinux systemd[1]: Starting Load Kernel Modules...
-- Subject: Unit systemd-modules-load.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has begun starting up.
mar 16 12:30:01 ArchLinux polkitd[591]: Registered Authentication Agent for unix-process:13389:310396 (system bus name :1.56 [/usr/bin/pkttyagent --notify-fd 
mar 16 12:30:02 ArchLinux systemd-modules-load[13397]: Failed to insert 'vboxguest': No such device
mar 16 12:30:02 ArchLinux sudo[13370]: pam_unix(sudo:session): session closed for user root
mar 16 12:30:02 ArchLinux systemd-modules-load[13397]: Failed to insert 'vboxsf': No such device
mar 16 12:30:02 ArchLinux polkitd[591]: Unregistered Authentication Agent for unix-process:13389:310396 (system bus name :1.56, object path /org/freedesktop/P
mar 16 12:30:02 ArchLinux systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
mar 16 12:30:02 ArchLinux systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has failed.
-- 
-- The result is failed.
mar 16 12:30:02 ArchLinux systemd[1]: systemd-modules-load.service: Unit entered failed state.
mar 16 12:30:02 ArchLinux systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

Offline

#10 2016-03-16 11:44:32

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

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

What's the output of pacman -Qs virtualbox and pacman -Qs linux and uname -a ?


https://ugjka.net
paru > yay | vesktop > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#11 2016-03-16 11:48:31

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

pacman -Qs virtualbox

[josealb77@ArchLinux ~]$ pacman -Qs virtualbox
local/virtualbox 5.0.16-3
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-guest-dkms 5.0.16-3
    VirtualBox Guest kernel modules sources
local/virtualbox-guest-iso 5.0.16-1
    The official VirtualBox Guest Additions ISO image
local/virtualbox-host-dkms 5.0.16-3
    VirtualBox Host kernel modules sources

pacman -Qs linux

[josealb77@ArchLinux ~]$ pacman -Qs linux
local/alsa-lib 1.1.0-1
    An alternative implementation of Linux sound support
local/alsa-utils 1.1.0-1
    An alternative implementation of Linux sound support
local/archlinux-artwork 1.6-3
    Official logos, icons, CD labels and other artwork for Arch Linux
local/archlinux-keyring 20160215-1
    Arch Linux PGP keyring
local/archlinux-themes-slim 1.2-4
    Arch Linux branded themes for the SLiM login manager
local/avahi 0.6.32-2
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/caja-dropbox 1.12.0-1
    Dropbox for Linux - Caja extension
local/curlew 0.2.1-2
    Easy to use, Free and Open-Source Multimedia converter for Linux in Python
local/iptables 1.4.21-3
    Linux kernel packet control tool
local/keyutils 1.5.9-1
    Linux Key Management Utilities
local/kmod 22-1
    Linux kernel module management tools and library
local/ladspa 1.13-6
    Linux Audio Developer's Simple Plugin API (LADSPA)
local/lib32-alsa-lib 1.1.0-1
    An alternative implementation of Linux sound support (32 bit)
local/lib32-keyutils 1.5.9-1
    Linux Key Management Utilities (32-bit)
local/lib32-libaio 0.3.110-1
    The Linux-native asynchronous I/O facility (aio) library
local/lib32-libasyncns 0.8-7
    A C library for Linux/Unix for executing name service queries asynchronously (32-bit)
local/lib32-libxshmfence 1.2-1
    a library that exposes a event API on top of Linux futexes (32-bit)
local/lib32-util-linux 2.27.1-1
    Miscellaneous system utilities for Linux (32-bit)
local/lib32-v4l-utils 1.6.3-1
    Userspace tools and conversion library for Video 4 Linux (32-bit)
local/libaio 0.3.110-1
    The Linux-native asynchronous I/O facility (aio) library
local/libiec61883 1.2.0-4
    A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libimobiledevice 1.2.0-3
    Library that talks the protocols to support iPhone and iPod Touch devices on Linux
local/libiodbc 3.52.9-2
    Independent Open DataBase Connectivity for Linux
local/libraw1394 2.1.1-1
    Provides an API to the Linux IEEE1394 (FireWire) driver
local/libutil-linux 2.27.1-1
    util-linux runtime libraries
local/libva 1.6.2-1
    Video Acceleration (VA) API for Linux
local/libxshmfence 1.2-1
    a library that exposes a event API on top of Linux futexes
local/linux 4.4.5-1 (base)
    The Linux kernel and modules
local/linux-api-headers 4.4.1-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20160113.40e9ae8-1
    Firmware files for Linux
local/linux-headers 4.4.5-1
    Header files and scripts for building modules for Linux kernel
local/linuxconsole 1.4.9-2
    Set of utilities for joysticks and serial devices
local/lirc 1:0.9.3.a-2
    Linux Infrared Remote Control utils
local/man-pages 4.04-1 (base)
    Linux man pages
local/mdadm 3.4-1 (base)
    A tool for managing/monitoring Linux md device arrays, also known as Software RAID
local/mint-translations 2015.02.25-2
    Linux Mint Translation Files
local/mint-x-theme 1.4.6-2
    A Linux Mint theme. Includes GTK2, GTK3, Metacity, Xfce, and Openbox components.
local/mplayer 37379-7
    Media player for Linux
local/net-tools 1.60.20130531git-1
    Configuration tools for Linux networking
local/nmon 16d-1
    AIX & Linux Performance Monitoring tool
local/nvidia 361.28-4
    NVIDIA drivers for linux
local/pacman-mirrorlist 20160314-1
    Arch Linux mirror list for use by pacman
local/pkgtools 25-5
    A collection of scripts for Arch Linux packages
local/playonlinux 4.2.10-1
    GUI for managing Windows programs under linux
local/syslinux 6.03-5
    Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE
local/ttf-linux-libertine 5.3.0-3
    Serif (Libertine) and Sans Serif (Biolinum) OpenType fonts with large Unicode coverage
local/util-linux 2.27.1-1 (base base-devel)
    Miscellaneous system utilities for Linux
local/v4l-utils 1.10.0-1
    Userspace tools and conversion library for Video 4 Linux

uname -a

[josealb77@ArchLinux ~]$ uname -a
Linux ArchLinux 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 GNU/Linux

Offline

#12 2016-03-16 11:52:33

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

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

Is your arch installation host or guest?


https://ugjka.net
paru > yay | vesktop > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#13 2016-03-16 11:56:10

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

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

If your arch is host remove virtualbox-guest-dkms package

if your arch is guest reinstall virtualbox-guest-dkms package


https://ugjka.net
paru > yay | vesktop > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#14 2016-03-16 12:56:04

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

My Arch is a host, I'll try removing virtualbox-guest-dkms when I come back.

Offline

#15 2016-03-16 13:16:17

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

[SOLVED] removing virtualbox-guest-dkms.

I don't know why was that package installed if it is only needed when you're in a guest system. I DO not remember having installed it manually.

Thank you ugjka! Efficent path to diagnose and solve the problem. Good work.

See you!

Offline

#16 2016-03-30 22:24:41

grandadevans
Member
Registered: 2016-03-18
Posts: 4

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

For me it was also the fact that had the guest packages installed in the host

sudo pacman -R virtualbox-guest-utils virtualbox-guest-dkms

did it for me :-)

Offline

#17 2016-05-17 16:19:28

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

I'm getting a dependency error and suspect maybe need to remove vboxguest-hook also?

root@arch-bill /home/bill # pacman -R virtualbox-guest-dkms
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: vboxguest-hook: removing virtualbox-guest-dkms breaks dependency 'virtualbox-guest-dkms'

1 root@arch-bill /home/bill # pacman -R virtualbox-guest-utils                                                                                                            :(
checking dependencies...
Packages (1) virtualbox-guest-utils-5.0.20-1
Total Removed Size:  7.92 MiB
:: Do you want to remove these packages? [Y/n] Y
:: Processing package changes...
(1/1) removing virtualbox-guest-utils                                                                   [--------------------------------------------------------------] 100%

root@arch-bill /home/bill # pacman -R virtualbox-guest-dkms 
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: vboxguest-hook: removing virtualbox-guest-dkms breaks dependency 'virtualbox-guest-dkms'

Arch is host (linux-ck-piledriver, with corresponding headers and corresponding guest and host ck-piledriver modules)

1 root@arch-bill /home/bill # uname -a                                                                                                                                    :(
Linux arch-bill 4.5.4-1-ck #1 SMP PREEMPT Wed May 11 16:10:32 EDT 2016 x86_64 GNU/Linux

∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#18 2016-05-17 16:25:44

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,399
Website

Re: [SOLVED] Boot FAILURE: systemd-modules-load.service: Main process exit

WFV, please create a new thread for your issue, this one is marked as solved.

https://wiki.archlinux.org/index.php/Fo … ow_to_post

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB