From owner-freebsd-drivers@FreeBSD.ORG Fri Jun 3 01:57:05 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A780F1065672 for ; Fri, 3 Jun 2011 01:57:05 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from mailout-us.gmx.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id 268808FC19 for ; Fri, 3 Jun 2011 01:57:05 +0000 (UTC) Received: (qmail 7885 invoked by uid 0); 3 Jun 2011 01:57:03 -0000 Received: from 67.206.161.211 by rms-us007.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Fri, 03 Jun 2011 01:56:59 +0000 From: "Dieter BSD" Message-ID: <20110603015700.198120@gmx.com> MIME-Version: 1.0 To: mav@freebsd.org X-Authenticated: #74169980 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: WA3RdVJ4x3+iKRjNCmJp2c58amthcxsF Cc: freebsd-drivers@freebsd.org Subject: ahci(4) doesn't work with Hitachi 3TB drive X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2011 01:57:05 -0000 FreeBSD 8.2 amd64 ahci(4) and siis(4) were updated 2011-05-15. Connected a shiny new Hitachi 3 TB disk to JMB363 (no PM): ada11 at ahcich1 bus 0 scbus5 target 0 lun 0 ada11: ATA-8 SATA 3.x device ada11: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes) ada11: Command Queueing enabled ada11: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) Should connect at 300 MB/s but says 150. smartctl is not happy: /dev/ada11: Unable to detect device type Smartctl: please specify device type with the -d option. Use smartctl -h to get a usage summary Attempt to read disk with dd does not work. ahcich1: Timeout on slot 0 ahcich1: is 00000000 cs 00000000 ss 00000001 rs 00000001 tfd 50 serr 00000000 ahcich1: Timeout on slot 0 ahcich1: is 00000000 cs 00000000 ss 00000001 rs 00000001 tfd 50 serr 00000000 ... kill -9 dd process, wait for ahci to eventually give up, unplug disk from JMB363, plug disk into 3132 controller via 3726 PM (ada11:ahcich1:0:0:0): lost device (ada11:ahcich1:0:0:0): removing device entry siisch3: SNTF 0x8000 siisch3: siis_wait_ready() calling DELAY(1000) ada11 at siisch3 bus 0 scbus3 target 2 lun 0 ada11: ATA-8 SATA 3.x device ada11: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada11: Command Queueing enabled ada11: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) Siis talks to it at 300 MB/s, smartctl works, and dd is reading from it. Ahci talks to Hitachi 2 TB okay, not sure what is different with 3 TB.