From owner-freebsd-stable@FreeBSD.ORG Thu Nov 17 11:20:15 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 E6D231065670 for ; Thu, 17 Nov 2011 11:20:15 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id 90E148FC13 for ; Thu, 17 Nov 2011 11:20:15 +0000 (UTC) Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta15.emeryville.ca.mail.comcast.net with comcast id yBL21h0041smiN4AFBL8NX; Thu, 17 Nov 2011 11:20:08 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta20.emeryville.ca.mail.comcast.net with comcast id yB0u1h0041t3BNj8gB0uMA; Thu, 17 Nov 2011 11:00:55 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 8B4BF102C1D; Thu, 17 Nov 2011 03:20:13 -0800 (PST) Date: Thu, 17 Nov 2011 03:20:13 -0800 From: Jeremy Chadwick To: Willem Jan Withagen Message-ID: <20111117112013.GA42497@icarus.home.lan> References: <4EC3E0E4.5010704@digiware.nl> <4EC3F13B.4020700@brockmann-consult.de> <4EC4E9FE.2060208@digiware.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EC4E9FE.2060208@digiware.nl> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org, Peter Maloney Subject: Re: Trouble with SSD on SATA 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: Thu, 17 Nov 2011 11:20:16 -0000 On Thu, Nov 17, 2011 at 12:03:26PM +0100, Willem Jan Withagen wrote: > On 2011-11-16 18:22, Peter Maloney wrote: > >Willem, > > > >I can only guess, but... > > > >Is AHCI enabled in the bios? If you are not using 'fake-raid' for any > >disks, you should [depending on FreeBSD version, HBA, etc.] probably > >enable AHCI. Some servers actually come with SATA set in IDE mode. And > >if you are using zfs, the controller optimally should not be RAID at > >all. And if you have AHCI enabled already, try disabling it (losing hot > >swapping ability, and some performance). > > ACHI is enabled otherwise I cannot used the last set of SATA > connectors with this MB. Controller for these connectors is CH9. There are two "kinds" of AHCI on FreeBSD -- and I'm speaking strictly about the kernel bits, not AHCI the option ROM/BIOS option: ataahci.ko -- this is "AHCI support using ata(4)" ahci.ko -- this is "AHCI support using CAM(4)" You want the latter, and I can tell you're using the former (if at all). There would be no "ata6" if you were using ahci.ko; it would be called something like ahcichX, indicating "AHCI channel X". Furthermore, because CAM(4) gets used, your disk device names change from adX to adaX. This is expected. Using ataahci.ko results in the disks still being named adX, because it uses ata(4). Hope this helps shed some light on the confusion. Generally speaking you want to be using ahci.ko, mav@ and many others have spent a lot of time working on that and getting it to play nice with CAM -- it's beautiful, and hot-swapping works perfectly on all the Intel ICHxx systems I've tried it on (ICH7R, ICH9R). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |