by suppa » 29 Jan 2007 08:59
I finally managed to get Linux running on my computer, learn a little how to use it and compile the mss_fanctl myself for testing, so that I could find out why the disk wouldn't go to standby.
I found two problems so far:
1. The standby time is not read correctly from nvram. I don't know why, so I just added the standby time as a fourth startup parameter.
2. Checking the idle time doesn't work. The reason is, that the function disc_io which reads /proc/stats doesn't find anything in the "disk_io" line. The reason for that is that it really seems to be empty.
Maybe this is an IDE-major issue? The IDE-major is 33, and I found a comment on the internet that with majors higher the 12 or 16 or so (can't find that anymore) there won't be anything in /proc/stats.
As mss_fanctl can't check the idle time, it will keep the drive from going to standby by regularly checking the temperature. Setting the poll period to a very high level and the standby time to a very low one could help, as the drive would go to standby before the next temperature check. However, this is not a very nice solution.
Can somebody reproduce the problems? Or even better, does somebody know a solution?