From owner-freebsd-stable@FreeBSD.ORG Sun Apr 17 18:54:05 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 2E64C1065670 for ; Sun, 17 Apr 2011 18:54:05 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id CD7778FC13 for ; Sun, 17 Apr 2011 18:54:04 +0000 (UTC) Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by qmta10.westchester.pa.mail.comcast.net with comcast id YipN1g0031swQuc5Aiu56o; Sun, 17 Apr 2011 18:54:05 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta15.westchester.pa.mail.comcast.net with comcast id Yiu31g00U1t3BNj3biu4GX; Sun, 17 Apr 2011 18:54:05 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id ADD029B42B; Sun, 17 Apr 2011 11:54:02 -0700 (PDT) Date: Sun, 17 Apr 2011 11:54:02 -0700 From: Jeremy Chadwick To: Lystopad Olexandr Message-ID: <20110417185402.GA55984@icarus.home.lan> References: <20110417123232.GA96423@laa.zp.ua> <20110417142135.GA51568@icarus.home.lan> <20110417163135.GC96423@laa.zp.ua> <20110417183014.GA55444@icarus.home.lan> <20110417184538.GG96423@laa.zp.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110417184538.GG96423@laa.zp.ua> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: ZFS root on MB Intel S3420GP 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: Sun, 17 Apr 2011 18:54:05 -0000 On Sun, Apr 17, 2011 at 10:45:38PM +0400, Lystopad Olexandr wrote: > Hello, Jeremy Chadwick! > > > > > With regards to AHCI mode: Most of us strongly advocate use of ahci.ko > > > > (not ataahci.ko; they differ), which does SATA<->CAM translation. You > > > > also gain NCQ capability using this. Be aware your disks will appear as > > > > "adaX" (not a typo), and you will use "camcontrol" (rather than > > > > "atacontrol") to maintain them. Utilities like smartmontools do work > > > > with this. Many of us (users and developers) have been using ahci.ko > > > > reliably for 1-2 years now. > > > > > > Simply add ahci_load="YES" in loader.conf? Or something else? > > > > Correct. > > > > I tend to do the following from the very beginning of a new FreeBSD box > > installation, however: > > > > - Boot FreeBSD installation medium (PXE, CD, USB, whatever) > > - At beastie menu, escape to loader prompt and do "load ahci" then > > "boot" > > - Install FreeBSD like usual, creating slices/partitions on adaX disks > > like normal, etc... > > - When the system reboots, at the beastie prompt, make sure to escape to > > loader and do "load ahci" then "boot" again. > > - Once the system is finally up, edit /boot/loader.conf to add > > ahci_load="yes". > > What about ahci_load="YES" after freebsd install? Is it too late? I don't recommend enabling ahci.ko after the OS has already been installed on an adX disk, simply because I believe the combination of GEOM+CAM+ahci may show different geometry details than GEOM+ata would. Note: I said "I believe", not "I can confirm/validate". I could be completely wrong. Rather than find out ( :-) ) I tend to try and do things consistently from the very beginning. So you can try it if you want, be my guest, report back. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |