Comment 0 for bug 361680

Revision history for this message
Rocko (rockorequin) wrote : hard disk parks reguarly after suspend - hdparm -B 254 has no effect

Binary package hint: pm-utils

After each suspend/resume cycle on my Dell XPS M1530, bug #59695 reappears. It doesn't happen in normal circumstances, eg after reboot. More importantly, issuing hdparm -B 254 /dev/sda has no effect - the disk still keeps regularly parking.

I suspect it might have something to do with resuming without power attached; when I attach the power, I'd expect the disk to stop parking. But it doesn't.

I used smartctl in a script to show frequency of disk parking after resume (date and time is included), issued a hdparm command which appears to work, but the script shows that disk parking continues afterwards:

root@pegasus-jaunty:~# ./load.sh
20090415 1653
193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 11236
20090415 1946
193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 11279
root@pegasus-jaunty:~# hdparm -B 254 /dev/sda

/dev/sda:
 setting Advanced Power Management level to 0xfe (254)

root@pegasus-jaunty:~# ./load.sh
200904152006
193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 11285
root@pegasus-jaunty:~# ./load.sh
200904152014
193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 11287

If I do the same thing after a reboot on power, the load cycle count does not change, which is what I expect.

This problem didn't happen in Intrepid, and I believe it has only recently started happening in Jaunty (since the beta was released).

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: pm-utils 1.2.2.4-0ubuntu4
PackageArchitecture: all
ProcEnviron:
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: pm-utils
Uname: Linux 2.6.28-11-generic x86_64