Tejun Heo wrote:
Ivan N. Zlatev wrote:
I am having frequent head unloads on a Dell Vostro 1400 laptop with a
Seagate HDD. As explained on the Wiki[1] I am attaching for you the
output of:
* hdparm -I
* dmidecode
* smartctl --all (in addition)
I hope this information is useful for you.
I am currently using a workaround to prevent the unloads as described
here - http://en.opensuse.org/Disk_Power_Management .
[1]
http://ata.wiki.kernel.org/index.php/Known_issues#Drives_which_perform_frequent_head_unloads_under_Linux
Can you please test the attached storage-fixup.conf? If you're on suse,
just do "zypper install storage-fixup" and replace
/etc/storage-fixup.conf with the attached file, remove the manual
workaround and see whether the problem is gone.
I tested and it seems that the right value for my configuration is 254
instead of 255. With 255 I still get spin downs.
BTW I noticed that on http://en.opensuse.org/Disk_Power_Management the
script sets a combination of APM and spin-down time, e.g:
[1] hdparm -q -B 200 -q -S 252 /dev/sda
With that I also don't get spin downs. So compared to:
[2] hdparm -B 254 /dev/sda
will [1] or [2] be better for the HDD in terms of power consumption and
overheating? Would *not* disabling the APM for the HDD (is what 254/255
do?), but setting the spin down timeout to something more sensible be
better for the HDD? I have no idea if spinning down the head is the only
thing HDDs do for power saving. I suppose you would know best?
Also on another note I accidentally saw two more potential entries for
your storage-fixup on the linux-ide list (I do not know if you monitor it):
* http://www.spinics.net/lists/linux-ide/msg24667.html
* http://www.spinics.net/lists/linux-ide/msg24460.html
Kind Regards,
--
Ivan N. Zlatev
Web: http://www.i-nZ.net
"It's all some kind of whacked out conspiracy."
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html