csd-housekeeping prevents suspend of system
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- c, linux
- Domain
- desktop, operating-systems
Research direction
No source file or test is named in the report. Start by reproducing Suspend from the system menu and collecting the reported dmesg entries, then trace the csd-housekeeping task's role in the failed suspend. Done means the system suspends reliably without the 20-second freeze timeout.
Written by the indexing model from the issue text.
Description
Distribution
Mint 22.1, Kernel 6.8.0-78-lowlatency
Package version
6.4.8
Graphics hardware in use
Nvidia RTX 3050 with driver 575-open
Frequency
Quite often
Bug description
All was working fine for months, then suddenly (maybe after some update or after installing the low latency kernel or just by coincidence) the following problem showed up:
When using the "Suspend" function, in roughly 50% of all cases the system tries to suspend, but it doesn't work: The screen goes blank, but I can't hear the "click" from the power supply which indicates the successful suspend.
After approx. 40 or 50 seconds I will be returned to the desktop.
When looking at dmesg -T | tail -n 200, I can see the following two entries:
Freezing user space processes failed after 20.005 seconds (1 tasks refusing to freeze, wq_busy=0):
task:csd-housekeepin state:D stack:0 pid:2099 tgid:2099 ppid:1857 flags:0x00004006
And it is always the same task "csd-housekeeping" that prevents the suspend. (the strange thing is: it is called "csd_housekeepin" in the log, so a "g" is missing).
I found two people with the same problem, but no solution:
https://www.reddit.com/r/linuxmint/comments/13a60z4/freezing_of_tasks_failed_after_20_seconds/
I noticed that after a fresh computer start it nearly always works, but the longer the computer is running, the more often I encounter the suspend problem.
In the meantime I restarted the computer a dozen times, but sooner or later the problem will show up.
Steps to reproduce
System button -> Power off the computer -> Suspend
(sometimes it works, sometimes it doesn't)
Expected behavior
The system should suspend in 100% of all cases
Additional information
No response
- Dominant language
- C
- Stars
- 70
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/cinnamon-settings-daemon
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linuxmint/cinnamon-settings-daemon#453 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
csd-power segfaults on idle dim when brightness is below minimum-display-brightness (NULL GError)Open
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
linuxmint/cinnamon-settings-daemon#475 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
linuxmint/cinnamon-settings-daemon#474 · 1 comment ·
All issues in linuxmint/cinnamon-settings-daemon
Similar issues
-
difficulty: easy
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
performance solver
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ChefKissInc/Inferno#319 ·
-
llvm-tools
Difficulty 1/5 Under an hour Newbie friendliness 72/100
llvm/llvm-project#235522 ·
Maintainers usually reply within 1 day