You are not logged in.

#1 2014-09-26 04:20:11

klenamenis
Member
Registered: 2014-07-03
Posts: 101

[SOVLED] systemd-modules-load failed

Hey,

since I'm booting my own custom kernel (which totally works fine), the named systemd service fails to execute, but I don't know why. Directly before getting this message at boot, it says module "ipv6" could not be inserted (I've built my kernel without it).

[klemens@arch-pc ~]$ systemctl --failed
  UNIT                         LOAD   ACTIVE SUB    DESCRIPTION
● systemd-modules-load.service loaded failed failed Load Kernel Modules

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

[klemens@arch-pc ~]$ systemctl status systemd-modules-load.service 
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
   Active: failed (Result: exit-code) since Fri 2014-09-26 06:10:05 CEST; 1min 28s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 3528 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 3528 (code=exited, status=1/FAILURE)
[klemens@arch-pc ~]$ dmesg | grep ipv6                                        
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux-custom root=UUID=94c88bfe-9785-4548-82aa-ef995651a82e rw nosplash quiet rootflags=noatime,data=ordered,discard ipv6.disable=1 elevator=bfq radeon.tv=0 net.ifnames=1
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-custom root=UUID=94c88bfe-9785-4548-82aa-ef995651a82e rw nosplash quiet rootflags=noatime,data=ordered,discard ipv6.disable=1 elevator=bfq radeon.tv=0 net.ifnames=1
[    2.103876] systemd[1]: Failed to insert module 'ipv6'

How can I solve this problem? What actually tries to load the ipv6 module?

Last edited by klenamenis (2014-10-26 14:17:12)

Offline

#2 2014-09-26 12:00:05

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOVLED] systemd-modules-load failed

Systemd loads the ipv6 module at early boot. But this isn't why your service fails... Look in /etc/modules-load.d/ to figure that out.

Offline

#3 2014-09-26 20:24:36

klenamenis
Member
Registered: 2014-07-03
Posts: 101

Re: [SOVLED] systemd-modules-load failed

My /etc/modules-load.d/ is empty, no module gets loaded this way.

Offline

#4 2014-09-27 13:41:03

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOVLED] systemd-modules-load failed

And in /usr/lib/modules-load.d? There must be something in one of those directories, or else the service wouldn't even attempt to start (you should look at the conditions the service declares).

Offline

#5 2014-09-27 23:13:57

klenamenis
Member
Registered: 2014-07-03
Posts: 101

Re: [SOVLED] systemd-modules-load failed

Thanks, I checked the needed directories and removed an existing file (module).

Offline

Board footer

Powered by FluxBB