From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 09:34:31 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD3B01065678 for ; Sat, 2 Apr 2011 09:34:31 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id 4550F8FC1B for ; Sat, 2 Apr 2011 09:34:30 +0000 (UTC) Received: from hugo10.ka.punkt.de ([217.29.45.10]) by gate1.intern.punkt.de with ESMTP id p329YTN6099210 for ; Sat, 2 Apr 2011 11:34:29 +0200 (CEST) Received: from [217.29.46.3] ([217.29.46.3]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id p329YTD8093157 for ; Sat, 2 Apr 2011 11:34:29 +0200 (CEST) (envelope-from hausen@punkt.de) From: "Patrick M. Hausen" Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sat, 2 Apr 2011 11:34:32 +0200 Message-Id: To: FreeBSD Stable Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Subject: ahci.ko in RELENG_8_2, what about atacontrol cap? 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: Sat, 02 Apr 2011 09:34:31 -0000 Hi, all, On my system using the "old" ATA driver, I can use a command like this to get useful information about my disk drives: ------------------------------------------------------------ nas-pmh# atacontrol cap ad4 Protocol SATA revision 2.x device model ST32000542AS serial number 5XW251QF firmware revision CC34 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 3907029168 sectors dma supported overlap not supported Feature Support Enable Value Vendor write cache yes yes read ahead yes yes Native Command Queuing (NCQ) yes - 31/0x1F Tagged Command Queuing (TCQ) no no 31/0x1F SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management yes yes 49344/0xC0C0 automatic acoustic management yes yes 254/0xFE 254/0xFE ------------------------------------------------------------ When I switch to the new AHCI driver the drives are connected to the CAM subsystem: ------------------------------------------------------------ nas-pmh# camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus1 target 0 lun 0 (ada1,pass1) at scbus2 target 0 lun 0 (ada2,pass2) at scbus3 target 0 lun 0 (ada3,pass3) at scbus4 target 0 lun 0 (da0,pass4) ------------------------------------------------------------ But: ------------------------------------------------------------ nas-pmh# camcontrol inquiry ada0 nas-pmh# camcontrol readcap ada0 (pass0:ahcich0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0=20 (pass0:ahcich0:0:0:0): CAM status: CCB request was invalid ------------------------------------------------------------ Obvious question: is there a way to get the same information (NCQ = support, write cache status, ...) with the new driver? Thanks, Patrick --=20 punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J=FCrgen Egeling AG Mannheim 108285