1d6d17952SScott Long.\" Copyright (c) 2000 Scott Long 2d6d17952SScott Long.\" All rights reserved. 3d6d17952SScott Long.\" 4d6d17952SScott Long.\" Redistribution and use in source and binary forms, with or without 5d6d17952SScott Long.\" modification, are permitted provided that the following conditions 6d6d17952SScott Long.\" are met: 7d6d17952SScott Long.\" 1. Redistributions of source code must retain the above copyright 8d6d17952SScott Long.\" notice, this list of conditions and the following disclaimer. 9d6d17952SScott Long.\" 2. Redistributions in binary form must reproduce the above copyright 10d6d17952SScott Long.\" notice, this list of conditions and the following disclaimer in the 11d6d17952SScott Long.\" documentation and/or other materials provided with the distribution. 12d6d17952SScott Long.\" 13d6d17952SScott Long.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14d6d17952SScott Long.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15d6d17952SScott Long.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16d6d17952SScott Long.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17d6d17952SScott Long.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18d6d17952SScott Long.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19d6d17952SScott Long.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20d6d17952SScott Long.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21d6d17952SScott Long.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22d6d17952SScott Long.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23d6d17952SScott Long.\" SUCH DAMAGE. 2435ea6959SJung-uk Kim.Dd July 10, 2009 25d6d17952SScott Long.Dt AAC 4 26d6d17952SScott Long.Os 27d6d17952SScott Long.Sh NAME 28d6d17952SScott Long.Nm aac 29d6d17952SScott Long.Nd Adaptec AdvancedRAID Controller driver 30d6d17952SScott Long.Sh SYNOPSIS 31419e6e8dSChristian BruefferTo compile this driver into the kernel, 32419e6e8dSChristian Bruefferplace the following lines in your 33419e6e8dSChristian Bruefferkernel configuration file: 34419e6e8dSChristian Brueffer.Bd -ragged -offset indent 35d6d17952SScott Long.Cd device pci 36d6d17952SScott Long.Cd device aac 37c69c5ca3SScott Long.Cd device aacp 38419e6e8dSChristian Brueffer.Pp 39419e6e8dSChristian BruefferTo compile in debugging code: 40419e6e8dSChristian Brueffer.Cd options AAC_DEBUG=N 41419e6e8dSChristian Brueffer.Ed 42419e6e8dSChristian Brueffer.Pp 43419e6e8dSChristian BruefferAlternatively, to load the driver as a 44419e6e8dSChristian Brueffermodule at boot time, place the following line in 45419e6e8dSChristian Brueffer.Xr loader.conf 5 : 46419e6e8dSChristian Brueffer.Bd -literal -offset indent 47419e6e8dSChristian Bruefferaac_load="YES" 48419e6e8dSChristian Brueffer.Ed 49d6d17952SScott Long.Sh DESCRIPTION 50d6d17952SScott LongThe 51d6d17952SScott Long.Nm 52c69c5ca3SScott Longdriver provides support for the Adaptec AAC family of SCSI Ultra2, Ultra160, 53419e6e8dSChristian Bruefferand Ultra320, SATA and SAS RAID controllers. 54d6d17952SScott Long.Pp 55d6d17952SScott LongAccess to RAID containers is available via the 56d6d17952SScott Long.Pa /dev/aacd? 57d6d17952SScott Longdevice nodes. 582d30deddSScott LongThe 592d30deddSScott Long.Nm aacp 602d30deddSScott Longdevice enables the SCSI pass-thru interface and allows devices connected 613096e5d2SChristian Bruefferto the card such as CD-ROMs to be available via the CAM 622d30deddSScott Long.Xr scsi 4 632d30deddSScott Longsubsystem. 642d30deddSScott LongNote that not all cards allow this interface to be enabled. 65d6d17952SScott Long.Pp 66d6d17952SScott LongThe 67d6d17952SScott Long.Pa /dev/aac? 684aa620cdSScott Longdevice nodes provide access to the management interface of the controller. 693f756605SRuslan ErmilovOne node exists per installed card. 703f756605SRuslan ErmilovThe aliases 714aa620cdSScott Long.Pa /dev/afa? 724aa620cdSScott Longand 734aa620cdSScott Long.Pa /dev/hpn? 7482d693c3SMike Pritchardexist for compatibility with the Dell and HP versions of management tools, 752d30deddSScott Longrespectively. 76*e013e369SDmitry ChaginIf the 77ace5be68SRuslan Ermilov.Pa aac_linux.ko 78ace5be68SRuslan Ermilovand 79ace5be68SRuslan Ermilov.Pa linux.ko 80ace5be68SRuslan Ermilovmodules are loaded, the 81c69c5ca3SScott LongLinux-compatible 82d6d17952SScott Long.Xr ioctl 2 83c69c5ca3SScott Longinterface for the management device will be enabled and will allow 84c69c5ca3SScott LongLinux-based management applications to control the card. 8569f9d7b1SSimon L. B. Nielsen.Sh HARDWARE 8669f9d7b1SSimon L. B. NielsenControllers supported by the 8769f9d7b1SSimon L. B. Nielsen.Nm 8869f9d7b1SSimon L. B. Nielsendriver include: 8969f9d7b1SSimon L. B. Nielsen.Pp 9069f9d7b1SSimon L. B. Nielsen.Bl -bullet -compact 9169f9d7b1SSimon L. B. Nielsen.It 9269f9d7b1SSimon L. B. NielsenAdaptec AAC-364 9369f9d7b1SSimon L. B. Nielsen.It 941f568583SEd MasteAdaptec RAID 2045 951f568583SEd Maste.It 961f568583SEd MasteAdaptec RAID 2405 971f568583SEd Maste.It 981f568583SEd MasteAdaptec RAID 2445 991f568583SEd Maste.It 1001f568583SEd MasteAdaptec RAID 2805 1011f568583SEd Maste.It 102686653a1SEd MasteAdaptec RAID 3085 103686653a1SEd Maste.It 104686653a1SEd MasteAdaptec RAID 31205 105686653a1SEd Maste.It 106686653a1SEd MasteAdaptec RAID 31605 107686653a1SEd Maste.It 108686653a1SEd MasteAdaptec RAID 5085 109686653a1SEd Maste.It 110686653a1SEd MasteAdaptec RAID 51205 111686653a1SEd Maste.It 112718b6516SEd MasteAdaptec RAID 51245 113718b6516SEd Maste.It 114686653a1SEd MasteAdaptec RAID 51605 115686653a1SEd Maste.It 116718b6516SEd MasteAdaptec RAID 51645 117718b6516SEd Maste.It 118718b6516SEd MasteAdaptec RAID 52445 119718b6516SEd Maste.It 120718b6516SEd MasteAdaptec RAID 5405 121718b6516SEd Maste.It 122686653a1SEd MasteAdaptec RAID 5445 123686653a1SEd Maste.It 124686653a1SEd MasteAdaptec RAID 5805 125686653a1SEd Maste.It 126afa3f6dfSEd MasteAdaptec SAS RAID 3405 127afa3f6dfSEd Maste.It 128afa3f6dfSEd MasteAdaptec SAS RAID 3805 129afa3f6dfSEd Maste.It 130419e6e8dSChristian BruefferAdaptec SAS RAID 4000SAS 131419e6e8dSChristian Brueffer.It 132419e6e8dSChristian BruefferAdaptec SAS RAID 4005SAS 133419e6e8dSChristian Brueffer.It 134419e6e8dSChristian BruefferAdaptec SAS RAID 4800SAS 135419e6e8dSChristian Brueffer.It 136419e6e8dSChristian BruefferAdaptec SAS RAID 4805SAS 137419e6e8dSChristian Brueffer.It 138419e6e8dSChristian BruefferAdaptec SATA RAID 2020SA ZCR 139419e6e8dSChristian Brueffer.It 140419e6e8dSChristian BruefferAdaptec SATA RAID 2025SA ZCR 141419e6e8dSChristian Brueffer.It 142419e6e8dSChristian BruefferAdaptec SATA RAID 2026ZCR 143419e6e8dSChristian Brueffer.It 144e0f104cdSChristian BruefferAdaptec SATA RAID 2410SA 145e0f104cdSChristian Brueffer.It 146419e6e8dSChristian BruefferAdaptec SATA RAID 2420SA 147419e6e8dSChristian Brueffer.It 148419e6e8dSChristian BruefferAdaptec SATA RAID 2610SA 149419e6e8dSChristian Brueffer.It 150419e6e8dSChristian BruefferAdaptec SATA RAID 2620SA 151419e6e8dSChristian Brueffer.It 152e0f104cdSChristian BruefferAdaptec SATA RAID 2810SA 153e0f104cdSChristian Brueffer.It 154419e6e8dSChristian BruefferAdaptec SATA RAID 2820SA 155419e6e8dSChristian Brueffer.It 156e0f104cdSChristian BruefferAdaptec SATA RAID 21610SA 157e0f104cdSChristian Brueffer.It 158419e6e8dSChristian BruefferAdaptec SCSI RAID 2020ZCR 159419e6e8dSChristian Brueffer.It 160419e6e8dSChristian BruefferAdaptec SCSI RAID 2025ZCR 161419e6e8dSChristian Brueffer.It 16269f9d7b1SSimon L. B. NielsenAdaptec SCSI RAID 2120S 16369f9d7b1SSimon L. B. Nielsen.It 1642d30deddSScott LongAdaptec SCSI RAID 2130S 1652d30deddSScott Long.It 1660836ce19SScott LongAdaptec SCSI RAID 2130SLP 1670836ce19SScott Long.It 1680862bca4SChristian BruefferAdaptec SCSI RAID 2230SLP 1690862bca4SChristian Brueffer.It 170419e6e8dSChristian BruefferAdaptec SCSI RAID 2200S 171419e6e8dSChristian Brueffer.It 172419e6e8dSChristian BruefferAdaptec SCSI RAID 2240S 173419e6e8dSChristian Brueffer.It 174419e6e8dSChristian BruefferAdaptec SCSI RAID 3230S 175419e6e8dSChristian Brueffer.It 176419e6e8dSChristian BruefferAdaptec SCSI RAID 3240S 177419e6e8dSChristian Brueffer.It 17869f9d7b1SSimon L. B. NielsenAdaptec SCSI RAID 5400S 17969f9d7b1SSimon L. B. Nielsen.It 18069f9d7b1SSimon L. B. NielsenDell CERC SATA RAID 2 18169f9d7b1SSimon L. B. Nielsen.It 18269f9d7b1SSimon L. B. NielsenDell PERC 2/Si 18369f9d7b1SSimon L. B. Nielsen.It 18469f9d7b1SSimon L. B. NielsenDell PERC 2/QC 18569f9d7b1SSimon L. B. Nielsen.It 18669f9d7b1SSimon L. B. NielsenDell PERC 3/Si 18769f9d7b1SSimon L. B. Nielsen.It 18869f9d7b1SSimon L. B. NielsenDell PERC 3/Di 18969f9d7b1SSimon L. B. Nielsen.It 19069f9d7b1SSimon L. B. NielsenDell PERC 320/DC 19169f9d7b1SSimon L. B. Nielsen.It 192419e6e8dSChristian BruefferHP ML110 G2 (Adaptec SATA RAID 2610SA) 193419e6e8dSChristian Brueffer.It 19469f9d7b1SSimon L. B. NielsenHP NetRAID 4M 195419e6e8dSChristian Brueffer.It 196419e6e8dSChristian BruefferIBM ServeRAID 8i 197419e6e8dSChristian Brueffer.It 1980bf113a6SChristian BruefferIBM ServeRAID 8k 1990bf113a6SChristian Brueffer.It 200686653a1SEd MasteIBM ServeRAID 8s 201686653a1SEd Maste.It 202686653a1SEd MasteICP RAID ICP5045BL 203686653a1SEd Maste.It 204686653a1SEd MasteICP RAID ICP5085BL 205686653a1SEd Maste.It 206686653a1SEd MasteICP RAID ICP5085SL 207686653a1SEd Maste.It 208686653a1SEd MasteICP RAID ICP5125BR 209686653a1SEd Maste.It 210686653a1SEd MasteICP RAID ICP5125SL 211686653a1SEd Maste.It 212686653a1SEd MasteICP RAID ICP5165BR 213686653a1SEd Maste.It 214686653a1SEd MasteICP RAID ICP5165SL 215686653a1SEd Maste.It 216686653a1SEd MasteICP RAID ICP5445SL 217686653a1SEd Maste.It 218686653a1SEd MasteICP RAID ICP5805BL 219686653a1SEd Maste.It 220686653a1SEd MasteICP RAID ICP5805SL 221686653a1SEd Maste.It 222419e6e8dSChristian BruefferICP ICP5085BR SAS RAID 223419e6e8dSChristian Brueffer.It 224419e6e8dSChristian BruefferICP ICP9085LI SAS RAID 225419e6e8dSChristian Brueffer.It 226419e6e8dSChristian BruefferICP ICP9047MA SATA RAID 227419e6e8dSChristian Brueffer.It 228686653a1SEd MasteICP ICP9067MA SATA RAID 229686653a1SEd Maste.It 230419e6e8dSChristian BruefferICP ICP9087MA SATA RAID 231419e6e8dSChristian Brueffer.It 232419e6e8dSChristian BruefferICP ICP9014RO SCSI RAID 233419e6e8dSChristian Brueffer.It 234419e6e8dSChristian BruefferICP ICP9024RO SCSI RAID 235419e6e8dSChristian Brueffer.It 236419e6e8dSChristian BruefferLegend S220 237419e6e8dSChristian Brueffer.It 238419e6e8dSChristian BruefferLegend S230 239718b6516SEd Maste.It 240718b6516SEd MasteSun STK RAID REM 241718b6516SEd Maste.It 242718b6516SEd MasteSun STK RAID EM 243718b6516SEd Maste.It 244718b6516SEd MasteSG-XPCIESAS-R-IN 245718b6516SEd Maste.It 246718b6516SEd MasteSG-XPCIESAS-R-EX 247718b6516SEd Maste.It 248718b6516SEd MasteAOC-USAS-S4i 249718b6516SEd Maste.It 250718b6516SEd MasteAOC-USAS-S8i 251718b6516SEd Maste.It 252718b6516SEd MasteAOC-USAS-S4iR 253718b6516SEd Maste.It 254718b6516SEd MasteAOC-USAS-S8iR 255718b6516SEd Maste.It 256718b6516SEd MasteAOC-USAS-S8i-LP 257718b6516SEd Maste.It 258718b6516SEd MasteAOC-USAS-S8iR-LP 25969f9d7b1SSimon L. B. Nielsen.El 2605d9a15cbSScott Long.Sh FILES 2615d9a15cbSScott Long.Bl -tag -width /boot/kernel/aac.ko -compact 2625d9a15cbSScott Long.It Pa /dev/aac? 2635d9a15cbSScott Longaac management interface 2645d9a15cbSScott Long.It Pa /dev/aacd? 2655d9a15cbSScott Longdisk/container interface 2665d9a15cbSScott Long.El 267d6d17952SScott Long.Sh DIAGNOSTICS 268d6d17952SScott LongCompiling with 269d6d17952SScott Long.Dv AAC_DEBUG 270d6d17952SScott Longset to a number between 0 and 3 271d6d17952SScott Longwill enable increasingly verbose debug messages. 272d6d17952SScott Long.Pp 273d6d17952SScott LongThe adapter can send status and alert messages asynchronously 2743f756605SRuslan Ermilovto the driver. 2753f756605SRuslan ErmilovThese messages are printed on the system console, 276d6d17952SScott Longand are also queued for retrieval by a management application. 277d6d17952SScott Long.Sh SEE ALSO 278d6d17952SScott Long.Xr kld 4 , 279d6d17952SScott Long.Xr linux 4 , 280c69c5ca3SScott Long.Xr scsi 4 , 28135ea6959SJung-uk Kim.Xr kldload 8 282d6d17952SScott Long.Sh HISTORY 283d6d17952SScott LongThe 284d6d17952SScott Long.Nm 285d6d17952SScott Longdriver first appeared in 2867fb45275SScott Long.Fx 4.3 . 287d6d17952SScott Long.Sh AUTHORS 2886c899950SBaptiste Daroussin.An Mike Smith Aq Mt msmith@FreeBSD.org 2896c899950SBaptiste Daroussin.An Scott Long Aq Mt scottl@FreeBSD.org 290d6d17952SScott Long.Sh BUGS 291c69c5ca3SScott LongThis driver is not compatible with Dell controllers that have version 1.x 292c69c5ca3SScott Longfirmware. 293a3484cc5SScott LongThe firmware version is the same as the kernel version printed in the BIOS 294a3484cc5SScott LongPOST and driver attach messages. 2957fb45275SScott Long.Pp 296d6d17952SScott LongThe controller is not actually paused on suspend/resume. 297