From owner-freebsd-current@FreeBSD.ORG Tue Feb 5 21:10:56 2008 Return-Path: Delivered-To: current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B52FC16A418; Tue, 5 Feb 2008 21:10:56 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from spider.deepcore.dk (cpe.atm2-0-70484.0x50a6c9a6.abnxx16.customer.tele.dk [80.166.201.166]) by mx1.freebsd.org (Postfix) with ESMTP id 3E36513C461; Tue, 5 Feb 2008 21:10:56 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from [194.192.25.138] (laptop.deepcore.dk [194.192.25.138]) by spider.deepcore.dk (8.13.8/8.13.8) with ESMTP id m15LAsKM050999; Tue, 5 Feb 2008 22:10:54 +0100 (CET) (envelope-from sos@deepcore.dk) Message-Id: <72AEA190-4F56-4713-88C6-FF89FC69B5AE@deepcore.dk> From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= To: Bruce Cran In-Reply-To: <47A8CFE5.5000404@cran.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Date: Tue, 5 Feb 2008 22:10:53 +0100 References: <20080205130210.GQ57756@deviant.kiev.zoral.com.ua> <20080205173657.z4l7gf18g00ssso4@webmail.leidinger.net> <20080205203826.GT57756@deviant.kiev.zoral.com.ua> <47A8CFE5.5000404@cran.org.uk> X-Mailer: Apple Mail (2.915) Cc: Kostik Belousov , Alexander Leidinger , current@FreeBSD.ORG, sos@FreeBSD.ORG Subject: Re: Load_Cycle_Count and ATA APM X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2008 21:10:56 -0000 Hi all! Talk to phk, I discussed the "right" way of doing things with him a =20 few month back and I think he did at least a proof of concept thing on =20= it, dunno how far it got. Maybe it could be used as a starting ground =20= for a proper solution. I dont have much time (still) but maybe I could find time to finish =20 up / overhaul a part solution as mentioned above.... -S=F8ren On 5Feb, 2008, at 22:06 , Bruce Cran wrote: > Kostik Belousov wrote: >> [Replying to the original list of the recipients]. >> On Tue, Feb 05, 2008 at 05:36:57PM +0100, Alexander Leidinger wrote: >>> Quoting Kostik Belousov (from Tue, 5 Feb =20 >>> 2008 15:02:10 +0200): >>> >>>> I noted that when idle, my laptop HDD increases the =20 >>>> Load_Cycle_Count >>>> (193) approx. each ten seconds, as reported by smartctl. Have =20 >>>> recently >>>> read about the Ubuntu and APM mode for hard drives, I searched =20 >>>> for the >>>> tool to tune APM (that has functionality similar to linux' hdparm =20= >>>> -B). >>>> >>>> It seems that FreeBSD does not have a tool ? Am I wrong ? In case =20= >>>> I did >>>> not make a mistake, below is the patch that allows to manage APM =20= >>>> state >>>> of the hard drive using atacontrol. >>> Any chance to also handle automatic acoustic management at the =20 >>> same time? >> http://people.freebsd.org/~kib/misc/ata_setcap.2.patch > > The PR bin/81692 also has a patch to add APM and AAM functionality =20 > to atacontrol on FreeBSD 6. > > -- > Bruce >