From owner-freebsd-stable@FreeBSD.ORG Tue Dec 30 16:37:42 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 04414106564A for ; Tue, 30 Dec 2008 16:37:42 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id C45EB8FC14 for ; Tue, 30 Dec 2008 16:37:41 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id B4A641FD4F1; Tue, 30 Dec 2008 11:37:40 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 30 Dec 2008 11:37:40 -0500 X-Sasl-enc: wu9ugK2eGA9Yo296wRnsHYIt21wlGNFoW8lD+HhdVlom 1230655060 Received: from empiric.lon.incunabulum.net (unknown [81.168.51.182]) by mail.messagingengine.com (Postfix) with ESMTPSA id D6B3D2C2F0; Tue, 30 Dec 2008 11:37:39 -0500 (EST) Message-ID: <495A4E52.70804@FreeBSD.org> Date: Tue, 30 Dec 2008 16:37:38 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.18 (X11/20081205) MIME-Version: 1.0 To: "Andrey V. Elsukov" References: <49582FB2.8030300@gmail.com> <4958652B.80101@gmail.com> <49588FF7.2020702@yandex.ru> <49596A3D.1060003@gmail.com> <4959B579.1000407@yandex.ru> In-Reply-To: <4959B579.1000407@yandex.ru> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David Ehrmann , 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 16:37:42 -0000 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? P.S. VIA's SATA RAID BIOS is a pile of poop, don't bother using VIA for RAID. cheers BMS