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$ 260bf113a6SChristian Brueffer.Dd November 3, 2006 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? 762d30deddSScott Longexist for compatibilty 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 116419e6e8dSChristian BruefferAdaptec SAS RAID 4000SAS 117419e6e8dSChristian Brueffer.It 118419e6e8dSChristian BruefferAdaptec SAS RAID 4005SAS 119419e6e8dSChristian Brueffer.It 120419e6e8dSChristian BruefferAdaptec SAS RAID 4800SAS 121419e6e8dSChristian Brueffer.It 122419e6e8dSChristian BruefferAdaptec SAS RAID 4805SAS 123419e6e8dSChristian Brueffer.It 124419e6e8dSChristian BruefferAdaptec SATA RAID 2020SA ZCR 125419e6e8dSChristian Brueffer.It 126419e6e8dSChristian BruefferAdaptec SATA RAID 2025SA ZCR 127419e6e8dSChristian Brueffer.It 128419e6e8dSChristian BruefferAdaptec SATA RAID 2026ZCR 129419e6e8dSChristian Brueffer.It 130e0f104cdSChristian BruefferAdaptec SATA RAID 2410SA 131e0f104cdSChristian Brueffer.It 132419e6e8dSChristian BruefferAdaptec SATA RAID 2420SA 133419e6e8dSChristian Brueffer.It 134419e6e8dSChristian BruefferAdaptec SATA RAID 2610SA 135419e6e8dSChristian Brueffer.It 136419e6e8dSChristian BruefferAdaptec SATA RAID 2620SA 137419e6e8dSChristian Brueffer.It 138e0f104cdSChristian BruefferAdaptec SATA RAID 2810SA 139e0f104cdSChristian Brueffer.It 140419e6e8dSChristian BruefferAdaptec SATA RAID 2820SA 141419e6e8dSChristian Brueffer.It 142e0f104cdSChristian BruefferAdaptec SATA RAID 21610SA 143e0f104cdSChristian Brueffer.It 144419e6e8dSChristian BruefferAdaptec SCSI RAID 2020ZCR 145419e6e8dSChristian Brueffer.It 146419e6e8dSChristian BruefferAdaptec SCSI RAID 2025ZCR 147419e6e8dSChristian Brueffer.It 14869f9d7b1SSimon L. B. NielsenAdaptec SCSI RAID 2120S 14969f9d7b1SSimon L. B. Nielsen.It 1502d30deddSScott LongAdaptec SCSI RAID 2130S 1512d30deddSScott Long.It 1520836ce19SScott LongAdaptec SCSI RAID 2130SLP 1530836ce19SScott Long.It 1540862bca4SChristian BruefferAdaptec SCSI RAID 2230SLP 1550862bca4SChristian Brueffer.It 156419e6e8dSChristian BruefferAdaptec SCSI RAID 2200S 157419e6e8dSChristian Brueffer.It 158419e6e8dSChristian BruefferAdaptec SCSI RAID 2240S 159419e6e8dSChristian Brueffer.It 160419e6e8dSChristian BruefferAdaptec SCSI RAID 3230S 161419e6e8dSChristian Brueffer.It 162419e6e8dSChristian BruefferAdaptec SCSI RAID 3240S 163419e6e8dSChristian Brueffer.It 16469f9d7b1SSimon L. B. NielsenAdaptec SCSI RAID 5400S 16569f9d7b1SSimon L. B. Nielsen.It 16669f9d7b1SSimon L. B. NielsenDell CERC SATA RAID 2 16769f9d7b1SSimon L. B. Nielsen.It 16869f9d7b1SSimon L. B. NielsenDell PERC 2/Si 16969f9d7b1SSimon L. B. Nielsen.It 17069f9d7b1SSimon L. B. NielsenDell PERC 2/QC 17169f9d7b1SSimon L. B. Nielsen.It 17269f9d7b1SSimon L. B. NielsenDell PERC 3/Si 17369f9d7b1SSimon L. B. Nielsen.It 17469f9d7b1SSimon L. B. NielsenDell PERC 3/Di 17569f9d7b1SSimon L. B. Nielsen.It 17669f9d7b1SSimon L. B. NielsenDell PERC 320/DC 17769f9d7b1SSimon L. B. Nielsen.It 178419e6e8dSChristian BruefferHP ML110 G2 (Adaptec SATA RAID 2610SA) 179419e6e8dSChristian Brueffer.It 18069f9d7b1SSimon L. B. NielsenHP NetRAID 4M 181419e6e8dSChristian Brueffer.It 182419e6e8dSChristian BruefferIBM ServeRAID 8i 183419e6e8dSChristian Brueffer.It 1840bf113a6SChristian BruefferIBM ServeRAID 8k 1850bf113a6SChristian Brueffer.It 186419e6e8dSChristian BruefferICP ICP5085BR SAS RAID 187419e6e8dSChristian Brueffer.It 188419e6e8dSChristian BruefferICP ICP9085LI SAS RAID 189419e6e8dSChristian Brueffer.It 190419e6e8dSChristian BruefferICP ICP9047MA SATA RAID 191419e6e8dSChristian Brueffer.It 192419e6e8dSChristian BruefferICP ICP9087MA SATA RAID 193419e6e8dSChristian Brueffer.It 194419e6e8dSChristian BruefferICP ICP9014RO SCSI RAID 195419e6e8dSChristian Brueffer.It 196419e6e8dSChristian BruefferICP ICP9024RO SCSI RAID 197419e6e8dSChristian Brueffer.It 198419e6e8dSChristian BruefferLegend S220 199419e6e8dSChristian Brueffer.It 200419e6e8dSChristian BruefferLegend S230 20169f9d7b1SSimon L. B. Nielsen.El 2025d9a15cbSScott Long.Sh FILES 2035d9a15cbSScott Long.Bl -tag -width /boot/kernel/aac.ko -compact 2045d9a15cbSScott Long.It Pa /dev/aac? 2055d9a15cbSScott Longaac management interface 2065d9a15cbSScott Long.It Pa /dev/aacd? 2075d9a15cbSScott Longdisk/container interface 2085d9a15cbSScott Long.El 209d6d17952SScott Long.Sh DIAGNOSTICS 210d6d17952SScott LongCompiling with 211d6d17952SScott Long.Dv AAC_DEBUG 212d6d17952SScott Longset to a number between 0 and 3 213d6d17952SScott Longwill enable increasingly verbose debug messages. 214d6d17952SScott Long.Pp 215d6d17952SScott LongThe adapter can send status and alert messages asynchronously 2163f756605SRuslan Ermilovto the driver. 2173f756605SRuslan ErmilovThese messages are printed on the system console, 218d6d17952SScott Longand are also queued for retrieval by a management application. 219d6d17952SScott Long.Sh SEE ALSO 220d6d17952SScott Long.Xr kld 4 , 221d6d17952SScott Long.Xr linux 4 , 222c69c5ca3SScott Long.Xr scsi 4 , 2234c3ccf19SScott Long.Xr kldload 8 , 2244c3ccf19SScott Long.Xr loader 8 , 2255d9a15cbSScott Long.Xr sysctl 8 226d6d17952SScott Long.Sh HISTORY 227d6d17952SScott LongThe 228d6d17952SScott Long.Nm 229d6d17952SScott Longdriver first appeared in 2307fb45275SScott Long.Fx 4.3 . 231d6d17952SScott Long.Sh AUTHORS 232d6d17952SScott Long.An Mike Smith 233eddc45e7SJeroen Ruigrok van der Werven.Aq msmith@FreeBSD.org 234d6d17952SScott Long.An Scott Long 235eddc45e7SJeroen Ruigrok van der Werven.Aq scottl@FreeBSD.org 236d6d17952SScott Long.Sh BUGS 237c69c5ca3SScott LongThis driver is not compatible with Dell controllers that have version 1.x 238c69c5ca3SScott Longfirmware. 239a3484cc5SScott LongThe firmware version is the same as the kernel version printed in the BIOS 240a3484cc5SScott LongPOST and driver attach messages. 2417fb45275SScott Long.Pp 242d6d17952SScott LongThe controller is not actually paused on suspend/resume. 243