You are not logged in.

#1 Yesterday 12:30:01

raphix
Member
From: France
Registered: 2008-09-27
Posts: 35
Website

Suspend not working: "Freezing user space processes failed"

Due to a long-standing problem with a kernel module, I am stuck with kernel 6.7.9 (laptop keyboard not recognized with newer kernels).

After a recent full system upgrade, my laptop refuses to suspend. By that, I mean: if I issue the command "sudo systemctl suspend" from within a graphical session, the cursor freezes for a while, the screen does not blank, and after ~30 seconds everything is back to normal.

With newer kernels (e.g., 6.13.8), I was able to get the correct behavior.

In the system journal, I get this:

Freezing user space processes failed after 20.005 seconds (1 tasks refusing to freeze, wq_busy=0):
task:io              state:S stack:0     pid:2172  tgid:2058  ppid:2046   flags:0x00024002
Call Trace:
 <TASK>
 ? __schedule+0xca/0x1410
 ? schedule+0x32/0xd0
 ? get_signal+0x9ab/0xab0
 ? arch_do_signal_or_restart+0x3e/0x270
 ? exit_to_user_mode_prepare+0x18a/0x1f0
 ? syscall_exit_to_user_mode+0x1b/0x40
 ? do_syscall_64+0x70/0xe0
 ? do_syscall_64+0x70/0xe0
 ? do_syscall_64+0x70/0xe0
 ? syscall_exit_to_user_mode+0x22/0x40
 ? do_syscall_64+0x70/0xe0
 ? entry_SYSCALL_64_after_hwframe+0x6e/0x76
 </TASK>

However, I don't know how to go one step further: which "task" refuses to freeze? Why? And how can I change that?

For full reference, here is the (relevant part of the) log with kernel 6.7.9 (suspend fails) and log with kernel 6.13.8 (suspend works). The excerpt code above starts on line 58 of the first log.

Last edited by raphix (Today 07:56:18)


configs files on github  -- keep up the good work, arch devs

Offline

#2 Yesterday 21:19:01

seth
Member
Registered: 2012-09-03
Posts: 62,312

Re: Suspend not working: "Freezing user space processes failed"

The journal links are flipped.

You could check the pid:2172 - looks like some bluetooth device (likely audio)
Although you're going for S3, see/try https://wiki.archlinux.org/title/Blueto … le_devices

Offline

#3 Today 08:33:55

raphix
Member
From: France
Registered: 2008-09-27
Posts: 35
Website

Re: Suspend not working: "Freezing user space processes failed"

First, thanks a lot for your time. And sorry for the mistake in swapping the log files on the links above (it's fixed, now).

I tried earlier with the bluetooth thing, but it did not work.
When I tried to track the culprit, "pid:2172  tgid:2058  ppid:2046", "pid 2172" yield nothing with "ps aux | grep 2172" (obviously updated with the right number when re-doing the experiment), and ppid yields "systemd --user", which is not very helpful, I guess.

I will try again this week-end, but if you have more ideas, I am open to them.

Last edited by raphix (Today 08:34:35)


configs files on github  -- keep up the good work, arch devs

Offline

#4 Today 15:07:20

seth
Member
Registered: 2012-09-03
Posts: 62,312

Re: Suspend not working: "Freezing user space processes failed"

systemctl --user list-unit-files

One of them will show as filed?

Offline

Board footer

Powered by FluxBB