-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hd-idle not starting on Ubuntu 20.4.01 #37
Comments
I'm not sure what you mean by "hangs". Could you please share the results of the following commands?
|
@adelolmo by hangs, I mean it outputs that one line I mentioned above and doesn't return to the command prompt. Here is the output of the commands you requested: 1)
2)
3)
|
I suggest you have a look to the section Run hd-idle in the README. Specially the part that mentions If the Debian package was installed. Also, your configuration in |
@adelolmo For now, I am just trying to run it on the command line, not as a service, And when I just say
And doesn't return (I have to Ctrl+C to get back to prompt). Am I misunderstanding how this version of hd-idle has changed from the original one? That one, I could just invoke from the command line. For comparison, this is what the older version (from C Mueller) shows:
|
It depends on what's you expectation here. What are you trying to achieve?
As a side note: I noticed a bug invoking help via |
Ah -- I guess that may explain it. Since I have been using the old hd-idle for a few years, I was stuck thinking I could just invoke your version the same way on the command line. And the first thing I always do is to have a program print its own help screen to familiarize myself with it. So let me go ahead and configure it to run as a service and if I run into any issues, I'll report back -- thank you! |
I set it up to run as a service with systemctl and it works great, so thank you for the explanations above, I appreciate it! |
I tried installing the latest 1.11 amd64 package on Ubuntu 20.04.1 LTS. No matter which command line option I choose, even when I just use -h, it only prints the following and then hangs:
symlinkPolicy=0, defaultIdle=600, defaultCommand=scsi, debug=false, logFile=, devices=
I previously had the original hd-idle from C. Mueller installed on my system (built from source). Before installing this new version of hd-idle, I made sure to remove the old binary to ensure there are no conflicts, but unsure if there are any other residual files that may cause issues on my end.
I also tried building this version of hd-idle from source but having the same issue above still. I can confirm that on my system, /proc/diskstats is present.
Would love to use this version of hd-idle on my Ubuntu system, but am stuck. Any help is appreciated :)
The text was updated successfully, but these errors were encountered: