Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2012 23:52:10 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-current@freebsd.org
Subject:   ada,ata and cd?
Message-ID:  <20120709225210.GA1021@mech-aslap239.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
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

If I then add device ata to the kernel,
then /dev/cd0 appears:

cd0 at ata0 bus 0 scbus1 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-861H 1.50> Removable CD-ROM SCSI-0 device
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: cd present [248633 x 2048 byte records]

Is that expected?

My understanding of the above /usr/src/UPDATING
entry is that device ata should not be needed.
Am I wrong?


# cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ada0s1b            none            swap    sw              0       0
/dev/ada0s1a            /               ufs     rw              1       1
/dev/cd0                /cdrom          cd9660  ro,noauto       0       0
/dev/da0s1              /mnt            msdosfs rw,noauto       0       0
#

Many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120709225210.GA1021>