From owner-freebsd-current@FreeBSD.ORG Sat Mar 7 23:39:38 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 02EEE106566C for ; Sat, 7 Mar 2009 23:39:38 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id E2DC48FC0C for ; Sat, 7 Mar 2009 23:39:37 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 6C95C33C62 for ; Sat, 7 Mar 2009 15:39:37 -0800 (PST) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id EE0A433C5B for ; Sat, 7 Mar 2009 15:39:36 -0800 (PST) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18867.1464.374096.420552@almost.alerce.com> Date: Sat, 7 Mar 2009 15:39:36 -0800 To: freebsd-current@freebsd.org X-Mailer: VM 8.0.12 under 22.1.50.1 (i386-apple-darwin8.11.1) X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Sat, 07 Mar 2009 23:58:47 +0000 Subject: Am I using atacontrol attach properly? (sata hotplug issue). X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2009 23:39:38 -0000 I have a Gigabyte GA-6KIEH-RH motherboard. It has 5 SATA ports, 4 attached to a Sil 3114 controller and 1 attach to an ICH8m. The system is running -CURRENT from yesterday. I have two disks attaching as ad4 and ad6 to ata2 and ata3 resp. I can set ACHI mode for ICH8m in the BIOS. When I do not enable it, the 5th SATA conector shows up as slave on ata6. When I do enable it the 5th connector shows up as master on ata8. If I boot without anything connected to the fifth port, then connect a drive I thought that the following should work to get the drive recognized: sudo atacontrol detach ata8 sudo atacontrol attach ata8 (or a similar dance with ata6 if AHCI isn't enabled). When I set boot_verbose in loader.conf I see the following when I attach (two separate attempts with different SATA drives): ata8: AHCI reset... ata8: SATA connect status=00000004 ata8: AHCI reset done: phy reset found no device ata8: [MPSAFE] ata8: [ITHREAD] ata8: Identifying devices: 00000000 ata8: New devices: 00000000 ata8: AHCI reset... ata8: SATA connect status=00000004 ata8: AHCI reset done: phy reset found no device ata8: [MPSAFE] ata8: [ITHREAD] ata8: Identifying devices: 00000000 ata8: New devices: 00000000 If the drive's attached at boot time then it's recognized. Am I doing something wrong, or is my hardware balky? Thanks! g.