You are not logged in.

#1 2019-08-03 17:20:26

txtsd
Member
Registered: 2014-10-02
Posts: 97
Website

[SOLVED] systemd-modules-load.service fails at every boot.

λ 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 Sat 2019-08-03 17:52:10 IST; 4h 35min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
 Main PID: 374 (code=exited, status=1/FAILURE)

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

It fails at every boot, and the journal rotation warning is displayed every time.
How do I go about figuring out why this service is failing?

I did some digging and found these modules in the files scanned by systemd-modules-load.service

λ ls -alh /etc/modules-load.d/*.conf /usr/lib/modules-load.d/*.conf                                                                 
-rw-r--r-- 1 root root 15 Mar 25  2018 /etc/modules-load.d/modules.conf
-rw-r--r-- 1 root root 54 Jun 30  2018 /etc/modules-load.d/ryzen-stabilizator.conf
-rw-r--r-- 1 root root 12 Jan 14  2019 /usr/lib/modules-load.d/bluez.conf
-rw-r--r-- 1 root root  5 Mar  3 08:18 /usr/lib/modules-load.d/cdemu.conf
-rw-r--r-- 1 root root 22 Jul 15 05:38 /usr/lib/modules-load.d/usbip.conf
-rw-r--r-- 1 root root 15 Jul 27 20:57 /usr/lib/modules-load.d/vmware.conf

[txtsd@dungeon-of-data]─[~]                                                                               [19-08-03 22:45:07]
λ cat /etc/modules-load.d/*.conf /usr/lib/modules-load.d/*.conf                                                               
# it87
nct6775
# `msr' module is required by ryzen-stabilizator.
msr
crypto_user
vhba
usbip-core
usbip-host
vmw_vmci
vmmon

These are the 2 DKMS modules I have installed in case they have anything to do with it

nct6775-master-dkms-git
wireguard-dkms

Last edited by txtsd (2019-08-04 02:51:52)


[CPU] AMD Ryzen 5 2400G
[GPU] AMD Radeon RX 7600 XT
[Kernel] linux-zen
[sway] [zsh] Arch user since [2014-09-01 02:09]

Offline

#2 2019-08-03 18:03:36

loqs
Member
Registered: 2014-03-06
Posts: 19,048

Re: [SOLVED] systemd-modules-load.service fails at every boot.

Did you check which of those modules is not loaded?

Offline

#3 2019-08-03 18:47:29

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] systemd-modules-load.service fails at every boot.

txtsd wrote:

How do I go about figuring out why this service is failing?

By following the wiki which covers this very situation as an example...
https://wiki.archlinux.org/index.php/Sy … leshooting


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2019-08-04 02:51:25

txtsd
Member
Registered: 2014-10-02
Posts: 97
Website

Re: [SOLVED] systemd-modules-load.service fails at every boot.

Slithery wrote:
txtsd wrote:

How do I go about figuring out why this service is failing?

By following the wiki which covers this very situation as an example...
https://wiki.archlinux.org/index.php/Sy … leshooting

Thanks. Just what I needed.


[CPU] AMD Ryzen 5 2400G
[GPU] AMD Radeon RX 7600 XT
[Kernel] linux-zen
[sway] [zsh] Arch user since [2014-09-01 02:09]

Offline

#5 2019-08-05 22:25:53

mountaineerbr
Banned
Registered: 2018-12-08
Posts: 48

Re: [SOLVED] systemd-modules-load.service fails at every boot.

I had the same problem. I investigated as instructed here in this thread and found that
in my case, VirtualBox vboxdrv and other modules were not being loaded for a lack of
configuration files for the LTS kernel (4.19) I  have installed alongside the arch kernel
(which LTS kernel I think really should not be using stock arch kernel modules normally..).

Removing virtualbox-host-modules-arch (6.0.10-5)
and installing  virtualbox-host-dkms (6.0.10-1)

is working for me.

Last edited by mountaineerbr (2019-08-05 22:29:10)

Offline

#6 2019-08-05 23:25:29

loqs
Member
Registered: 2014-03-06
Posts: 19,048

Re: [SOLVED] systemd-modules-load.service fails at every boot.

mountaineerbr wrote:

in my case, VirtualBox vboxdrv and other modules were not being loaded for a lack of
configuration files for the LTS kernel (4.19) I  have installed alongside the arch kernel

modules-load.d  is not kernel or kernel version specific so /usr/lib/modules-load.d/virtualbox-host-modules-arch.conf is used by linux-lts

mountaineerbr wrote:

(which LTS kernel I think really should not be using stock arch kernel modules normally..).

linux-lts will not use modules built for linux which is why the service failed as it could not find the modules vboxdrv vboxpci vboxnetadp vboxnetflt for linux-lts.

Offline

#7 2019-08-06 00:31:51

mountaineerbr
Banned
Registered: 2018-12-08
Posts: 48

Re: [SOLVED] systemd-modules-load.service fails at every boot.

Hey loqs, I was wondering about your answer.
My system started booting with the LTS kernel,
that is why I was getting this err message in the first
place. Not a problem at all, i changed grub configs
unintentionally &  had not noticed before.

Stupid me!

PS: Not really...  that was only part of my problems!
I had to sync back with the 1st August static repo.
Messing with Vbox modules happened with upgrading
these pkgs:

cairo (1.16.0-2 -> 1.17.2+17+g52a7c79fd-1)
exiv2 (0.27.1-1 -> 0.27.2-1)
imagemagick (7.0.8.58-1 -> 7.0.8.59-1)
keyutils (1.6-1 -> 1.6.1-1)
libgee (0.20.1-2 -> 0.20.2-1)
libgudev (232-1 -> 233-1)
libmagick6 (6.9.10.56-1 -> 6.9.10.59-1)
libraw (0.19.3-1 -> 0.19.4-1)
libxnvctrl (430.40-1 -> 430.40-3)
pango (1:1.44.1-1 -> 1:1.44.3-1)
nvidia-settings (430.40-1 -> 430.40-3)
x265 (3.1.1-1 -> 3.1.2-1)

Also, i was using the linux 5.2.5 at this time.
just now I noticed there seems to be a new upgrade for linux 5.2.6
I will _not_ try that, though... but maybe linux 5.2.5 together with
one of those above-mentioned pkgs is a vbox module killer

Also, I will keep to upgrading Arch once a month only, at the first
day of the month, as i noticed that upgrades get a little less stable
after the monthly Arch install .iso image is created...

Last edited by mountaineerbr (2019-08-06 01:31:19)

Offline

Board footer

Powered by FluxBB