From owner-freebsd-stable@FreeBSD.ORG Tue May 13 17:45:56 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FBA71065674 for ; Tue, 13 May 2008 17:45:56 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id 45B228FC1B for ; Tue, 13 May 2008 17:45:56 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so699217ana.13 for ; Tue, 13 May 2008 10:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=uLr5rDqBjFgnsrOJQb1zvgkdT2pMLOm/Rv5LJf5IUuQ=; b=TX4znJZjvthF92VOntEYTdZMsYs+cxR8ES3PbFrVIUqdop7j0m0Kmu1mmRkjnCjCEimzU5mG/VuMrghrVbWh9y2GuXV5N9AcSahwDEGYP1ny4rVFfCPyRL6umtGzMigFA8A1F4fy4vkcMQFsJfOOYbC6rNMiN6ZFnN9zre6KsSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=W4i5/p6eCQD2QF4hcwA3Q6QoKcDZJ2u0JrIW105qxKG9GsR3IAl6aniUjHdyMfF+IdHdVnHwXLrieIpSvA1iC4YBGUs9+WzQID6WO0KYtntscyqZmgQW6Xa1yvA41HvG9N8w/rCzNSc441J0RxyTD6+rcopPlYC8dN4vli/Evgc= Received: by 10.100.173.9 with SMTP id v9mr10089452ane.39.1210699215373; Tue, 13 May 2008 10:20:15 -0700 (PDT) Received: from ?10.0.3.231? ( [70.111.2.75]) by mx.google.com with ESMTPS id 9sm178675wrl.31.2008.05.13.10.20.13 (version=SSLv3 cipher=RC4-MD5); Tue, 13 May 2008 10:20:14 -0700 (PDT) From: "Alexandre \"Sunny\" Kovalenko" To: Ian Smith In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Date: Tue, 13 May 2008 13:19:25 -0400 Message-Id: <1210699165.2238.1.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: stable@freebsd.org Subject: Re: ATA APM and NCQ support in FreeBSD atacontrol X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 17:45:56 -0000 On Mon, 2008-05-12 at 14:52 +1000, Ian Smith wrote: > On Sun, 11 May 2008 jonathan@kc8onw.net wrote: > > Has any work been done recently towards adding SATA Native Command > > Queueing as well as ATA APM and acoustic management to FreeBSD? > > > > I found this PR (with patch) to add APM and acoustic management control to > > atacontrol. The PR was opened in May 2005 has not been changed since > > December 2006 and is still open. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=81692&cat= > > > > I have not been able to find much of anything on SATA NCQ in FreeBSD newer > > than 2005 or 2006 does anyone know anything newer? > > Jeremy has addressed the NCQ issue, about which I know nothing. > > As for APM and AAM, that functionality is handled by sysutils/ataidle, > which that PR appears - on a quick glance - to pretty well duplicate. > > I see phk@ recently added an 'atacontrol spindown' command to HEAD and > RELENG_7 that appears to offer similar functionality to 'ataidle -S > standby_mins' or 'ataidle -I idle_mins', though specified in seconds > instead. However this doesn't address acoustic management. > > Or is ataidle broken for SATA disks? Does not look broken here (RELENG_7): RabbitsDen# ataidle /dev/ad4 Device Info: Model: HTS541010G9SA00 Serial: MP2ZM4X0JWY6WH Firmware Rev: MBZIC60H ATA revision: ATA-7 LBA 48: yes Geometry: 16383 cyls, 16 heads, 63 spt Capacity: 93GB SMART Supported: yes SMART Enabled: yes APM Supported: yes APM Enabled: yes AAM Supported: yes AAM Enabled: yes Current AAM: 1 Vendor Recommends AAM: 1 APM Value: 16638 RabbitsDen# atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: ad4 Serial ATA v1.0 Slave: no device present ATA channel 3: Master: no device present Slave: no device present ATA channel 4: Master: no device present Slave: no device present ATA channel 5: Master: no device present Slave: no device present atacontrol: ioctl(IOCATADEVICES): Device not configured RabbitsDen# uname -a FreeBSD RabbitsDen.RabbitsLawn.verizon.net 7.0-STABLE FreeBSD 7.0-STABLE #1: Sun May 11 20:31:21 EDT 2008 root@RabbitsDen.RabbitsLawn.verizon.net:/usr/src/sys/i386/compile/TPX60 i386 RabbitsDen# > > cheers, Ian > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Alexandre "Sunny" Kovalenko (Олександр Коваленко)