From owner-freebsd-stable@FreeBSD.ORG Tue Dec 30 18:14:54 2008 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 982C5106572F for ; Tue, 30 Dec 2008 18:14:51 +0000 (UTC) (envelope-from ehrmann@gmail.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 0221A8FC12 for ; Tue, 30 Dec 2008 18:14:39 +0000 (UTC) (envelope-from ehrmann@gmail.com) Received: from [10.0.0.158] (unknown [70.135.135.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DCD9F23E403; Tue, 30 Dec 2008 13:14:37 -0500 (EST) Message-ID: <495A6500.9050403@gmail.com> Date: Tue, 30 Dec 2008 10:14:24 -0800 From: David Ehrmann User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: "Bruce M. Simpson" References: <49582FB2.8030300@gmail.com> <4958652B.80101@gmail.com> <49588FF7.2020702@yandex.ru> <49596A3D.1060003@gmail.com> <4959B579.1000407@yandex.ru> <495A4E52.70804@FreeBSD.org> In-Reply-To: <495A4E52.70804@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Andrey V. Elsukov" , freebsd-stable@freebsd.org, =?ISO-8859-1?Q?S=F8ren_Schmidt?= Subject: Re: SATA hotplug and AHCI 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: Tue, 30 Dec 2008 18:15:08 -0000 Bruce M. Simpson wrote: > Andrey V. Elsukov wrote: >> ... >> Linux's libata driver has a quirk for VIA AHCI: >> >> /* vt8251 doesn't clear BSY on signature FIS reception, >> * request follow-up softreset. >> */ >> >> If i right understand it issues softreset for VIA controllers just >> after hardreset. And after softreset it is trying to read device >> signature. >> >> FreeBSD CURRENT has similar code, but it is disabled by default. >> You can try install CURRENT and rebuild ata_ahci driver with AHCI_PM >> option. >> May be it will help.. >> > > I'm glad this came up. When I asked a few weeks ago about SATA Hotplug > support, I was asking because of a board with a VIA SATA controller I > was planning to add drives too, on a JBOD basis. > > Perhaps this hack can be backported to 7.x to actually make VIA > controllers useful? I'm *probably* going to wait for the next release and hope they enable the fix. Having to run atacontrol attach/detach is a little annoying, but it seems to work, so for now, I might just say that's good enough. > > P.S. VIA's SATA RAID BIOS is a pile of poop, don't bother using VIA > for RAID. I'd say the entire BIOS is. I had problems getting it to detect boot devices for the F11 boot menu. The were more or less resolved after rebooting (so the hardware was no longer new), but still...