From owner-freebsd-current@FreeBSD.ORG Mon Dec 14 06:14:07 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF6CA1065693; Mon, 14 Dec 2009 06:14:07 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 202BE8FC13; Mon, 14 Dec 2009 06:14:06 +0000 (UTC) Received: by ewy26 with SMTP id 26so3292971ewy.3 for ; Sun, 13 Dec 2009 22:14:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=/QtDJ4r2p2+G1VFwqn7Wdn34Bu57D1RKYGhjwrPoBTs=; b=XQ2NPSZ8Lzj3eSC0NZGPqza34XyhU/NqDTN443AORGTn1bcjJGjAyfRV+rXxBtvqjL fk9T8GHp0ArP1z4k3GqdQZuEaTKOGms2nBN+38o3GGo1EPhagCBU0/kBmKpu8DgLdafg nQ/UB+Kx0E1oaC3DvL/kkDE5PUHevQfLSb0mw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ef/fuVTUrg76HMJGsOcQ1A4yOHoJNCPBD7ouCWY2/6TQk8Ze8cADA6vBiUGEDg73gb 8lxYPn4Ml0zg0JtYdfvbWHJfJptgoTrbxn7fl8bYsOierfBwMk1lAfohOsf4gRDs6zy9 1CptQtYMcudL1lC/Q8j05g68mNX3o0urC7qow= MIME-Version: 1.0 Received: by 10.216.88.75 with SMTP id z53mr1783168wee.46.1260771245873; Sun, 13 Dec 2009 22:14:05 -0800 (PST) In-Reply-To: <4B25D1ED.5060509@FreeBSD.org> References: <4B25D1ED.5060509@FreeBSD.org> Date: Mon, 14 Dec 2009 01:14:05 -0500 Message-ID: From: "b. f." To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: AHCI/ATA_CAM for dummies? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 06:14:07 -0000 On 12/14/09, Doug Barton wrote: > > One thing I did not include in my previous post was that I actually > did try adding the ahci device to my kernel config, and didn't get any > hits. Per your other message tonight I tried again adding ahci and > siis and booting verbose, no joy. This is on a laptop so I'm not > really surprised, just disappointed. :) If you use 'pciconf -lv', is the subclass for your SATA controller listed as either RAID or AHCI? If not, either your hardware doesn't support AHCI, or it is switched into legacy mode (or there is a problem that mav@ would probably like to know about). Try looking in the BIOS setup for a place where you can change the mode. > >> Again, see above. You may not actually need ata(4). Even if you do >> want it, you don't actually need all of ata(4); you can just add the >> portion you need: >> >> device atacore >> >> and the chipset-specific parts that correspond to your hardware. >> Usually, something like: >> >> atapci >> ataahci >> atanvidia > > The only nvidia thing I have is my graphics card, so I'm assuming I > could get away with just the first two? Also, how much of an advantage > does stripping down the ata stuff give? Is it just a bit of kernel > memory? It's working atm so I'm sort of inclined to leave it alone. :) > I was only offering these three as an example -- the modules that you should choose depend on your IDE and ATA controller(s). atapci is the generic default module, ataahci is required for ahci without ahci(4), and then there may be a vendor-specific module as well. Yes, you save a bit of memory, compile time, and space -- but if you don't want to use the modular setup, just use the device ata catchall. b.