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$ 261b4d3f86SRuslan Ermilov.Dd February 22, 2001 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 33d6d17952SScott Long.Cd options AAC_COMPAT_LINUX 34d6d17952SScott Long.Cd options AAC_DEBUG=N 35d6d17952SScott Long.Cd device pci 36d6d17952SScott Long.Cd device aac 37d6d17952SScott Long.Sh DESCRIPTION 38d6d17952SScott LongThe 39d6d17952SScott Long.Nm 40d6d17952SScott Longdriver provides support for the Adaptec AAC family SCSI Ultra2 and Ultra160 41d6d17952SScott LongRAID controllers. 42d6d17952SScott LongThese controllers support RAID 0, 1, 5, 10, and volume sets. 43d6d17952SScott LongThey have four channels in the add-in version 44d6d17952SScott Longor 1-2 channels in the motherboard integrated version, 45e0723ac9SDima Dorfmanand are most often found relabeled by Dell or Hewlett-Packard. 46d6d17952SScott LongSupported controllers include: 47d6d17952SScott Long.Bl -bullet 48d6d17952SScott Long.It 49d6d17952SScott LongAAC-364 50d6d17952SScott Long.It 5136e0bf6eSScott LongAdaptec SCSI RAID 5400S 52d6d17952SScott Long.It 53d6d17952SScott LongHP NetRAID 4M 54d6d17952SScott Long.It 55d6d17952SScott LongDell PERC 2/Si 56d6d17952SScott Long.It 57d6d17952SScott LongDell PERC 2/QC 58d6d17952SScott Long.It 59d6d17952SScott LongDell PERC 3/Si 60d6d17952SScott Long.It 61d6d17952SScott LongDell PERC 3/Di 62d6d17952SScott Long.Pp 63d6d17952SScott Long.El 64d6d17952SScott LongAccess to RAID containers is available via the 65d6d17952SScott Long.Pa /dev/aacd? 66d6d17952SScott Longdevice nodes. 67d6d17952SScott LongIndividual drives cannot be accessed 68d6d17952SScott Longunless they are part of a container or volume set, 69d6d17952SScott Longand non-fixed disks cannot be accessed. 70d6d17952SScott LongContainers can be configured by using 71d6d17952SScott Longeither the on-board BIOS utility of the card, 72d6d17952SScott Longor a Linux-based management application. 73d6d17952SScott Long.Pp 74d6d17952SScott LongThe 75d6d17952SScott Long.Pa /dev/aac? 764aa620cdSScott Longdevice nodes provide access to the management interface of the controller. 773f756605SRuslan ErmilovOne node exists per installed card. 783f756605SRuslan ErmilovThe aliases 794aa620cdSScott Long.Pa /dev/afa? 804aa620cdSScott Longand 814aa620cdSScott Long.Pa /dev/hpn? 824aa620cdSScott Longexist for the Dell and HP flavors, respectively, and are required for 834aa620cdSScott Longthe CLI management utility available from these vendors to work. 84d6d17952SScott LongCompiling the driver with the 85d6d17952SScott Long.Dv AAC_COMPAT_LINUX 86d6d17952SScott Longoption enables the Linux-compatible 87d6d17952SScott Long.Xr ioctl 2 88d6d17952SScott Longinterface for the management device. 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. 1075d9a15cbSScott Long.Sh FILES 1085d9a15cbSScott Long.Bl -tag -width /boot/kernel/aac.ko -compact 1095d9a15cbSScott Long.It Pa /dev/aac? 1105d9a15cbSScott Longaac management interface 1115d9a15cbSScott Long.It Pa /dev/aacd? 1125d9a15cbSScott Longdisk/container interface 1135d9a15cbSScott Long.It Pa /boot/kernel/aac.ko 1145d9a15cbSScott Longaac loadable module 1155d9a15cbSScott Long.El 116d6d17952SScott Long.Sh DIAGNOSTICS 117d6d17952SScott LongCompiling with 118d6d17952SScott Long.Dv AAC_DEBUG 119d6d17952SScott Longset to a number between 0 and 3 120d6d17952SScott Longwill enable increasingly verbose debug messages. 121d6d17952SScott Long.Pp 122d6d17952SScott LongThe adapter can send status and alert messages asynchronously 1233f756605SRuslan Ermilovto the driver. 1243f756605SRuslan ErmilovThese messages are printed on the system console, 125d6d17952SScott Longand are also queued for retrieval by a management application. 126d6d17952SScott Long.Sh SEE ALSO 127d6d17952SScott Long.Xr kld 4 , 128d6d17952SScott Long.Xr linux 4 , 1294c3ccf19SScott Long.Xr kldload 8 , 1304c3ccf19SScott Long.Xr loader 8 , 1315d9a15cbSScott Long.Xr sysctl 8 132d6d17952SScott Long.Sh HISTORY 133d6d17952SScott LongThe 134d6d17952SScott Long.Nm 135d6d17952SScott Longdriver first appeared in 1361b4d3f86SRuslan Ermilov.Fx 4.3 137d6d17952SScott Longand is 138d6d17952SScott Long.Ud 139d6d17952SScott Long.Sh AUTHORS 140d6d17952SScott Long.An Mike Smith 141eddc45e7SJeroen Ruigrok van der Werven.Aq msmith@FreeBSD.org 142d6d17952SScott Long.An Scott Long 143eddc45e7SJeroen Ruigrok van der Werven.Aq scottl@FreeBSD.org 144d6d17952SScott Long.Sh BUGS 14536e0bf6eSScott LongThis driver will not work on systems with more than 4GB of memory. 146d6d17952SScott Long.Pp 147d6d17952SScott LongThe controller is not actually paused on suspend/resume. 148d6d17952SScott Long.Pp 14936e0bf6eSScott LongUnloading driver is not supported at this time. 150d6d17952SScott Long.Pp 151