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, 45d6d17952SScott Longand are most often found relabelled by Dell or Hewlett-Packard. 46d6d17952SScott LongSupported controllers include: 47d6d17952SScott Long.Bl -bullet 48d6d17952SScott Long.It 49d6d17952SScott LongAAC-364 50d6d17952SScott Long.It 51d6d17952SScott LongAAC-3642 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. 774aa620cdSScott LongOne node exists per installed card. The aliases 784aa620cdSScott Long.Pa /dev/afa? 794aa620cdSScott Longand 804aa620cdSScott Long.Pa /dev/hpn? 814aa620cdSScott Longexist for the Dell and HP flavors, respectively, and are required for 824aa620cdSScott Longthe CLI management utility available from these vendors to work. 83d6d17952SScott LongCompiling the driver with the 84d6d17952SScott Long.Dv AAC_COMPAT_LINUX 85d6d17952SScott Longoption enables the Linux-compatible 86d6d17952SScott Long.Xr ioctl 2 87d6d17952SScott Longinterface for the management device. 88d6d17952SScott LongThe 89d6d17952SScott Long.Xr ioctl 2 90d6d17952SScott Longcommand set is heavily tailored to existing linux applications. 91d6d17952SScott LongNative 92d6d17952SScott Long.Xr ioctl 2 93d6d17952SScott Longsupport is not present at this time. 94d6d17952SScott Long.Sh FILES 95d6d17952SScott Long.Bl -tag -width /boot/kernel/aac.ko -compact 96d6d17952SScott Long.It Pa /dev/aac? 97d6d17952SScott Longaac management interface 98d6d17952SScott Long.It Pa /dev/aacd? 99d6d17952SScott Longdisk/container interface 100d6d17952SScott Long.It Pa /boot/kernel/aac.ko 101d6d17952SScott Longaac loadable module 102d6d17952SScott Long.El 1033d04a9d7SScott Long.Sh TUNING 1043d04a9d7SScott LongThe read-only sysctl 1053d04a9d7SScott Long.Va hw.aac.iosize_max 1063d04a9d7SScott Longdefautls to 65536 and may be set at boot time to another value via 1073d04a9d7SScott Long.Xr loader 8 . 1083d04a9d7SScott LongThis value determines the maximum data transfer size allowed 1093d04a9d7SScott Longto/from an array. Setting it higher will result in better performance, 1103d04a9d7SScott Longespecially for large sequential access patterns. BEWARE: internal limitations 1113d04a9d7SScott Longof the card limit this value to 64K for arrays with many members. While it 1123d04a9d7SScott Longmay be safe to raise this value, do so AT YOUR OWN RISK. Note also that 1133d04a9d7SScott Longperformance peaks at a value of 96K, and drops off dramatically at 128K, due 1143d04a9d7SScott Longto other limitations of the card. 115d6d17952SScott Long.Sh DIAGNOSTICS 116d6d17952SScott LongCompiling with 117d6d17952SScott Long.Dv AAC_DEBUG 118d6d17952SScott Longset to a number between 0 and 3 119d6d17952SScott Longwill enable increasingly verbose debug messages. 120d6d17952SScott Long.Pp 121d6d17952SScott LongThe adapter can send status and alert messages asynchronously 122d6d17952SScott Longto the driver. These messages are printed on the system console, 123d6d17952SScott Longand are also queued for retrieval by a management application. 124d6d17952SScott Long.Sh SEE ALSO 125d6d17952SScott Long.Xr kld 4 , 126d6d17952SScott Long.Xr linux 4 , 127d6d17952SScott Long.Xr kldload 8 128d6d17952SScott Long.Sh HISTORY 129d6d17952SScott LongThe 130d6d17952SScott Long.Nm 131d6d17952SScott Longdriver first appeared in 1321b4d3f86SRuslan Ermilov.Fx 4.3 133d6d17952SScott Longand is 134d6d17952SScott Long.Ud 135d6d17952SScott Long.Sh AUTHORS 136d6d17952SScott Long.An Mike Smith 137eddc45e7SJeroen Ruigrok van der Werven.Aq msmith@FreeBSD.org 138d6d17952SScott Long.An Scott Long 139eddc45e7SJeroen Ruigrok van der Werven.Aq scottl@FreeBSD.org 140d6d17952SScott Long.Sh BUGS 141d6d17952SScott LongThis driver has not been tested on Alpha, though it should work. 142d6d17952SScott Long.Pp 143d6d17952SScott LongThe controller is not actually paused on suspend/resume. 144d6d17952SScott Long.Pp 145d6d17952SScott LongAdapter-initiated messages are not returned back to the controller, 146d6d17952SScott Longpossibly causing a resource leak on the controller. 147d6d17952SScott Long.Pp 148d6d17952SScott LongUnloading and reloading the driver as a kernel loadable module 149d6d17952SScott Longwithout rebooting the system is strongly discouraged. 150d6d17952SScott Long.Pp 151d6d17952SScott LongOnly the Linux-compatible 152d6d17952SScott Long.Xr ioctl 2 153d6d17952SScott Longinterface is implemented at this time. 154d6d17952SScott LongThis is not a bug, but native 155d6d17952SScott Long.Xr ioctl 2 156d6d17952SScott Longsupport is desirable. 157