You are not logged in.

#1 2021-05-28 17:42:09

Geraldine
Member
Registered: 2021-05-28
Posts: 3

3 services failed after upgrade (drm module, hostnamed, logind)

I was able to login to Arch with plasma before.
I made an upgrade and restarted.
It showed me a text console on tty1 asking me for the user and password.
I am able to login there both as user and root.

user@Arch: systemctl --failed:

modprobe@drm.service
systemd.-hostnamed.service
systemd-logind.service
user@Arch: sudo systemctl start modprobe@drm.service
---No output, everything seems ok.

user@Arch: sudo systemctl status modprobe@drm.service
Loaded: loaded (/usr/lib/systemd/system/modprobe@.service: static)
Process: ExecStart=/sbin/modprobe -abq drm (code=exited, status=0/SUCCESS)
Main PID: (code=exited, status=0,SUCCESS)
CPU: 2ms

Starting Load Kernel Module drm...
modprobe@drm.service: Deactivated successfully.
Finished Load Kernel Module drm.
user@Arch: sudo systemctl start systemd-hostnamed.service
Job for systemd-hostnamed.service failed because of unavailable resources or another system error.

user@Arch: sudo systemctl status systemd-hostnamed.service
Loaded: loaded (/usr/lib/systemd/system/systemd-hostnamed.service: static)
Active: failed (Result: resources)
CPU:0

systemd-hostnamed.service: Failed to run 'start' task: Operation not permitted
systemd-hostnamed.service: Failed with result 'resource'.
Failed to start Hostname Service.
systemd-hostnamed.service: Failed to run 'start' task: Operation not permitted
systemd-hostnamed.service: Failed with result 'resource'.
Failed to start Hostname Service.
user@Arch: sudo systemctl start systemd-logind.service
Job for systemd-hostnamed.service failed because of unavailable resources or another system error.

user@Arch: sudo systemctl status systemd-logind.service
Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service: static)
Active: failed (Result: resources)
CPU:0

systemd-logind.service: Scheduled restart job, restart counter is at 5.
Stopped User Login Management.
systemd-logind.service: Start request requested too quickly.
systemd-logind.service: Failed with result 'resources'
Failed to start User Login Management.

What can I do at this point?
Thanks.

Offline

#2 2021-05-28 19:10:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,468

Re: 3 services failed after upgrade (drm module, hostnamed, logind)

Typical cause is that you either forgot to mount the /boot partition or you had mounted the /boot partition during the update but actually boot from the root partition.
For confirmation compare

uname -a
pacman -Qs linux

You want to re-install the kernel package and ensure it goes into the proper location.

Online

#3 2021-05-28 23:41:17

Geraldine
Member
Registered: 2021-05-28
Posts: 3

Re: 3 services failed after upgrade (drm module, hostnamed, logind)

They are the same.
The thing is that all the failed units are static.
When I try to enable, it says that they may be statistically enabled by being symlinked from another unit's .wants or .requires/ directory.
Xorg Errors are:

(EE) dbus-core: error coneecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
(--) using VT number 2

(II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration

(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

(EE) open /dev/dri/card0: No such file or directory
(EE) Screen 0 deleted because of no matching config section
(II) Unload Module: "modesetting"
(EE) Device(s) detected, but none match those in the config file.

Fatal server error:
(EE) no screens found (EE)

As an extra information, there are 3 monitors connected to this Arch system including the notebook monitor.
I updated the system. Reinstalled all packages with override option. Same result. All 3 services fail at boot, I end up with black screen with cursor, and when I try to change ttys, only a blinking underscore shows, and I have to reboot with ctrl+alt+del.
Also, Xorg :0 -configure states that (++) Using config file: "/root/xorg.conf.new", though I don't know if it something wrong or not.
When I start modprobe@drm.service, no error is getting reported.
Wehn I start systemd-hostnamed.service, the at that moment, not active notebook monitor gets activated, but command does not end, and I end up with blinking underscore under the command line., and I have to reboot.

Last edited by Geraldine (2021-05-28 23:47:46)

Offline

#4 2021-05-28 23:50:12

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

Re: 3 services failed after upgrade (drm module, hostnamed, logind)

Please post the whole journal for a boot with the issue.  See the first link in seth's signature to post it.

What is wrong with X that requires using a configuration to override auto detection?

Last edited by loqs (2021-05-28 23:50:26)

Offline

#5 2021-05-29 22:35:17

Geraldine
Member
Registered: 2021-05-28
Posts: 3

Re: 3 services failed after upgrade (drm module, hostnamed, logind)

loqs wrote:

Please post the whole journal for a boot with the issue.  See the first link in seth's signature to post it.

This one is from the regular boot here it goes to black screen and failed services, regular boot, black screen:

journalctl -b -1 
http://dpaste.com/HM4VCQU9K

This one is the boot with rescue added to kernel parameter, boot to the rescue shell:

journalctl -b
http://dpaste.com/6X37MANHS



loqs wrote:

What is wrong with X that requires using a configuration to override auto detection?

I don't really know what the problem is.
I just wanted to check xorg because I thought I could see something there, and I saw the errors, I posted in the previous comment.
Though, I cannot really understand the cause of those errors.
And I ran that command from recue shell, so those errors might be different for regular boot, I am not sure.

I hope the boot logs will help.
Thanks.

Last edited by Geraldine (2021-05-29 22:38:12)

Offline

#6 2021-05-30 06:31:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,468

Re: 3 services failed after upgrade (drm module, hostnamed, logind)

May 29 23:58:37 black systemd[1]: modprobe@drm.service: Deactivated successfully.
May 29 23:58:37 black systemd[1]: Finished Load Kernel Module drm.
…
May 29 23:58:39 black audit: BPF prog-id=26 op=LOAD
May 29 23:58:39 black CROND[423]: (root) CMD (sleep 10m && timeshift --create --scripted --tags B)
May 29 23:58:39 black audit: BPF prog-id=27 op=LOAD
May 29 23:58:39 black audit: BPF prog-id=28 op=LOAD
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed to run 'start' task: Operation not permitted
May 29 23:58:39 black kernel: fbcon: Taking over console
May 29 23:58:39 black audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed with result 'resources'.
May 29 23:58:39 black systemd[1]: Failed to start User Login Management.
May 29 23:58:39 black systemd[1]: Starting XAMPP...
May 29 23:58:39 black systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 1.
May 29 23:58:39 black systemd[1]: Stopped User Login Management.
May 29 23:58:39 black systemd[1]: Starting Load Kernel Module drm...
May 29 23:58:39 black audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black systemd[1]: modprobe@drm.service: Deactivated successfully.
May 29 23:58:39 black systemd[1]: Finished Load Kernel Module drm.
May 29 23:58:39 black audit: BPF prog-id=29 op=LOAD
May 29 23:58:39 black audit: BPF prog-id=30 op=LOAD
May 29 23:58:39 black audit: BPF prog-id=31 op=LOAD
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed to run 'start' task: Operation not permitted
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed with result 'resources'.
May 29 23:58:39 black systemd[1]: Failed to start User Login Management.
May 29 23:58:39 black systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 2.
May 29 23:58:39 black systemd[1]: Stopped User Login Management.
May 29 23:58:39 black systemd[1]: Starting Load Kernel Module drm...
May 29 23:58:39 black systemd[1]: modprobe@drm.service: Deactivated successfully.
May 29 23:58:39 black systemd[1]: Finished Load Kernel Module drm.
May 29 23:58:39 black kernel: random: dbus-daemon: uninitialized urandom read (12 bytes read)
May 29 23:58:39 black audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit: BPF prog-id=32 op=LOAD
May 29 23:58:39 black audit: BPF prog-id=33 op=LOAD
May 29 23:58:39 black audit: BPF prog-id=34 op=LOAD
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed to run 'start' task: Operation not permitted
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed with result 'resources'.
May 29 23:58:39 black systemd[1]: Failed to start User Login Management.
May 29 23:58:39 black systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 3.
May 29 23:58:39 black systemd[1]: Stopped User Login Management.
May 29 23:58:39 black audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black systemd[1]: Starting Load Kernel Module drm...
May 29 23:58:39 black systemd[1]: modprobe@drm.service: Deactivated successfully.
May 29 23:58:39 black systemd[1]: Finished Load Kernel Module drm.
May 29 23:58:39 black audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit: BPF prog-id=35 op=LOAD
May 29 23:58:39 black audit: BPF prog-id=36 op=LOAD
May 29 23:58:39 black audit: BPF prog-id=37 op=LOAD
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed to run 'start' task: Operation not permitted
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed with result 'resources'.
May 29 23:58:39 black systemd[1]: Failed to start User Login Management.
May 29 23:58:39 black systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 4.
May 29 23:58:39 black systemd[1]: Stopped User Login Management.
May 29 23:58:39 black audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black systemd[1]: Starting Load Kernel Module drm...
May 29 23:58:39 black systemd[1]: modprobe@drm.service: Deactivated successfully.
May 29 23:58:39 black systemd[1]: Finished Load Kernel Module drm.
May 29 23:58:39 black audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit: BPF prog-id=28 op=UNLOAD
May 29 23:58:39 black audit: BPF prog-id=27 op=UNLOAD
May 29 23:58:39 black audit: BPF prog-id=26 op=UNLOAD
May 29 23:58:39 black audit: BPF prog-id=31 op=UNLOAD
May 29 23:58:39 black audit: BPF prog-id=30 op=UNLOAD
May 29 23:58:39 black audit: BPF prog-id=29 op=UNLOAD
May 29 23:58:39 black audit: BPF prog-id=38 op=LOAD
May 29 23:58:39 black audit: BPF prog-id=39 op=LOAD
May 29 23:58:39 black audit: BPF prog-id=40 op=LOAD
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed to run 'start' task: Operation not permitted
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed with result 'resources'.
May 29 23:58:39 black systemd[1]: Failed to start User Login Management.
May 29 23:58:39 black systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 5.
May 29 23:58:39 black systemd[1]: Stopped User Login Management.
May 29 23:58:39 black audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 29 23:58:39 black systemd[1]: modprobe@drm.service: Start request repeated too quickly.
May 29 23:58:39 black systemd[1]: modprobe@drm.service: Failed with result 'start-limit-hit'.
May 29 23:58:39 black systemd[1]: Failed to start Load Kernel Module drm.
May 29 23:58:39 black systemd[1]: systemd-logind.service: Start request repeated too quickly.
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed with result 'resources'.
May 29 23:58:39 black systemd[1]: Failed to start User Login Management.
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed to run 'start' task: Operation not permitted
May 29 23:58:39 black systemd[1]: systemd-logind.service: Failed with result 'resources'.

May 29 23:58:39 black kernel: random: crng init done

Not sure whether that's the cause, but
https://wiki.debian.org/BoottimeEntropyStarvation
https://wiki.archlinux.org/title/Haveged

Online

Board footer

Powered by FluxBB