From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 11 11:46:24 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AA0316A41B for ; Sun, 11 Nov 2007 11:46:24 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id E5EF513C4BF for ; Sun, 11 Nov 2007 11:46:22 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id WAA17227; Sun, 11 Nov 2007 22:46:06 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 11 Nov 2007 22:46:06 +1100 (EST) From: Ian Smith To: Zac In-Reply-To: <4736CAF2.80906@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org Subject: Re: HDD heads parking X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2007 11:46:24 -0000 On Sun, 11 Nov 2007, Zac wrote: > Responding to > > > This problem seems to affect Toshiba a105 laptops also. 'ataidle -P 254 > 0 0' seems to fix the problem after the system is loaded, but I've > noticed that when the computer boots or reboots, the load cycles still > seem to increase (did a test via smartctl). It is an improvement, but > I'm trying to figure out how to disable this completely, even at boot time. See /usr/local/etc/rc.d/ataidle.sh for sample rc.conf settings to run ataidle on disk/s at boot. I'm now using 'ataidle -P 0 0 0' which disables APM altogether on ad0, after finding I'd used up 25% of my nominal lifetime allowance of ~2M Load_Cycle_Counts in just under a year powered up over about 18 months, so I was very glad to find out about this. (Fujitsu MHV2040AH) You'll need to run ataidle again in /etc/rc.resume if you're suspending your laptop. You could even run different settings on battery or AC .. Cheers, Ian