Summary: | sys-apps/hd-idle-1.05-r1 does not spin down disks after resuming from suspend / New hd-idle app | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christophe B. <tuxolinux> |
Component: | New packages | Assignee: | Oliver Freyermuth <o.freyermuth> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christophe B.
2022-07-06 23:33:30 UTC
For information, this is my current hd-idle config file /etc/conf.d/hd-idle. I use it for both the Gentoo hd-idle app and the GitHub reimplemented app: ### /etc/conf.d/hd-idle HD_IDLE_OPTS="-i 0 -a sdb -i 600 -a sdc -i 600 -l /var/log/hd-idle.log" ### And the hd-idle OpenRC service file /etc/init.d/hd-idle: ### /etc/init.d/hd-idle description="Utility for spinning down hard disks after a period of idle time" command="/usr/sbin/hd-idle" command_args="${HD_IDLE_OPTS}" depend() { after bootmisc } ### Dear Christophe, thanks for your report! Since it is written as a bug report against the current "Christina Mueller" version (or short "cjmueller" version as listed on Repology) we have in Gentoo, it was assigned to me (while likely, you rather / also wanted to create a new package request). The cjmueller version which is packaged in Gentoo works based on the design principles that: - Nothing apart from hd-idle spins up / down disks... - ... unless there is read / write activity (via /proc/diskstats ). Entering standby and waking back up does not produce r/w activity, so if this wakes disks on your hardware, the cjmueller version will not catch it. There are two upstream bug reports about this: - https://sourceforge.net/p/hd-idle/bugs/1/ This one recommends to use hdparm for internal disks instead of hd-idle, since the author says that her hd-idle version was made with focus on USB-attached disks. - https://sourceforge.net/p/hd-idle/bugs/3/ This one is not resolved yet and explicitly focuses on the standby issue. So for the currently packaged cjmueller version, I'll have to close this as UPSTREAM issue — rewriting the base functionality / changing the design concept of the application is out of scope downstream. You can however open a new issue with a subject such as: "sys-apps/hd-idle-adelolmo: new package request" asking for the unrelated (but similarly named) adelolmo package to be packaged. |