From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 30 10:52:31 2009 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E906A106564A; Mon, 30 Mar 2009 10:52:31 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D2A168FC20; Mon, 30 Mar 2009 10:52:30 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA24249; Mon, 30 Mar 2009 13:52:28 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <49D0A46B.3000306@icyb.net.ua> Date: Mon, 30 Mar 2009 13:52:27 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Alexander Motin Subject: hot-attach SATA drive X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2009 10:52:32 -0000 Recently I tried to hot-attach a SATA drive to a running system. Controller is ICH9 in AHCI mode. Physically/electronically everything went smoothly, the drive spun-up. Then I tried to detach and re-attach all channels with no devices on them using atacontrol. I did it 3 times to be sure, but no new disk showed up. Then I finally rebooted, the disk showed up OK. Question: was hot-attach expected to work? Is there a limitation in hardware or in our driver? Note: I attached the drive to a regular SATA port, not eSATA. -- Andriy Gapon