[arch-general] harddisk suspending far to often

Curtis Shimamoto sugar.and.scruffy at gmail.com
Sat Dec 8 20:33:45 EST 2012

On 12/08/12 at 09:48pm, G. Schlisio wrote:
> Am 07.12.2012 01:49, schrieb Calvin Morrison:
> >On 6 December 2012 17:05, G. Schlisio <g.schlisio at dukun.de> wrote:
> >
> >>Am 06.12.2012 21:07, schrieb Jonathan Steel:
> >>
> >>  On Thu, Dec 06, 2012 at 10:59:27AM +0100, G. Schlisio wrote:
> >>>>after updating my laptop today [0] (no testing enabled) i notice
> >>>>>that my harddisk keeps spinning down and up every 10 seconds or
> >>>>>so.
> >>>>>might this be related to the update or where can i stop this?
> >>>>>
> >>>>somehow it resolved itself today. now hdd is running continuously again.
> >>>>
> >>>If it happens again, you can check this with:
> >>>
> >>>hdparm -B /dev/sdx
> >>>
> >>>If it's spinning down too often, try:
> >>>
> >>>hdparm -B 254 /dev/sdx
> >>>
> >>>  thank you for your advice.
> >>hdparm -B /device returns 254 to me now, thats quire expected, because now
> >>everything works fine.
> >>
> >>i wonder, how/whether it could have been altered yesterday.
> >>do programs like powertop touch those values?
> >>
> >If you are messing around with powertop, yes I think that could have been
> >it. Usually powertop can adjust hd settings
> >
> i uninstalled powertop after my last post, but yesterday it happend
> again. when i checked the APM level it was set to 1.
> i only experience this after suspend to ram.
> how can i get to know, why this is happening, and maybe stop it?

When I still had rotational hard drives, I noticed that my APM level
would reset after suspend.  This, I later found, is expected behavior.
So you either need to put something in /usr/lib/systemd/system-sleep or
make an appropriate service file to reinstate the APM.

Why it defaults to 1 I have not idea though.

Curtis Shimamoto
sugar.and.scruffy at gmail.com

More information about the arch-general mailing list