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. 24d6d17952SScott Long.\" 25d6d17952SScott Long.\" $FreeBSD$ 261f568583SEd Maste.Dd June 27, 2008 27d6d17952SScott Long.Dt AAC 4 28d6d17952SScott Long.Os 29d6d17952SScott Long.Sh NAME 30d6d17952SScott Long.Nm aac 31d6d17952SScott Long.Nd Adaptec AdvancedRAID Controller driver 32d6d17952SScott Long.Sh SYNOPSIS 33419e6e8dSChristian BruefferTo compile this driver into the kernel, 34419e6e8dSChristian Bruefferplace the following lines in your 35419e6e8dSChristian Bruefferkernel configuration file: 36419e6e8dSChristian Brueffer.Bd -ragged -offset indent 37d6d17952SScott Long.Cd device pci 38d6d17952SScott Long.Cd device aac 39c69c5ca3SScott Long.Cd device aacp 40419e6e8dSChristian Brueffer.Pp 41419e6e8dSChristian BruefferTo compile in debugging code: 42419e6e8dSChristian Brueffer.Cd options AAC_DEBUG=N 43419e6e8dSChristian Brueffer.Ed 44419e6e8dSChristian Brueffer.Pp 45419e6e8dSChristian BruefferAlternatively, to load the driver as a 46419e6e8dSChristian Brueffermodule at boot time, place the following line in 47419e6e8dSChristian Brueffer.Xr loader.conf 5 : 48419e6e8dSChristian Brueffer.Bd -literal -offset indent 49419e6e8dSChristian Bruefferaac_load="YES" 50419e6e8dSChristian Brueffer.Ed 51d6d17952SScott Long.Sh DESCRIPTION 52d6d17952SScott LongThe 53d6d17952SScott Long.Nm 54c69c5ca3SScott Longdriver provides support for the Adaptec AAC family of SCSI Ultra2, Ultra160, 55419e6e8dSChristian Bruefferand Ultra320, SATA and SAS RAID controllers. 56d6d17952SScott Long.Pp 57d6d17952SScott LongAccess to RAID containers is available via the 58d6d17952SScott Long.Pa /dev/aacd? 59d6d17952SScott Longdevice nodes. 602d30deddSScott LongThe 612d30deddSScott Long.Nm aacp 622d30deddSScott Longdevice enables the SCSI pass-thru interface and allows devices connected 633096e5d2SChristian Bruefferto the card such as CD-ROMs to be available via the CAM 642d30deddSScott Long.Xr scsi 4 652d30deddSScott Longsubsystem. 662d30deddSScott LongNote that not all cards allow this interface to be enabled. 67d6d17952SScott Long.Pp 68d6d17952SScott LongThe 69d6d17952SScott Long.Pa /dev/aac? 704aa620cdSScott Longdevice nodes provide access to the management interface of the controller. 713f756605SRuslan ErmilovOne node exists per installed card. 723f756605SRuslan ErmilovThe aliases 734aa620cdSScott Long.Pa /dev/afa? 744aa620cdSScott Longand 754aa620cdSScott Long.Pa /dev/hpn? 7682d693c3SMike Pritchardexist for compatibility with the Dell and HP versions of management tools, 772d30deddSScott Longrespectively. 78c69c5ca3SScott LongIf the kernel is compiled with the 79c69c5ca3SScott Long.Dv COMPAT_LINUX 80ace5be68SRuslan Ermilovoption, or the 81ace5be68SRuslan Ermilov.Pa aac_linux.ko 82ace5be68SRuslan Ermilovand 83ace5be68SRuslan Ermilov.Pa linux.ko 84ace5be68SRuslan Ermilovmodules are loaded, the 85c69c5ca3SScott LongLinux-compatible 86d6d17952SScott Long.Xr ioctl 2 87c69c5ca3SScott Longinterface for the management device will be enabled and will allow 88c69c5ca3SScott LongLinux-based management applications to control the card. 895d9a15cbSScott Long.Ss Tuning 903d04a9d7SScott LongThe read-only sysctl 913d04a9d7SScott Long.Va hw.aac.iosize_max 922057451dSSheldon Hearndefaults to 65536 and may be set at boot time to another value via 933d04a9d7SScott Long.Xr loader 8 . 943d04a9d7SScott LongThis value determines the maximum data transfer size allowed 952057451dSSheldon Hearnto/from an array. 962057451dSSheldon HearnSetting it higher will result in better performance, 972057451dSSheldon Hearnespecially for large sequential access patterns. 982057451dSSheldon Hearn.Em Beware : 992057451dSSheldon Hearninternal limitations 1002057451dSSheldon Hearnof the card limit this value to 64K for arrays with many members. 1012057451dSSheldon HearnWhile it may be safe to raise this value, this is done 1022057451dSSheldon Hearn.Em at the operator's own risk . 1032057451dSSheldon HearnNote also that 1042057451dSSheldon Hearnperformance peaks at a value of 96K, 1052057451dSSheldon Hearnand drops off dramatically at 128K, 1062057451dSSheldon Hearndue to other limitations of the card. 10769f9d7b1SSimon L. B. Nielsen.Sh HARDWARE 10869f9d7b1SSimon L. B. NielsenControllers supported by the 10969f9d7b1SSimon L. B. Nielsen.Nm 11069f9d7b1SSimon L. B. Nielsendriver include: 11169f9d7b1SSimon L. B. Nielsen.Pp 11269f9d7b1SSimon L. B. Nielsen.Bl -bullet -compact 11369f9d7b1SSimon L. B. Nielsen.It 11469f9d7b1SSimon L. B. NielsenAdaptec AAC-364 11569f9d7b1SSimon L. B. Nielsen.It 1161f568583SEd MasteAdaptec RAID 2045 1171f568583SEd Maste.It 1181f568583SEd MasteAdaptec RAID 2405 1191f568583SEd Maste.It 1201f568583SEd MasteAdaptec RAID 2445 1211f568583SEd Maste.It 1221f568583SEd MasteAdaptec RAID 2805 1231f568583SEd Maste.It 124686653a1SEd MasteAdaptec RAID 3085 125686653a1SEd Maste.It 126686653a1SEd MasteAdaptec RAID 31205 127686653a1SEd Maste.It 128686653a1SEd MasteAdaptec RAID 31605 129686653a1SEd Maste.It 130686653a1SEd MasteAdaptec RAID 5085 131686653a1SEd Maste.It 132686653a1SEd MasteAdaptec RAID 51205 133686653a1SEd Maste.It 134718b6516SEd MasteAdaptec RAID 51245 135718b6516SEd Maste.It 136686653a1SEd MasteAdaptec RAID 51605 137686653a1SEd Maste.It 138718b6516SEd MasteAdaptec RAID 51645 139718b6516SEd Maste.It 140718b6516SEd MasteAdaptec RAID 52445 141718b6516SEd Maste.It 142718b6516SEd MasteAdaptec RAID 5405 143718b6516SEd Maste.It 144686653a1SEd MasteAdaptec RAID 5445 145686653a1SEd Maste.It 146686653a1SEd MasteAdaptec RAID 5805 147686653a1SEd Maste.It 148afa3f6dfSEd MasteAdaptec SAS RAID 3405 149afa3f6dfSEd Maste.It 150afa3f6dfSEd MasteAdaptec SAS RAID 3805 151afa3f6dfSEd Maste.It 152419e6e8dSChristian BruefferAdaptec SAS RAID 4000SAS 153419e6e8dSChristian Brueffer.It 154419e6e8dSChristian BruefferAdaptec SAS RAID 4005SAS 155419e6e8dSChristian Brueffer.It 156419e6e8dSChristian BruefferAdaptec SAS RAID 4800SAS 157419e6e8dSChristian Brueffer.It 158419e6e8dSChristian BruefferAdaptec SAS RAID 4805SAS 159419e6e8dSChristian Brueffer.It 160419e6e8dSChristian BruefferAdaptec SATA RAID 2020SA ZCR 161419e6e8dSChristian Brueffer.It 162419e6e8dSChristian BruefferAdaptec SATA RAID 2025SA ZCR 163419e6e8dSChristian Brueffer.It 164419e6e8dSChristian BruefferAdaptec SATA RAID 2026ZCR 165419e6e8dSChristian Brueffer.It 166e0f104cdSChristian BruefferAdaptec SATA RAID 2410SA 167e0f104cdSChristian Brueffer.It 168419e6e8dSChristian BruefferAdaptec SATA RAID 2420SA 169419e6e8dSChristian Brueffer.It 170419e6e8dSChristian BruefferAdaptec SATA RAID 2610SA 171419e6e8dSChristian Brueffer.It 172419e6e8dSChristian BruefferAdaptec SATA RAID 2620SA 173419e6e8dSChristian Brueffer.It 174e0f104cdSChristian BruefferAdaptec SATA RAID 2810SA 175e0f104cdSChristian Brueffer.It 176419e6e8dSChristian BruefferAdaptec SATA RAID 2820SA 177419e6e8dSChristian Brueffer.It 178e0f104cdSChristian BruefferAdaptec SATA RAID 21610SA 179e0f104cdSChristian Brueffer.It 180419e6e8dSChristian BruefferAdaptec SCSI RAID 2020ZCR 181419e6e8dSChristian Brueffer.It 182419e6e8dSChristian BruefferAdaptec SCSI RAID 2025ZCR 183419e6e8dSChristian Brueffer.It 18469f9d7b1SSimon L. B. NielsenAdaptec SCSI RAID 2120S 18569f9d7b1SSimon L. B. Nielsen.It 1862d30deddSScott LongAdaptec SCSI RAID 2130S 1872d30deddSScott Long.It 1880836ce19SScott LongAdaptec SCSI RAID 2130SLP 1890836ce19SScott Long.It 1900862bca4SChristian BruefferAdaptec SCSI RAID 2230SLP 1910862bca4SChristian Brueffer.It 192419e6e8dSChristian BruefferAdaptec SCSI RAID 2200S 193419e6e8dSChristian Brueffer.It 194419e6e8dSChristian BruefferAdaptec SCSI RAID 2240S 195419e6e8dSChristian Brueffer.It 196419e6e8dSChristian BruefferAdaptec SCSI RAID 3230S 197419e6e8dSChristian Brueffer.It 198419e6e8dSChristian BruefferAdaptec SCSI RAID 3240S 199419e6e8dSChristian Brueffer.It 20069f9d7b1SSimon L. B. NielsenAdaptec SCSI RAID 5400S 20169f9d7b1SSimon L. B. Nielsen.It 20269f9d7b1SSimon L. B. NielsenDell CERC SATA RAID 2 20369f9d7b1SSimon L. B. Nielsen.It 20469f9d7b1SSimon L. B. NielsenDell PERC 2/Si 20569f9d7b1SSimon L. B. Nielsen.It 20669f9d7b1SSimon L. B. NielsenDell PERC 2/QC 20769f9d7b1SSimon L. B. Nielsen.It 20869f9d7b1SSimon L. B. NielsenDell PERC 3/Si 20969f9d7b1SSimon L. B. Nielsen.It 21069f9d7b1SSimon L. B. NielsenDell PERC 3/Di 21169f9d7b1SSimon L. B. Nielsen.It 21269f9d7b1SSimon L. B. NielsenDell PERC 320/DC 21369f9d7b1SSimon L. B. Nielsen.It 214419e6e8dSChristian BruefferHP ML110 G2 (Adaptec SATA RAID 2610SA) 215419e6e8dSChristian Brueffer.It 21669f9d7b1SSimon L. B. NielsenHP NetRAID 4M 217419e6e8dSChristian Brueffer.It 218419e6e8dSChristian BruefferIBM ServeRAID 8i 219419e6e8dSChristian Brueffer.It 2200bf113a6SChristian BruefferIBM ServeRAID 8k 2210bf113a6SChristian Brueffer.It 222686653a1SEd MasteIBM ServeRAID 8s 223686653a1SEd Maste.It 224686653a1SEd MasteICP RAID ICP5045BL 225686653a1SEd Maste.It 226686653a1SEd MasteICP RAID ICP5085BL 227686653a1SEd Maste.It 228686653a1SEd MasteICP RAID ICP5085SL 229686653a1SEd Maste.It 230686653a1SEd MasteICP RAID ICP5125BR 231686653a1SEd Maste.It 232686653a1SEd MasteICP RAID ICP5125SL 233686653a1SEd Maste.It 234686653a1SEd MasteICP RAID ICP5165BR 235686653a1SEd Maste.It 236686653a1SEd MasteICP RAID ICP5165SL 237686653a1SEd Maste.It 238686653a1SEd MasteICP RAID ICP5445SL 239686653a1SEd Maste.It 240686653a1SEd MasteICP RAID ICP5805BL 241686653a1SEd Maste.It 242686653a1SEd MasteICP RAID ICP5805SL 243686653a1SEd Maste.It 244419e6e8dSChristian BruefferICP ICP5085BR SAS RAID 245419e6e8dSChristian Brueffer.It 246419e6e8dSChristian BruefferICP ICP9085LI SAS RAID 247419e6e8dSChristian Brueffer.It 248419e6e8dSChristian BruefferICP ICP9047MA SATA RAID 249419e6e8dSChristian Brueffer.It 250686653a1SEd MasteICP ICP9067MA SATA RAID 251686653a1SEd Maste.It 252419e6e8dSChristian BruefferICP ICP9087MA SATA RAID 253419e6e8dSChristian Brueffer.It 254419e6e8dSChristian BruefferICP ICP9014RO SCSI RAID 255419e6e8dSChristian Brueffer.It 256419e6e8dSChristian BruefferICP ICP9024RO SCSI RAID 257419e6e8dSChristian Brueffer.It 258419e6e8dSChristian BruefferLegend S220 259419e6e8dSChristian Brueffer.It 260419e6e8dSChristian BruefferLegend S230 261718b6516SEd Maste.It 262718b6516SEd MasteSun STK RAID REM 263718b6516SEd Maste.It 264718b6516SEd MasteSun STK RAID EM 265718b6516SEd Maste.It 266718b6516SEd MasteSG-XPCIESAS-R-IN 267718b6516SEd Maste.It 268718b6516SEd MasteSG-XPCIESAS-R-EX 269718b6516SEd Maste.It 270718b6516SEd MasteAOC-USAS-S4i 271718b6516SEd Maste.It 272718b6516SEd MasteAOC-USAS-S8i 273718b6516SEd Maste.It 274718b6516SEd MasteAOC-USAS-S4iR 275718b6516SEd Maste.It 276718b6516SEd MasteAOC-USAS-S8iR 277718b6516SEd Maste.It 278718b6516SEd MasteAOC-USAS-S8i-LP 279718b6516SEd Maste.It 280718b6516SEd MasteAOC-USAS-S8iR-LP 28169f9d7b1SSimon L. B. Nielsen.El 2825d9a15cbSScott Long.Sh FILES 2835d9a15cbSScott Long.Bl -tag -width /boot/kernel/aac.ko -compact 2845d9a15cbSScott Long.It Pa /dev/aac? 2855d9a15cbSScott Longaac management interface 2865d9a15cbSScott Long.It Pa /dev/aacd? 2875d9a15cbSScott Longdisk/container interface 2885d9a15cbSScott Long.El 289d6d17952SScott Long.Sh DIAGNOSTICS 290d6d17952SScott LongCompiling with 291d6d17952SScott Long.Dv AAC_DEBUG 292d6d17952SScott Longset to a number between 0 and 3 293d6d17952SScott Longwill enable increasingly verbose debug messages. 294d6d17952SScott Long.Pp 295d6d17952SScott LongThe adapter can send status and alert messages asynchronously 2963f756605SRuslan Ermilovto the driver. 2973f756605SRuslan ErmilovThese messages are printed on the system console, 298d6d17952SScott Longand are also queued for retrieval by a management application. 299d6d17952SScott Long.Sh SEE ALSO 300d6d17952SScott Long.Xr kld 4 , 301d6d17952SScott Long.Xr linux 4 , 302c69c5ca3SScott Long.Xr scsi 4 , 3034c3ccf19SScott Long.Xr kldload 8 , 3044c3ccf19SScott Long.Xr loader 8 , 3055d9a15cbSScott Long.Xr sysctl 8 306d6d17952SScott Long.Sh HISTORY 307d6d17952SScott LongThe 308d6d17952SScott Long.Nm 309d6d17952SScott Longdriver first appeared in 3107fb45275SScott Long.Fx 4.3 . 311d6d17952SScott Long.Sh AUTHORS 312d6d17952SScott Long.An Mike Smith 313eddc45e7SJeroen Ruigrok van der Werven.Aq msmith@FreeBSD.org 314d6d17952SScott Long.An Scott Long 315eddc45e7SJeroen Ruigrok van der Werven.Aq scottl@FreeBSD.org 316d6d17952SScott Long.Sh BUGS 317c69c5ca3SScott LongThis driver is not compatible with Dell controllers that have version 1.x 318c69c5ca3SScott Longfirmware. 319a3484cc5SScott LongThe firmware version is the same as the kernel version printed in the BIOS 320a3484cc5SScott LongPOST and driver attach messages. 3217fb45275SScott Long.Pp 322d6d17952SScott LongThe controller is not actually paused on suspend/resume. 323