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$ 26d6d17952SScott Long.Dd September 24, 2000 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? 76d6d17952SScott Longdevice nodes provides access to the management interface of the controller. 77d6d17952SScott LongOne node exists per installed card. 78d6d17952SScott LongCompiling the driver with the 79d6d17952SScott Long.Dv AAC_COMPAT_LINUX 80d6d17952SScott Longoption enables the Linux-compatible 81d6d17952SScott Long.Xr ioctl 2 82d6d17952SScott Longinterface for the management device. 83d6d17952SScott LongThe 84d6d17952SScott Long.Xr ioctl 2 85d6d17952SScott Longcommand set is heavily tailored to existing linux applications. 86d6d17952SScott LongNative 87d6d17952SScott Long.Xr ioctl 2 88d6d17952SScott Longsupport is not present at this time. 89d6d17952SScott Long.Sh FILES 90d6d17952SScott Long.Bl -tag -width /boot/kernel/aac.ko -compact 91d6d17952SScott Long.It Pa /dev/aac? 92d6d17952SScott Longaac management interface 93d6d17952SScott Long.It Pa /dev/aacd? 94d6d17952SScott Longdisk/container interface 95d6d17952SScott Long.It Pa /boot/kernel/aac.ko 96d6d17952SScott Longaac loadable module 97d6d17952SScott Long.El 98d6d17952SScott Long.Sh DIAGNOSTICS 99d6d17952SScott LongCompiling with 100d6d17952SScott Long.Dv AAC_DEBUG 101d6d17952SScott Longset to a number between 0 and 3 102d6d17952SScott Longwill enable increasingly verbose debug messages. 103d6d17952SScott Long.Pp 104d6d17952SScott LongThe adapter can send status and alert messages asynchronously 105d6d17952SScott Longto the driver. These messages are printed on the system console, 106d6d17952SScott Longand are also queued for retrieval by a management application. 107d6d17952SScott Long.Sh SEE ALSO 108d6d17952SScott Long.Xr kld 4 , 109d6d17952SScott Long.Xr linux 4, 110d6d17952SScott Long.Xr kldload 8 111d6d17952SScott Long.Sh HISTORY 112d6d17952SScott LongThe 113d6d17952SScott Long.Nm 114d6d17952SScott Longdriver first appeared in 115d6d17952SScott Long.Fx 5.0 116d6d17952SScott Longand is 117d6d17952SScott Long.Ud 118d6d17952SScott Long.Pp 119d6d17952SScott Long.Sh AUTHORS 120d6d17952SScott Long.An Mike Smith 121eddc45e7SJeroen Ruigrok van der Werven.Aq msmith@FreeBSD.org 122d6d17952SScott Long.An Scott Long 123eddc45e7SJeroen Ruigrok van der Werven.Aq scottl@FreeBSD.org 124d6d17952SScott Long.Sh BUGS 125d6d17952SScott LongThis driver has not been tested on Alpha, though it should work. 126d6d17952SScott Long.Pp 127d6d17952SScott LongThe controller is not actually paused on suspend/resume. 128d6d17952SScott Long.Pp 129d6d17952SScott LongAdapter-initiated messages are not returned back to the controller, 130d6d17952SScott Longpossibly causing a resource leak on the controller. 131d6d17952SScott Long.Pp 132d6d17952SScott LongUnloading and reloading the driver as a kernel loadable module 133d6d17952SScott Longwithout rebooting the system is strongly discouraged. 134d6d17952SScott Long.Pp 135d6d17952SScott LongOnly the Linux-compatible 136d6d17952SScott Long.Xr ioctl 2 137d6d17952SScott Longinterface is implemented at this time. 138d6d17952SScott LongThis is not a bug, but native 139d6d17952SScott Long.Xr ioctl 2 140d6d17952SScott Longsupport is desirable. 141