HEADS UP: major CAM ATA MFC

Adam Vande More amvandemore at gmail.com
Thu Nov 19 06:13:15 UTC 2009


>
>  To enable ahci, put ahci_load="YES" into loader.conf.  Upon reboot, drives
> will be detected as adaX eg
>
> galacticdominator% dmesg |grep ada
> GEOM_STRIPE: Disk ada3 attached to stripe0.
> GEOM_STRIPE: Disk ada4 attached to stripe0.
>     adam at galacticdominator.com:/usr/obj/usr/src/sys/GENERIC amd64
> ada0 at ahcich0 bus 0 target 0 lun 0
> ada0: <ST31000528AS CC37> ATA/ATAPI-8 SATA 2.x device
>
> ada0: 300.000MB/s transfers
> ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
> ada0: Native Command Queueing enabled
> ada1 at ahcich1 bus 0 target 0 lun 0
> ada1: <ST3750330AS SD15> ATA/ATAPI-8 SATA 2.x device
>
> ada1: 300.000MB/s transfers
> ada1: 715404MB (1465149168 512 byte sectors: 16H 63S/T 16383C)
> ada1: Native Command Queueing enabled
> ada2 at ahcich3 bus 0 target 0 lun 0
> ada2: <ST3500320AS AD14> ATA/ATAPI-8 SATA 2.x device
>
> ada2: 300.000MB/s transfers
> ada2: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
> ada2: Native Command Queueing enabled
> ada3 at ahcich4 bus 0 target 0 lun 0
> ada3: <ST3500320AS AD14> ATA/ATAPI-8 SATA 2.x device
> ada3: 300.000MB/s transfers
> ada3: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
> ada3: Native Command Queueing enabled
> ada4 at ahcich5 bus 0 target 0 lun 0
> ada4: <ST3750330AS SD15> ATA/ATAPI-8 SATA 2.x device
> ada4: 300.000MB/s transfers
> ada4: 715404MB (1465149168 512 byte sectors: 16H 63S/T 16383C)
> ada4: Native Command Queueing enabled
>
> BIOS must be set to ahci controller mode, and obviously both disk and
> controller must support it.  This works fine off a GENERIC.
>
>
Also note this can change loader mappings, so be sure to edit fstab if
necessary.

-- 
Adam Vande More


More information about the freebsd-stable mailing list