From owner-freebsd-hardware@FreeBSD.ORG Tue Mar 9 05:09:41 2010 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11229106566C for ; Tue, 9 Mar 2010 05:09:41 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (pool-98-108-131-15.ptldor.fios.verizon.net [98.108.131.15]) by mx1.freebsd.org (Postfix) with ESMTP id 28F8B8FC15 for ; Tue, 9 Mar 2010 05:09:39 +0000 (UTC) Received: by sopwith.solgatos.com (Postfix, from userid 66) id 381FFB64F; Mon, 8 Mar 2010 21:09:14 -0800 (PST) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id CAA13697; Tue, 9 Mar 2010 02:37:07 GMT Message-Id: <201003090237.CAA13697@sopwith.solgatos.com> To: freebsd-hardware@freebsd.org Date: Mon, 08 Mar 2010 18:37:07 PST From: Dieter Subject: siis(4) questions X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@sopwith.solgatos.com List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2010 05:09:41 -0000 The siis(4) man page promises a ada(4) man page, but I can't find it. Even tried the online man page tool. dmesg says: ada0 at siisch0 bus 0 target 0 lun 0 ada0: ATA/ATAPI-8 SATA 2.x device ada0: 300.000MB/s transfers ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada0: Native Command Queueing enabled but camcontrol says: # camcontrol inquiry ada0 -R 150.000MB/s transfers # camcontrol identify ada0 [ ... ] Feature Support Enable Value Vendor write cache yes no read ahead yes yes Native Command Queuing (NCQ) yes 31/0x1F So camcontrol disagrees with dmesg about the transfer speed. And camcontrol doesn't even fill in whether NCQ is enabled or not. The readcap and modepage stuff doesn't work at all: # camcontrol readcap ada0 (pass0:siisch0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 (pass0:siisch0:0:0:0): CAM Status: SCSI Status Error (pass0:siisch0:0:0:0): SCSI Status: Check Condition # camcontrol modepage ada0 -l camcontrol: error sending mode sense command # camcontrol modepage ada0 -m 0 camcontrol: error sending mode sense command # camcontrol modepage ada0 -m 1 camcontrol: error sending mode sense command # camcontrol modepage ada0 -m 2 camcontrol: error sending mode sense command # camcontrol modepage ada1 -m 2 camcontrol: error sending mode sense command I get the same problems with Seagate disks, so it isn't just Hitachi. I suspect that the dmesg info is correct. I'm not sure whether to believe *any* of the stuff camcontrol prints out? Like whether the write cache is on or not. And with the modepage stuff not working, how do I turn the write cache on and off?