You are not logged in.

#1 2018-08-13 10:23:41

gandalf3
Member
From: ~/
Registered: 2013-05-18
Posts: 34

systemd-udevd stuck in perpetual disk sleep

As the title says, for some reason systemd-udevd is stuck in perpetual disk sleep. All mounted disks seem to be functioning fine and in fact everything seems to be otherwise working.

With the udev log level set to debug as described in the wiki, I get this (among lots of other fluff):

14:00:18 systemd-udevd[385]: seq 2777 '/devices/system/cpu/cpu0' is taking a long time
14:00:18 systemd-udevd[385]: seq 2703 '/devices/pci0000:00/0000:00:07.1/0000:29:00.2' is taking a long time
14:00:18 systemd-udevd[385]: seq 2792 '/devices/system/cpu/cpu9' is taking a long time
14:00:18 systemd-udevd[385]: seq 2791 '/devices/system/cpu/cpu8' is taking a long time
14:00:18 systemd-udevd[385]: seq 2778 '/devices/system/cpu/cpu1' is taking a long time
14:00:18 systemd-udevd[385]: seq 2790 '/devices/system/cpu/cpu7' is taking a long time
14:00:18 systemd-udevd[385]: seq 2789 '/devices/system/cpu/cpu6' is taking a long time
14:00:18 systemd-udevd[385]: seq 2788 '/devices/system/cpu/cpu5' is taking a long time
14:00:18 systemd-udevd[385]: seq 2787 '/devices/system/cpu/cpu4' is taking a long time
14:00:18 systemd-udevd[385]: seq 2786 '/devices/system/cpu/cpu3' is taking a long time
14:00:18 systemd-udevd[385]: seq 2785 '/devices/system/cpu/cpu2' is taking a long time
14:00:18 systemd-udevd[385]: seq 2780 '/devices/system/cpu/cpu11' is taking a long time
14:00:18 systemd-udevd[385]: seq 2783 '/devices/system/cpu/cpu14' is taking a long time
14:00:18 systemd-udevd[385]: seq 2782 '/devices/system/cpu/cpu13' is taking a long time
14:00:18 systemd-udevd[385]: seq 2781 '/devices/system/cpu/cpu12' is taking a long time
14:00:18 systemd-udevd[385]: seq 2784 '/devices/system/cpu/cpu15' is taking a long time
14:00:18 systemd-udevd[385]: seq 2779 '/devices/system/cpu/cpu10' is taking a long time
14:02:18 systemd-udevd[385]: seq 2777 '/devices/system/cpu/cpu0' killed
14:02:18 systemd-udevd[385]: seq 2703 '/devices/pci0000:00/0000:00:07.1/0000:29:00.2' killed
14:02:18 systemd-udevd[385]: seq 2792 '/devices/system/cpu/cpu9' killed
14:02:18 systemd-udevd[385]: seq 2791 '/devices/system/cpu/cpu8' killed
14:02:18 systemd-udevd[385]: seq 2778 '/devices/system/cpu/cpu1' killed
14:02:18 systemd-udevd[385]: seq 2790 '/devices/system/cpu/cpu7' killed
14:02:18 systemd-udevd[385]: seq 2789 '/devices/system/cpu/cpu6' killed
14:02:18 systemd-udevd[385]: seq 2788 '/devices/system/cpu/cpu5' killed
14:02:18 systemd-udevd[385]: seq 2787 '/devices/system/cpu/cpu4' killed
14:02:18 systemd-udevd[385]: seq 2786 '/devices/system/cpu/cpu3' killed
14:02:18 systemd-udevd[385]: seq 2785 '/devices/system/cpu/cpu2' killed
14:02:18 systemd-udevd[385]: seq 2780 '/devices/system/cpu/cpu11' killed
14:02:18 systemd-udevd[385]: seq 2783 '/devices/system/cpu/cpu14' killed
14:02:18 systemd-udevd[385]: seq 2782 '/devices/system/cpu/cpu13' killed
14:02:18 systemd-udevd[385]: seq 2781 '/devices/system/cpu/cpu12' killed
14:02:18 systemd-udevd[385]: seq 2784 '/devices/system/cpu/cpu15' killed
14:02:18 systemd-udevd[385]: seq 2779 '/devices/system/cpu/cpu10' killed
14:02:18 systemd-udevd[385]: worker [423] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [423] failed while handling '/devices/system/cpu/cpu4'
14:02:18 systemd-udevd[385]: worker [397] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [397] failed while handling '/devices/system/cpu/cpu3'
14:02:18 systemd-udevd[385]: worker [395] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [395] failed while handling '/devices/system/cpu/cpu2'
14:02:18 systemd-udevd[385]: worker [398] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [398] failed while handling '/devices/system/cpu/cpu0'
14:02:18 systemd-udevd[385]: worker [408] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [408] failed while handling '/devices/system/cpu/cpu14'
14:02:18 systemd-udevd[385]: worker [401] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [401] failed while handling '/devices/system/cpu/cpu11'
14:02:18 systemd-udevd[385]: worker [403] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [403] failed while handling '/devices/system/cpu/cpu10'
14:02:18 systemd-udevd[385]: worker [413] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [413] failed while handling '/devices/system/cpu/cpu12'
14:02:18 systemd-udevd[385]: worker [416] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [416] failed while handling '/devices/system/cpu/cpu6'
14:02:18 systemd-udevd[385]: worker [417] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [417] failed while handling '/devices/system/cpu/cpu15'
14:02:18 systemd-udevd[385]: worker [418] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [418] failed while handling '/devices/system/cpu/cpu1'
14:02:18 systemd-udevd[385]: worker [419] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [419] failed while handling '/devices/system/cpu/cpu5'
14:02:18 systemd-udevd[385]: worker [421] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [421] failed while handling '/devices/system/cpu/cpu7'
14:02:18 systemd-udevd[385]: worker [424] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [424] failed while handling '/devices/system/cpu/cpu9'
14:02:18 systemd-udevd[385]: worker [427] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [427] failed while handling '/devices/system/cpu/cpu13'
14:02:18 systemd-udevd[385]: worker [428] terminated by signal 9 (KILL)
14:02:18 systemd-udevd[385]: worker [428] failed while handling '/devices/system/cpu/cpu8'

lspci has this to say:

29:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor

But I'm not even sure what that is, and I'm not having much luck with search results. I also can't seem to find out what the "/devices/system/cpu/cpuN" bit is about.
I've tried rebuilding the initramfs, but no change.

I'm at a loss as to what is going on here, and I've exhausted all the avenues I've thought of. Can anyone point me in the right direction? Thanks.


Ryzen 7 2700X | Vega 64 | 16GB | Arch | Bspwm

Offline

#2 2018-08-13 15:19:54

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: systemd-udevd stuck in perpetual disk sleep

Offline

#3 2018-08-13 21:13:00

gandalf3
Member
From: ~/
Registered: 2013-05-18
Posts: 34

Re: systemd-udevd stuck in perpetual disk sleep

Thanks, I hadn't seen that. I was getting freezes before, and I updated the BIOS about a week ago and I haven't had any since then.
I'm still getting this behavior from udev though. Come to think of it, I'm not sure I was getting it before the BIOS update.

Last edited by gandalf3 (2018-08-13 21:13:26)


Ryzen 7 2700X | Vega 64 | 16GB | Arch | Bspwm

Offline

#4 2018-09-21 20:43:48

Franky
Member
Registered: 2016-06-10
Posts: 7

Re: systemd-udevd stuck in perpetual disk sleep

I'm facing this issue also, but only when I power off. Running stock kernel, also I didn't have it before I update my BIOS just a few days ago.

I have a Ryzen 7 1700X, Motherboard ASRock Pro4 with latest BIOS version 5.00, in my case it hangs for a while, when checking journalctl I have the same errors as OP, but TTY shows the error messages below... in my case, I don't have any problems while using the PC, just a 2-3 minutes freeze when I'm shutting down.

Edit:
This is what is shown on TTY, it hangs with it for like 3-4 minutes before it turns off

[ 4844.422225] systemd-udevd[413]: giving up waiting for workers to finish
[ 4844.422258] systemd-udevd[413]: event loop failed: Connection timed out

Last edited by Franky (2018-09-22 08:20:16)

Offline

#5 2018-09-26 04:47:13

gandalf3
Member
From: ~/
Registered: 2013-05-18
Posts: 34

Re: systemd-udevd stuck in perpetual disk sleep

I downgraded to 4.90 and the freezes went away for me. Asrock AB350 Pro4, Ryzen 2700x


Ryzen 7 2700X | Vega 64 | 16GB | Arch | Bspwm

Offline

#6 2018-09-26 06:45:57

Franky
Member
Registered: 2016-06-10
Posts: 7

Re: systemd-udevd stuck in perpetual disk sleep

gandalf3 wrote:

I downgraded to 4.90 and the freezes went away for me. Asrock AB350 Pro4, Ryzen 2700x

For now I compiled the kernel with the option mentioned in the link above, it solves the problem, gonna stick with it until it gets solved in stock kernel

Edit: Apparently the problem has been solved in the last kernel update ( 4.18.10 ), at least my last reboots do not hang the pc.

Last edited by Franky (2018-09-29 06:12:45)

Offline

Board footer

Powered by FluxBB