From owner-freebsd-current@FreeBSD.ORG Sun Mar 8 20:44:16 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 4DB0910656F0 for ; Sun, 8 Mar 2009 20:44:16 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail1.es.net [IPv6:2001:400:201:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id D6FE68FC0C for ; Sun, 8 Mar 2009 20:44:15 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n28Ki7g4020358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 8 Mar 2009 13:44:07 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 066E91CC0B; Sun, 8 Mar 2009 13:44:07 -0700 (PDT) To: hartzell@alerce.com In-reply-to: Your message of "Sun, 08 Mar 2009 11:37:13 PDT." <18868.4185.95172.261233@almost.alerce.com> Date: Sun, 08 Mar 2009 13:44:07 -0700 From: "Kevin Oberman" Message-Id: <20090308204407.066E91CC0B@ptavv.es.net> Cc: freebsd-current@freebsd.org Subject: Re: Am I using atacontrol attach properly? (sata hotplug issue). X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 20:44:16 -0000 > From: George Hartzell > Date: Sun, 8 Mar 2009 11:37:13 -0700 > Sender: owner-freebsd-current@freebsd.org > > Wes Morgan writes: > > On Sat, 7 Mar 2009, George Hartzell wrote: > > > > > 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 > > > > I'm able to hot-plug new and hot-swap existing drives on an ICH7 > > controller, on -current. Have you also tried a reinit? > > I have tried reinit without any success. > > I also just rearranged connectors and tried adding a new drive to one > of the Sil 3114 without any luck. No help for me, either. Looks like some issue specific to this hardware. Probably something that gets poked when the driver does the initial probe, but does not on an 'attach' operation. FWIW, my system has an ICH6 SATA150 controller with an unknown SATA-PATA converter. I have always assumed that the problem was the SATA-PATA converter, but George's report now make me suspicious that it is not. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751