ada,ata and cd?

Steve Kargl sgk at troutmask.apl.washington.edu
Tue Jul 10 22:35:32 UTC 2012


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
> > <sgk at troutmask.apl.washington.edu> 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


More information about the freebsd-current mailing list