[Bug 199094] Re: hdparm.conf settings (other than apm) are lost on suspend/resume?

Steve Langasek steve.langasek at canonical.com
Thu Oct 25 04:12:45 UTC 2012


So I'm not sure why people are still seeing a bug here.  The /usr/lib
/pm-utils/sleep.d/95hdparm-apm script does this:

        thaw|resume)
                resume_hdparm_apm
                # only set the -S option on resuming, not necessary for power.d
                resume_hdparm_spindown
                ;;

So it explicitly sets the -B and -S options on resume, which are the
exact options that users are reporting problems with.  I think someone
who's seeing this problem needs to diagnose what's going wrong with that
script.  Does it work if you run it by hand?

** Changed in: hdparm (Ubuntu)
       Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/199094

Title:
  hdparm.conf settings (other than apm) are lost on suspend/resume?

Status in “hdparm” package in Ubuntu:
  Incomplete
Status in “pm-utils” package in Ubuntu:
  Incomplete

Bug description:
  Update: This is on Intrepid.

  Problem:
  - Hard disks lose settings (the APM level for example) when they are powered off.
  => Settings in /etc/hdparm.conf persist only from boot to next suspend.

  Expected:
  All settings in /etc/hdparm.conf should persist across {suspend,hibernate}/resume.

  Effects:
  At least the apm setting in hdparm.conf is lost. This makes https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695 so bad - users are not able to set the apm value without messing with their system (installing stuff from forums) because of this bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/199094/+subscriptions




More information about the foundations-bugs mailing list