From owner-freebsd-current@FreeBSD.ORG Tue Jul 10 22:35:32 2012 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 2E5FA106564A for ; Tue, 10 Jul 2012 22:35:32 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 08FF08FC15 for ; Tue, 10 Jul 2012 22:35:32 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.5/8.14.5) with ESMTP id q6AMZV0l096870; Tue, 10 Jul 2012 15:35:31 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.5/8.14.5/Submit) id q6AMZVEI096869; Tue, 10 Jul 2012 15:35:31 -0700 (PDT) (envelope-from sgk) Date: Tue, 10 Jul 2012 15:35:31 -0700 From: Steve Kargl To: Garrett Cooper , freebsd-current@freebsd.org Message-ID: <20120710223531.GA96724@troutmask.apl.washington.edu> References: <20120709225210.GA1021@mech-aslap239.men.bris.ac.uk> <20120709233857.GA12046@troutmask.apl.washington.edu> <20120710214138.GA1025@mech-aslap239.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120710214138.GA1025@mech-aslap239.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: ada,ata and cd? 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: Tue, 10 Jul 2012 22:35:32 -0000 On Tue, Jul 10, 2012 at 10:41:38PM +0100, Anton Shterenlikht wrote: > On Mon, Jul 09, 2012 at 05:14:01PM -0700, Garrett Cooper wrote: > > On Mon, Jul 9, 2012 at 4:38 PM, Steve Kargl > > wrote: > > > On Mon, Jul 09, 2012 at 11:52:10PM +0100, Anton Shterenlikht wrote: > > >> I'm on amd64 r238259. > > >> > > >> I'm still not clear on the /usr/src/UPDATING > > >> entry from 20110424 on replacing the ATA > > >> drivers by CAM drivers. > > >> > > >> If I *do not* have device ata in the kernel, > > >> I have neither /dev/cd* or /dev/acd*, > > >> even though I have in the kernel: > > >> > > >> options ATA_CAM # Handle legacy controllers with CAM > > >> options ATA_STATIC_ID # Static device numbering > > >> device ada > > >> device cd # CD > > >> > > > > > > man 4 cam > > > > > > I suspect that you are missing 'device scbus' in > > > your config file. > > > > device scbus # SCSI bus (required for ATA/SCSI) > > > > Probably. And as the fine print says... > > > > Note that to use CAM-based ATA kernel should include CAM devices > > scbus, pass, da (or explicitly ada), cd and optionally others. > > I do have all this in the kernel, see below. > Still if I don't have device ata, I get no cd: > Well, then, leave 'device ata' in your config file. Groucho: Doctor, it hurts when I do this. yada yada -- Steve