From owner-svn-src-stable@FreeBSD.ORG Sat Dec 12 11:52:58 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9411E106566B; Sat, 12 Dec 2009 11:52:58 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 134AD8FC0C; Sat, 12 Dec 2009 11:52:58 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 1E11DC5915; Sat, 12 Dec 2009 06:52:57 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Sat, 12 Dec 2009 06:52:57 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpout; bh=nB/Xdrb74IME5XV8ZeLD6JgIOcg=; b=cqJSffEwFynVTii2sn3z0py4CXOYM+M+K2t8NxQlCj9AerecIrjLQd9eA1ABChbsYZf6HqesjUUc6YqBhG5aaYCyJb9vH7wlG34oLRC4CiUWuak8NvjFADCUg4RqZeVi5mory4Rf/1UiC1O4SnLW7274bHeNC9N8wQphpcBcT9w= X-Sasl-enc: 2Hc8hmCfuMpbhh9NUFtuhjLDwIdX4adR9iH1gFv+LPj5 1260618776 Received: from empiric.lon.incunabulum.net (cpc2-dals7-0-0-cust253.hari.cable.virginmedia.com [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 3372A4ACAB0; Sat, 12 Dec 2009 06:52:56 -0500 (EST) Message-ID: <4B238416.5070904@FreeBSD.org> Date: Sat, 12 Dec 2009 11:52:54 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.23 (X11/20091203) MIME-Version: 1.0 To: Alexander Motin References: <200912121037.nBCAbVeh048839@svn.freebsd.org> In-Reply-To: <200912121037.nBCAbVeh048839@svn.freebsd.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org Subject: Re: svn commit: r200432 - in stable/8: . contrib/top lib/libusb sbin/atacontrol sys/arm/mv sys/cam/ata sys/cam/scsi sys/conf sys/dev/ata sys/dev/ata/chipsets sys/powerpc/powermac sys/powerpc/psim tools... X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Dec 2009 11:52:58 -0000 Alexander Motin wrote: > Log: > MFC r200171, r200182, r200275, r200295, r200359: > Introduce ATA_CAM kernel option, turning ata(4) controller drivers into > cam(4) interface modules. When enabled, this option deprecates all ata(4) > peripheral drivers (ad, acd, ...) and interfaces and allows cam(4) drivers > (ada, cd, ...) and interfaces to be natively used instead. > Does this not mean there are now two AHCI drivers? i.e. ata(4) with ATA_CAM, and ahci(4). If so, which one is preferred? ahci(4) seems subjectively faster (I have not measured it), although it has a minor issue on my motherboard with ATI SB700 that it does not turn off the HDD activity led. I can see though that this could be difficult to roll out/deploy for default installations from universal media (-RELEASE disc1, memstick), different drivers yield different device names. In one embedded product build I've had to deal with, I use atapicam just to make sure the kernel expects to mount / from the same device, vs when it's booted from an attached USB CDROM drive. I'm using GEOM labels on my home systems to deal with this now, which was a little tricky to set up, but deals with the problem very nicely, as well as making it possible for me to swap disks between physical controllers. tunefs will return no error when the -L option is used when booted into single-user mode -- but if the fs is then mounted, the superblock change seems to be lost. In all other cases, rewriting the superblock is denied. Anyway thanks for all your hard work on this so far... cheers! BMS