Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2009 00:13:14 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: HEADS UP: major CAM ATA MFC
Message-ID:  <6201873e0911182213k384960e2tcc6acb592e9d78a7@mail.gmail.com>
In-Reply-To: <6201873e0911182211o17368cc4p2b4cfc0d702cb203@mail.gmail.com>
References:  <4B03322A.2080608@FreeBSD.org> <4B038E75.1010501@rdtc.ru> <20091118061726.GA1675@icarus.home.lan> <4B04B908.1020505@rdtc.ru> <20091119055025.GA30911@icarus.home.lan> <6201873e0911182211o17368cc4p2b4cfc0d702cb203@mail.gmail.com>

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



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