From owner-freebsd-stable@FreeBSD.ORG Wed Jun 30 21:19:20 2010 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 2D82C1065672 for ; Wed, 30 Jun 2010 21:19:20 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A53C38FC17 for ; Wed, 30 Jun 2010 21:19:19 +0000 (UTC) Received: by fxm13 with SMTP id 13so872321fxm.13 for ; Wed, 30 Jun 2010 14:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=xhvHOghjSa4BBAcIBRX5lclBHSSLrkMF5aQzu6QI+NA=; b=aFyWXLBsFplC866MutEkyrtv57OdkG3YmnFW0C1UGbttgmKJxuUu3/6N6ThTN4SEIX zrM933X4oVgPHyyNO0Zk7iFTSo3O4yyAWtyYmKuqXtTA+4GGyy0NlYamarFgfGkx7IWt EzfTg6a5WTHM/WswlcIpH+uNdogYiUY3DdJq4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=eBawfwTT6r4EPd1R9ecFoq+GGJhaqYz7+x+apyWr+mMVmdGqqwQf2zbyDxatVSq3Cd HRNJhNFHB02kskBy+fgxM8/ngYP1RiVEgD1v+qLUq04pzFETStN3IsaFOeoh2Mn+tFoS pht93lZehfnI01tCOHq2vvohz1aYcZquLOuXA= Received: by 10.223.109.146 with SMTP id j18mr8326182fap.87.1277932754895; Wed, 30 Jun 2010 14:19:14 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id e10sm51378189fak.14.2010.06.30.14.19.13 (version=SSLv3 cipher=RC4-MD5); Wed, 30 Jun 2010 14:19:14 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C2BB4A6.7040800@FreeBSD.org> Date: Thu, 01 Jul 2010 00:18:30 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Paul Mather References: <4C2B8103.6010409@FreeBSD.org> <1CD8E4CC-53C6-4594-9FF4-CDD57A6B51AC@gromit.dlib.vt.edu> In-Reply-To: <1CD8E4CC-53C6-4594-9FF4-CDD57A6B51AC@gromit.dlib.vt.edu> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Subject: Re: Problems with ATA_CAM support in RELENG_8 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: Wed, 30 Jun 2010 21:19:20 -0000 Paul Mather wrote: >> PS: ATA_STATIC_ID is useless when ATA_CAM option enabled. > > Thank you (and Jeremy Chadwick) for the help and information. The kernel configuration options I used above were taken from a VirtualBox FreeBSD/amd64 install I have that I converted over to ATA_CAM when the code first went into RELENG_8 and it wasn't exactly clear at the time what options were absolutely required. (I'm not even sure that "options ATA_CAM" is needed any more, given "device ahci" implies it.) `options ATA_CAM` enables CAM wrapper for legacy drivers, which gave you adaX devices instead of adX. It doesn't give major benefits, just unifies behavior. > I thought ICH8 supported AHCI, but maybe it's only ICH8R that does? All ICH8 support AHCI, though not all BIOSes initialize them respectively. The only benefit of ICH8R is a port multipliers support, though it also seems to be artificial limitation - I've seen BIOS allowing it on regular ICH8. > I'm assuming that "subclass = ATA" means the controller can't operate in AHCI mode. Yes. At least it is not configured to do so. > The BIOS setting is also confusing. It has two options, "Normal" and "Legacy." "Normal" mode says, "The hard drive controller is configured for native mode. This mode provides the highest drive performance and most flexibility." I guess I misinterpreted "native mode" to be AHCI mode. "Native" mode means that ATA controllers works as normal PCI device. In "Legacy" mode controller uses legacy ISA I/O ports and IRQs. -- Alexander Motin