6.0-BETA4 changes numbering of atapicam devices

Thomas Quinot thomas at FreeBSD.ORG
Fri Sep 9 12:04:35 PDT 2005


* Claude Buisson, 2005-09-09 :

> acd0 -> cd0
> acd1 -> cd1

There is absolutely no notion of such mapping in ATAPI/CAM. The order
in which device numbers are assigned by the cd driver depends only on
CAM scan order. What ATAPI/CAM guarantees is that the master device
is target 0, and the slave is target 1:

> cd0 at ata1 bus 0 target 1 lun 0
                           ^
> cd1 at ata1 bus 0 target 0 lun 0
                           ^

The assignment of unit numbers by the cd driver is dependant on the
CAM scan order; you can force fixed numbering by wiring down the target
-> unit mapping in your hints file.

Thomas.



More information about the freebsd-current mailing list