From owner-freebsd-stable@FreeBSD.ORG Thu Jul 1 15:42:37 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 D98E3106566B for ; Thu, 1 Jul 2010 15:42:37 +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 6121E8FC1B for ; Thu, 1 Jul 2010 15:42:36 +0000 (UTC) Received: by fxm13 with SMTP id 13so1517945fxm.13 for ; Thu, 01 Jul 2010 08:42:29 -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=/1so5CFIGN80+7w6bucPRUlJxSFgSSGQulpruMHS3kc=; b=CdqGUo2Uy18puZZDFRJJBJTgWEgNaSZeBvBAhFgx1cnGAl45NC13c23ivscxLo86KH JGgRt9L0XxBToBAjm9x5ddPfLfKUTqiXQ7BmGhA3YbF3XpNghzbZKrSsajGsyHxsaoAT FS59jslx6YpTmEmS1Je5LOcVgADS3li4Z0KiA= 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=RHAG1+uBw6nBiVHw+8MrHtkWldIwmh3m563l+D7IsXRA+iIfw3gaVj/4SJg2pppYue 6F4gaW4YwuTtFLJFY2+Z3jmhset6O4uUMMe3gTs/WSr9oeL/7KJ7AIRnFhdIQ2L8MG5m vI+kzIOcTQ+bFNpS+2uOfLHn4wwFup6a7vc4U= Received: by 10.86.87.12 with SMTP id k12mr4824fgb.31.1277989320412; Thu, 01 Jul 2010 06:02:00 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 7sm53064160far.30.2010.07.01.06.01.58 (version=SSLv3 cipher=RC4-MD5); Thu, 01 Jul 2010 06:01:58 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C2C9199.8050102@FreeBSD.org> Date: Thu, 01 Jul 2010 16:01:13 +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> <4C2BB4A6.7040800@FreeBSD.org> <91399FEA-024C-4CA1-BCBD-208B41AA9C59@gromit.dlib.vt.edu> In-Reply-To: <91399FEA-024C-4CA1-BCBD-208B41AA9C59@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: Thu, 01 Jul 2010 15:42:38 -0000 Paul Mather wrote: > On Jun 30, 2010, at 5:18 PM, Alexander Motin wrote: >> 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. > > So, does that mean if you omit "options ATA_CAM" and have "device ahci" you will get adX devices, not adaX devices? In other words, if you have "device ahci" (or "device siis" or "device mvs") will you will always get adaX devices, whether or not you have "options ATA_CAM" in your kernel config file? If you have ahci, siis and mvs drivers in kernel, but no "options ATA_CAM", you will get adaX devices for native SATA controllers, supported by these three drivers and adX for other (legacy) ones. > Does "options ATA_CAM" work with "device ata" or the modular ATA subsystem? Both. It is an option of "device atacore", which is part of "device ata" > Is that the intended use of "options ATA_CAM": to provide adaX devices and a CAM interface for accessing ATA devices? Yes. It disables ATA peripheral drivers and bus management code, allowing CAM ones to be used on top of the ATA controller drivers. -- Alexander Motin