From owner-freebsd-stable@FreeBSD.ORG Wed Dec 14 09:52:16 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C7CD106564A for ; Wed, 14 Dec 2011 09:52:16 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id D2BD88FC12 for ; Wed, 14 Dec 2011 09:52:15 +0000 (UTC) Received: from hugo10.ka.punkt.de ([217.29.45.10]) by gate1.intern.punkt.de with ESMTP id pBE9qEpZ066479; Wed, 14 Dec 2011 10:52:14 +0100 (CET) Received: from [217.29.45.158] ([217.29.45.158]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id pBE9qEh6040163; Wed, 14 Dec 2011 10:52:14 +0100 (CET) (envelope-from hausen@punkt.de) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: "Patrick M. Hausen" In-Reply-To: <20111214092624.GA96153@icarus.home.lan> Date: Wed, 14 Dec 2011 10:52:13 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20111214092624.GA96153@icarus.home.lan> To: Jeremy Chadwick X-Mailer: Apple Mail (2.1251.1) Cc: FreeBSD Stable Subject: Re: Hot-changing a failed HDD with ahci.ko X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 09:52:16 -0000 Hi! Am 14.12.2011 um 10:26 schrieb Jeremy Chadwick: >> What is the proper equivalent for ahci, ada0 and camcontrol? >=20 > None is needed: yank the disk, reinsert, wait a few seconds, done. > Validation, with full output, hardware, etc: >=20 > = http://koitsu.wordpress.com/2010/07/22/freebsd-and-zfs-hot-swapping-sata-d= isks-with-ahci/ Yank the disk: (ada0:ahcich0:0:0:0): lost device Reinsert - nothing happens. >> shutdown -r now >> -> system panics, eventually reboots >=20 > Before you yanked the disk, were any non-ZFS filesystems mounted? Yes - my fault. I had an active swap partition on the disk which = perfectly explains the panic. > You might try booting RELENG_9 (which has ahci.ko as the default, so = no > need to mess about) on a LiveCD or equivalent and attempt the same > thing. I'm left wondering if there's some stuff in RELENG_8 (not a = typo > compared to the above RELENG_9 reference) that you do not have in > RELENG_8_2. I'll try upgrading to RELENG_8 first and report the results. Side note: ada0: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes) I noticed that while preparing the last mail and removed those little = jumpers limiting my hard drives ;-) Thanks, Patrick --=20 punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J=FCrgen Egeling AG Mannheim 108285