xref: /freebsd/share/man/man4/aac.4 (revision c69c5ca3b00bebf6772979bf246380ff7c119719)
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_DEBUG=N
34d6d17952SScott Long.Cd device pci
35d6d17952SScott Long.Cd device aac
36c69c5ca3SScott Long.Cd device aacp
37d6d17952SScott Long.Sh DESCRIPTION
38d6d17952SScott LongThe
39d6d17952SScott Long.Nm
40c69c5ca3SScott Longdriver provides support for the Adaptec AAC family of SCSI Ultra2, Ultra160,
41c69c5ca3SScott Longand Ultra320 RAID controllers.
42d6d17952SScott LongSupported controllers include:
43d6d17952SScott Long.Bl -bullet
44d6d17952SScott Long.It
45d6d17952SScott LongAAC-364
46d6d17952SScott Long.It
47c69c5ca3SScott LongAdaptec SCSI RAID 2120S
48c69c5ca3SScott Long.It
49c69c5ca3SScott LongAdaptec SCSI RAID 2200S
50c69c5ca3SScott 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,
72c69c5ca3SScott Longor a command-line interface 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.
84c69c5ca3SScott LongIf the kernel is compiled with the
85c69c5ca3SScott Long.Dv COMPAT_LINUX
86c69c5ca3SScott Longoption, or the aac_linux.ko and linux.ko modules are loaded, the
87c69c5ca3SScott LongLinux-compatible
88d6d17952SScott Long.Xr ioctl 2
89c69c5ca3SScott Longinterface for the management device will be enabled and will allow
90c69c5ca3SScott LongLinux-based management applications to control the card.
91c69c5ca3SScott Long.Pp
92c69c5ca3SScott LongThe
93c69c5ca3SScott Long.Cd aacp
94c69c5ca3SScott Longdevice enables the SCSI pass-thru interface and allows devices connected
95c69c5ca3SScott Longto the card such as cdroms to be available via the CAM
96c69c5ca3SScott Long.Xr scsi 4
97c69c5ca3SScott Longsubsystem.  Note that not all cards allow this interface to be enabled.
985d9a15cbSScott Long.Ss Tuning
993d04a9d7SScott LongThe read-only sysctl
1003d04a9d7SScott Long.Va hw.aac.iosize_max
1012057451dSSheldon Hearndefaults to 65536 and may be set at boot time to another value via
1023d04a9d7SScott Long.Xr loader 8 .
1033d04a9d7SScott LongThis value determines the maximum data transfer size allowed
1042057451dSSheldon Hearnto/from an array.
1052057451dSSheldon HearnSetting it higher will result in better performance,
1062057451dSSheldon Hearnespecially for large sequential access patterns.
1072057451dSSheldon Hearn.Em Beware :
1082057451dSSheldon Hearninternal limitations
1092057451dSSheldon Hearnof the card limit this value to 64K for arrays with many members.
1102057451dSSheldon HearnWhile it may be safe to raise this value, this is done
1112057451dSSheldon Hearn.Em at the operator's own risk .
1122057451dSSheldon HearnNote also that
1132057451dSSheldon Hearnperformance peaks at a value of 96K,
1142057451dSSheldon Hearnand drops off dramatically at 128K,
1152057451dSSheldon Hearndue to other limitations of the card.
1165d9a15cbSScott Long.Sh FILES
1175d9a15cbSScott Long.Bl -tag -width /boot/kernel/aac.ko -compact
1185d9a15cbSScott Long.It Pa /dev/aac?
1195d9a15cbSScott Longaac management interface
1205d9a15cbSScott Long.It Pa /dev/aacd?
1215d9a15cbSScott Longdisk/container interface
1225d9a15cbSScott Long.It Pa /boot/kernel/aac.ko
1235d9a15cbSScott Longaac loadable module
1245d9a15cbSScott Long.El
125d6d17952SScott Long.Sh DIAGNOSTICS
126d6d17952SScott LongCompiling with
127d6d17952SScott Long.Dv AAC_DEBUG
128d6d17952SScott Longset to a number between 0 and 3
129d6d17952SScott Longwill enable increasingly verbose debug messages.
130d6d17952SScott Long.Pp
131d6d17952SScott LongThe adapter can send status and alert messages asynchronously
1323f756605SRuslan Ermilovto the driver.
1333f756605SRuslan ErmilovThese messages are printed on the system console,
134d6d17952SScott Longand are also queued for retrieval by a management application.
135d6d17952SScott Long.Sh SEE ALSO
136d6d17952SScott Long.Xr kld 4 ,
137d6d17952SScott Long.Xr linux 4 ,
138c69c5ca3SScott Long.Xr scsi 4 ,
1394c3ccf19SScott Long.Xr kldload 8 ,
1404c3ccf19SScott Long.Xr loader 8 ,
1415d9a15cbSScott Long.Xr sysctl 8
142d6d17952SScott Long.Sh HISTORY
143d6d17952SScott LongThe
144d6d17952SScott Long.Nm
145d6d17952SScott Longdriver first appeared in
1467fb45275SScott Long.Fx 4.3 .
147d6d17952SScott Long.Sh AUTHORS
148d6d17952SScott Long.An Mike Smith
149eddc45e7SJeroen Ruigrok van der Werven.Aq msmith@FreeBSD.org
150d6d17952SScott Long.An Scott Long
151eddc45e7SJeroen Ruigrok van der Werven.Aq scottl@FreeBSD.org
152d6d17952SScott Long.Sh BUGS
153c69c5ca3SScott LongThis driver is not compatible with Dell controllers that have version 1.x
154c69c5ca3SScott Longfirmware.
155a3484cc5SScott LongThe firmware version is the same as the kernel version printed in the BIOS
156a3484cc5SScott LongPOST and driver attach messages.
1577fb45275SScott Long.Pp
158d6d17952SScott LongThe controller is not actually paused on suspend/resume.
159d6d17952SScott Long.Pp
160