From owner-freebsd-current@FreeBSD.ORG Thu Dec 24 21:02:30 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 CBDB71065692 for ; Thu, 24 Dec 2009 21:02:30 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 6AE398FC08 for ; Thu, 24 Dec 2009 21:02:28 +0000 (UTC) Received: (qmail 66951 invoked from network); 24 Dec 2009 21:02:28 -0000 Received: from unknown (HELO ?10.0.0.158?) (spawk@128.238.64.31) by acm.poly.edu with AES256-SHA encrypted SMTP; 24 Dec 2009 21:02:28 -0000 Message-ID: <4B33D6D5.1010902@acm.poly.edu> Date: Thu, 24 Dec 2009 16:02:13 -0500 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.23 (X11/20090910) MIME-Version: 1.0 To: Alexander Motin References: <4B33AEB7.6070704@FreeBSD.org> In-Reply-To: <4B33AEB7.6070704@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: Re: Hot-swap support with ATA_CAM on ICH9 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: Thu, 24 Dec 2009 21:02:30 -0000 Alexander Motin wrote: > Boris Kochergin wrote: > >> Ahoy. I have a machine with some SATA disks connected to an ICH9 >> controller. The BIOS has no options to enable AHCI support on the >> controller (not that I know for sure that it even has AHCI support). >> Once a disk on the controller is removed, using the old ata(4) driver, >> no new disks are detected using atacontrol's "reinit" or "detach" and >> the machine must be rebooted for the new disk to be seen. I'm wondering >> whether this has a chance of working with the new ATA_CAM code. If so, >> I'll give it a whirl and report back. Thank you. >> > > It should work fine with ATA_CAM. To completely reinitialize and rescan > bus you should do now: > camcontrol reset X > camcontrol rescan X > I am going to make it more automatic later. > I tried it out in 8-STABLE and it works with the ICH9 controllers, and some SiI 3132 controllers in the same machine. Thank you for working on it. -Boris