ada,ata and cd?

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Mon, 9 Jul 2012 23:52:10 +0100
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
Received on Mon Jul 09 2012 - 21:15:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:28 UTC