From owner-freebsd-current@FreeBSD.ORG Thu Mar 26 09:12:29 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8C1C106566B for ; Thu, 26 Mar 2009 09:12:29 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx10.syd.optusnet.com.au (fallbackmx10.syd.optusnet.com.au [211.29.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 895E08FC12 for ; Thu, 26 Mar 2009 09:12:28 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n2Q8t6ti029427 for ; Thu, 26 Mar 2009 19:55:08 +1100 Received: from server.vk2pj.dyndns.org (c122-106-216-167.belrs3.nsw.optusnet.com.au [122.106.216.167]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n2Q8sqnJ025676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Mar 2009 19:54:53 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n2Q8spWl056509; Thu, 26 Mar 2009 19:54:51 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n2Q8snaf056508; Thu, 26 Mar 2009 19:54:49 +1100 (EST) (envelope-from peter) Date: Thu, 26 Mar 2009 19:54:49 +1100 From: Peter Jeremy To: Bruce Cran Message-ID: <20090326085449.GB56137@server.vk2pj.dyndns.org> References: <49BE7C5A.2080103@icyb.net.ua> <10611.1237233778@critter.freebsd.dk> <20090320074833.67d615e2@gluon> <49C37B75.5060905@andric.com> <20090320191938.25d85caa@gluon> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CdrF4e02JqNVZeln" Content-Disposition: inline In-Reply-To: <20090320191938.25d85caa@gluon> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Dimitry Andric , freebsd-current@freebsd.org Subject: Re: ata: printf on every spinup/spindown? 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: Thu, 26 Mar 2009 09:12:30 -0000 --CdrF4e02JqNVZeln Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Mar-20 19:19:38 +0000, Bruce Cran wrote: >There's a reluctance to include code like this, I >think because it bypasses the ATA driver and talks directly to the >drive. Since the driver doesn't know what the drive's been told to do, >it can't know to adjust timers etc. to wait for the disk to spin back >up, for example. This code is no worse than installing sysutils/ataidle - which also bypasses the driver. As it stands, FreeBSD out-of-the-box behaves in a way that adversely impacts laptop HDD life - and correcting this requires that the end-user both be aware of the problem and then find, install and configure a port to work around this. I am very uncomfortable with this and would prefer to see the base system require less user knowledge/intervention. --=20 Peter Jeremy --CdrF4e02JqNVZeln Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAknLQtkACgkQ/opHv/APuIeKVgCfR28rM3fMkpKJ0OnXIOtr8Zpi eq4An0UwlhnHFRuof9KLA+FokxigwiYK =wYNo -----END PGP SIGNATURE----- --CdrF4e02JqNVZeln--