What does wq_busy=1 indicate in a failure to suspend?
wq_busy
is apparently the kernel's variable name for the busy
flag on a workqueue. Why it was stuck at true for some workqueue
on my machine is unclear, because the problem went away while I
was trying to diagnose it. In case it's useful for someone in
the future, I had done the following:
- Repeatedly until all applications were closed:
- Close an application.
- Attempt, unsuccessfully, to suspend.
- Disable networking.
- Attempt, unsuccessfully, to suspend.
- Reboot (intending to get a clean process list; I was going to progressively disable things in hopes that a non-critical process was the culprit).
- Attempt, unexpectedly successfully, to suspend.
- Re-enable networking.
- Attempt, again successfully, to suspend.
So, strictly based on observations, and not with any understanding of the problem, I would guess that the following is a workaround or fix:
- Disable networking.
- Reboot.
- Re-enable networking.
I had the same issue. wq_busy
was 1. I suspected that it had started to happen after 18.10 upgrade.
I did some research and found a post about looking for hardware-specific solutions especially for laptops, and another post about cdemu
.
https://forums.gentoo.org/viewtopic-t-952364-start-0.html
In my case, removing gcdemu
, cdemu-client
, cdemu-daemon
, and then autoremove vhba-dkms
and libmirage11
made my hibernation working again.