<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stefano Rivera (Posts about apm)</title><link>https://stefanorivera.com/</link><description></description><atom:link href="https://stefanorivera.com/categories/apm.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2026 &lt;a href="mailto:stefano@rivera.za.net"&gt;Stefano Rivera&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-SA"
     class="cc-license-button"
     src="/assets/img/cc-by-sa-4.0.svg"&gt;&lt;/a&gt;</copyright><lastBuildDate>Fri, 01 May 2026 14:29:39 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>An update on Laptop Hard Drives &amp; Linux</title><link>https://stefanorivera.com/posts/2007/10/27/update-laptop-hard-drives-linux/</link><dc:creator>Stefano Rivera</dc:creator><description>&lt;p&gt;Launchpad &lt;a href="https://bugs.launchpad.net/bugs/59695"&gt;bug 59695&lt;/a&gt; has been gathering a &lt;em&gt;huge&lt;/em&gt; amount of activity since I wrote about this issue. The issue seems to be that the hardware manufacturers (BIOS and HDD firmware) set &lt;em&gt;very&lt;/em&gt; aggressive values for power management. And every other OS (Windows &amp;amp; Mac OSX) override these values to something more sane. The manufacturers only test their equipment in Windows, so they don't see any problems :-)&lt;/p&gt;
&lt;p&gt;This kind of thing seems to happen to Linux quite regularly - we all remember the ACPI debacle caused by manufacturers using Microsoft's broken ASL compiler, which worked in Microsoft's broken ACPI environment (or was overridden with driver updates).&lt;/p&gt;
&lt;p&gt;So in my opinion, Ubuntu (and every other distributor) has to step in and override these aggressive settings. And, by the look of the bug report, Gnome Power Manager should provide the user with a slider to set the balance between power savings and hardware lifetime.&lt;/p&gt;
&lt;p&gt;There is already the obligatory &lt;a href="http://ubuntuiskillingyourhd.blogspot.com/"&gt;ubuntu is killing your Hard Drive blog&lt;/a&gt;, and a &lt;a href="https://ubuntuforums.org/showthread.php?t=508576"&gt;closed for cooling off Ubuntu forums thread&lt;/a&gt;, if you want get involved and start swinging your battle-axe.&lt;/p&gt;
&lt;p&gt;Oh, and the workaround I posted last week obviously doesn't cover the case of the machine resuming from suspend. You have to use an ACPI event script for that.&lt;/p&gt;</description><category>apm</category><category>hard-drive</category><category>hardware</category><category>laptop</category><category>linux</category><category>ubuntu</category><guid>http://tumbleweed.org.za/2007/10/27/update-laptop-hard-drives-linux</guid><pubDate>Sat, 27 Oct 2007 08:11:31 GMT</pubDate></item><item><title>A serious warning to Linux Laptop users</title><link>https://stefanorivera.com/posts/2007/10/22/serious-warning-linux-laptop-users/</link><dc:creator>Stefano Rivera</dc:creator><description>&lt;p&gt;I've just come across a rather scary, and worryingly old &lt;a href="https://bugs.launchpad.net/bugs/59695"&gt;launchpad bug&lt;/a&gt;, which talks about real hardware damage. There is more on the problem &lt;a href="http://paul.luon.net/journal/2005/11/24/broken-hdds/"&gt;here&lt;/a&gt;. But basically, by default, Linux is far too optimistic with spinning laptop hard drives down, and you can reach number of spin-up/downs that your drive is rated for over it's entire life-time, in a few months.&lt;/p&gt;
&lt;p&gt;My laptop (3 months old), is already at 160000 Load/Unloads: Around half it's rated life.&lt;/p&gt;
&lt;p&gt;The easy solution is&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;# hdparm -B 180 /dev/sda
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Or, the following in /etc/hdparm.conf&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;/dev/sda {
    apm = 180
}
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Lets hope that this gets resolved soon, or the problem isn't as bad as it appears.&lt;/p&gt;
&lt;p&gt;I see that Matthew Garrett (the Ubuntu Laptop Tzar) is subscribed to this bug, but doesn't seem to have commented on it. I find that a little odd, considering its seriousness.&lt;/p&gt;</description><category>apm</category><category>hard-drive</category><category>hardware</category><category>laptop</category><category>linux</category><category>ubuntu</category><guid>http://tumbleweed.org.za/2007/10/22/serious-warning-linux-laptop-users</guid><pubDate>Mon, 22 Oct 2007 21:15:22 GMT</pubDate></item></channel></rss>