Freezing user space processes failed after 20.008 seconds (1 tasks refusing to freeze, wq_busy=0)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-signed-hwe-6.5 (Ubuntu) |
New
|
Undecided
|
GuoqingJiang | ||
Focal |
Fix Committed
|
Undecided
|
GuoqingJiang | ||
Jammy |
Fix Committed
|
Undecided
|
GuoqingJiang | ||
Mantic |
Won't Fix
|
Undecided
|
GuoqingJiang |
Bug Description
Sometimes, when trying to shut down or suspend my laptop, it gets stuck on the console screen. If I was suspending, it eventually gives up and goes back to the X session. During a shutdown it hangs forever and the only solution seems to be to force a reboot with Magic-SysRq.
The following appears in `kern.log`:
```
Apr 12 08:59:54 xps9320 kernel: [173172.510341] Freezing user space processes failed after 20.008 seconds (1 tasks refusing to freeze, wq_busy=0):
Apr 12 08:59:54 xps9320 kernel: [173172.515669] task:wireplumber state:D stack:0 pid:2408 ppid:2398 flags:0x00000006
Apr 12 08:59:54 xps9320 kernel: [173172.518923] Call Trace:
Apr 12 08:59:54 xps9320 kernel: [173172.521755] <TASK>
Apr 12 08:59:54 xps9320 kernel: [173172.524099] __schedule+
Apr 12 08:59:54 xps9320 kernel: [173172.526333] schedule+0x63/0x110
Apr 12 08:59:54 xps9320 kernel: [173172.528585] snd_power_
Apr 12 08:59:54 xps9320 kernel: [173172.530825] ? __pfx_autoremov
Apr 12 08:59:54 xps9320 kernel: [173172.533103] snd_ctl_
Apr 12 08:59:54 xps9320 kernel: [173172.535354] snd_ctl_
Apr 12 08:59:54 xps9320 kernel: [173172.537598] snd_ctl_
Apr 12 08:59:54 xps9320 kernel: [173172.539846] ? __fget_
Apr 12 08:59:54 xps9320 kernel: [173172.542082] __x64_sys_
Apr 12 08:59:54 xps9320 kernel: [173172.544334] do_syscall_
Apr 12 08:59:54 xps9320 kernel: [173172.546566] ? syscall_
Apr 12 08:59:54 xps9320 kernel: [173172.548838] ? do_syscall_
Apr 12 08:59:54 xps9320 kernel: [173172.551085] ? do_syscall_
Apr 12 08:59:54 xps9320 kernel: [173172.553342] ? syscall_
Apr 12 08:59:54 xps9320 kernel: [173172.555596] ? do_syscall_
Apr 12 08:59:54 xps9320 kernel: [173172.557828] ? common_
Apr 12 08:59:54 xps9320 kernel: [173172.560075] entry_SYSCALL_
Apr 12 08:59:54 xps9320 kernel: [173172.562321] RIP: 0033:0x70f3adb1a94f
Apr 12 08:59:54 xps9320 kernel: [173172.564650] RSP: 002b:00007ffef2
Apr 12 08:59:54 xps9320 kernel: [173172.566925] RAX: ffffffffffffffda RBX: 00007ffef20729b0 RCX: 000070f3adb1a94f
Apr 12 08:59:54 xps9320 kernel: [173172.569222] RDX: 00007ffef20729b0 RSI: 00000000c1105511 RDI: 0000000000000022
Apr 12 08:59:54 xps9320 kernel: [173172.571501] RBP: 00007ffef2072b90 R08: 000065107d2b6070 R09: 0000000000000004
Apr 12 08:59:54 xps9320 kernel: [173172.573762] R10: fffffffffffff014 R11: 0000000000000246 R12: 000065107d2ee100
Apr 12 08:59:54 xps9320 kernel: [173172.576047] R13: 000065107d1fb400 R14: 00007ffef2072b30 R15: 00007ffef2072ad0
Apr 12 08:59:54 xps9320 kernel: [173172.578308] </TASK>
```
Another point of interest is that, when in this situation:
* `lsusb` hangs after printing out a few lines
* Outgoing SSH connections hang unless I clear SSH_AUTH_SOCK. gpg-agent appears to be trying to check for smartcards.
So I guess there is some sort of deadlock in the USB subsystem which is causing all the other problems?
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-
ProcVersionSign
Uname: Linux 6.5.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 12 09:42:52 2024
InstallationDate: Installed on 2022-06-28 (653 days ago)
InstallationMedia: Xubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: linux-signed-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in linux-signed-hwe-6.5 (Ubuntu): | |
assignee: | nobody → Anthony Wong (anthonywong) |
Changed in linux-signed-hwe-6.5 (Ubuntu): | |
assignee: | Anthony Wong (anthonywong) → GuoqingJiang (guoqingjiang) |
Changed in linux-signed-hwe-6.5 (Ubuntu Focal): | |
status: | New → Fix Committed |
Changed in linux-signed-hwe-6.5 (Ubuntu Jammy): | |
status: | New → Fix Committed |
Changed in linux-signed-hwe-6.5 (Ubuntu Mantic): | |
status: | New → Fix Committed |
I found a very similar report at https:/ /discussion. fedoraproject. org/t/freezing- user-space- processes- failed- after-20- 000-seconds- 2-tasks- refusing- to-freeze- wq-busy- 0/92672, but no resolution there.