Artix Linux Forum

Init systems => dinit => Topic started by: dr-kart on 27 May 2024, 09:52:05

Title: Failed early-modules.target
Post by: dr-kart on 27 May 2024, 09:52:05
KDE plasma

grep elogind /var/log/errors.log | tail
Code: [Select]
pam_elogind(sddm-greeter:session): Failed to connect to system bus

on boot screen:
Quote
service module failed with exit code 123
failed early-modules.target

Checked /etc/pam.d for *.pacnew files and moved them to their respective locations. (kde.pacnew)
Title: Re: Failed early-modules.target
Post by: konimex on 27 May 2024, 14:49:13
What's the output of
Title: Re: Failed early-modules.target
Post by: dr-kart on 27 May 2024, 16:03:54
dinitctl status kmod-static-nodes
Code: [Select]
Service: kmod-static-nodes
    State: STARTED
    Activation: start due to dependent(s)
dinitctl status modules
Code: [Select]
Service: modules
    State: STOPPED (failed to start; exited - status 123)
/usr/bin/kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
Code: [Select]
c! /dev/cuse 0600 - - - 10:203
c! /dev/btrfs-control 0600 - - - 10:234
c! /dev/loop-control 0600 - - - 10:237
d /dev/net 0755 - - -
c! /dev/net/tun 0600 - - - 10:200
c! /dev/ppp 0600 - - - 108:0
c! /dev/uinput 0600 - - - 10:223
d /dev/mapper 0755 - - -
c! /dev/mapper/control 0600 - - - 10:236
c! /dev/uhid 0600 - - - 10:239
d /dev/vfio 0755 - - -
c! /dev/vfio/vfio 0600 - - - 10:196
c! /dev/userio 0600 - - - 10:240
c! /dev/vhci 0600 - - - 10:137
c! /dev/vhost-net 0600 - - - 10:238
c! /dev/vhost-vsock 0600 - - - 10:241
d /dev/snd 0755 - - -
c! /dev/snd/timer 0600 - - - 116:33
d /dev/snd 0755 - - -
c! /dev/snd/seq 0600 - - - 116:1
c! /dev/rfkill 0600 - - - 10:242
/usr/lib/dinit/modules-load
Code: [Select]
modprobe: WARNING: Module amd-pstate not found in directory /lib/modules/6.9.2-artix1-1


Title: Re: Failed early-modules.target
Post by: konimex on 27 May 2024, 16:29:10
/usr/lib/dinit/modules-load
Code: [Select]
modprobe: WARNING: Module amd-pstate not found in directory /lib/modules/6.9.2-artix1-1

There it is. `amd-pstate` not found, you may want to remove it from either `/etc/modules-load.d` if you added it manually.

Although the error itself is just a warning since most services only have modules.target as a soft dependency/waits-for (i.e. any services that depend on modules.target will start regardless), so you can carry on.
Title: Re: Failed early-modules.target
Post by: dr-kart on 27 May 2024, 17:24:42
`amd-pstate` not found, you may want to remove it from either `/etc/modules-load.d` if you added it manually
Yes I did. I wanted to make sure amd-pstate-epp driver loaded. And btw I had no warnings until recent update

Thank you very much