xref: /dragonfly/share/man/man4/aac.4 (revision 9ddb8543)
1.\" Copyright (c) 2000 Scott Long
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: src/share/man/man4/aac.4,v 1.31.2.1.2.1 2006/12/14 23:56:26 brueffer Exp $
26.\" $DragonFly: src/share/man/man4/aac.4,v 1.8 2008/09/02 11:50:46 matthias Exp $
27.Dd May 8, 2009
28.Dt AAC 4
29.Os
30.Sh NAME
31.Nm aac
32.Nd Adaptec AdvancedRAID Controller driver
33.Sh SYNOPSIS
34To compile this driver into the kernel,
35place the following lines in your
36kernel configuration file:
37.Bd -ragged -offset indent
38.Cd device pci
39.Cd device aac
40.Cd device aacp
41.Pp
42To compile in debugging code:
43.Cd options AAC_DEBUG=N
44.Ed
45.Pp
46Alternatively, to load the driver as a
47module at boot time, place the following line in
48.Xr loader.conf 5 :
49.Bd -literal -offset indent
50aac_load="YES"
51.Ed
52.Sh DESCRIPTION
53The
54.Nm
55driver provides support for the Adaptec AAC family of SCSI Ultra2, Ultra160,
56and Ultra320, SATA and SAS RAID controllers.
57.Pp
58Access to RAID containers is available via the
59.Pa /dev/aacd?
60device nodes.
61The
62.Nm aacp
63device enables the SCSI pass-thru interface and allows devices connected
64to the card such as CD-ROMs to be available via the CAM
65.Xr scsi 4
66subsystem.
67Note that not all cards allow this interface to be enabled.
68.Pp
69The
70.Pa /dev/aac?
71device nodes provide access to the management interface of the controller.
72One node exists per installed card.
73The aliases
74.Pa /dev/afa?
75and
76.Pa /dev/hpn?
77exist for compatibilty with the Dell and HP versions of management tools,
78respectively.
79If the kernel is compiled with the
80.Dv COMPAT_LINUX
81option, or the
82.Pa aac_linux.ko
83and
84.Pa linux.ko
85modules are loaded, the
86Linux-compatible
87.Xr ioctl 2
88interface for the management device will be enabled and will allow
89Linux-based management applications to control the card.
90.Ss Tuning
91The read-only sysctl
92.Va hw.aac.iosize_max
93defaults to 65536 and may be set at boot time to another value via
94.Xr loader 8 .
95This value determines the maximum data transfer size allowed
96to/from an array.
97Setting it higher will result in better performance,
98especially for large sequential access patterns.
99.Em Beware :
100internal limitations
101of the card limit this value to 64K for arrays with many members.
102While it may be safe to raise this value, this is done
103.Em at the operator's own risk .
104Note also that
105performance peaks at a value of 96K,
106and drops off dramatically at 128K,
107due to other limitations of the card.
108.Sh HARDWARE
109Controllers supported by the
110.Nm
111driver include:
112.Pp
113.Bl -bullet -compact
114.It
115Adaptec AAC-364
116.It
117Adaptec SAS RAID 4000SAS
118.It
119Adaptec SAS RAID 4005SAS
120.It
121Adaptec SAS RAID 4800SAS
122.It
123Adaptec SAS RAID 4805SAS
124.It
125Adaptec SATA RAID 2020SA ZCR
126.It
127Adaptec SATA RAID 2025SA ZCR
128.It
129Adaptec SATA RAID 2026ZCR
130.It
131Adaptec SATA RAID 2410SA
132.It
133Adaptec SATA RAID 2420SA
134.It
135Adaptec SATA RAID 2610SA
136.It
137Adaptec SATA RAID 2620SA
138.It
139Adaptec SATA RAID 2810SA
140.It
141Adaptec SATA RAID 2820SA
142.It
143Adaptec SATA RAID 21610SA
144.It
145Adaptec SCSI RAID 2020ZCR
146.It
147Adaptec SCSI RAID 2025ZCR
148.It
149Adaptec SCSI RAID 2120S
150.It
151Adaptec SCSI RAID 2130S
152.It
153Adaptec SCSI RAID 2130SLP
154.It
155Adaptec SCSI RAID 2230SLP
156.It
157Adaptec SCSI RAID 2200S
158.It
159Adaptec SCSI RAID 2240S
160.It
161Adaptec SCSI RAID 3230S
162.It
163Adaptec SCSI RAID 3240S
164.It
165Adaptec SCSI RAID 5400S
166.It
167Dell CERC SATA RAID 2
168.It
169Dell PERC 2/Si
170.It
171Dell PERC 2/QC
172.It
173Dell PERC 3/Si
174.It
175Dell PERC 3/Di
176.It
177Dell PERC 320/DC
178.It
179HP ML110 G2 (Adaptec SATA RAID 2610SA)
180.It
181HP NetRAID 4M
182.It
183IBM ServeRAID 8i
184.It
185IBM ServeRAID 8k
186.It
187ICP ICP5085BR SAS RAID
188.It
189ICP ICP9085LI SAS RAID
190.It
191ICP ICP9047MA SATA RAID
192.It
193ICP ICP9087MA SATA RAID
194.It
195ICP ICP9014RO SCSI RAID
196.It
197ICP ICP9024RO SCSI RAID
198.It
199Legend S220
200.It
201Legend S230
202.El
203.Sh FILES
204.Bl -tag -width ".Pa /dev/aacd?" -compact
205.It Pa /dev/aac?
206aac management interface
207.It Pa /dev/aacd?
208disk/container interface
209.El
210.Sh DIAGNOSTICS
211Compiling with
212.Dv AAC_DEBUG
213set to a number between 0 and 2
214will enable increasingly verbose debug messages.
215.Pp
216The adapter can send status and alert messages asynchronously
217to the driver.
218These messages are printed on the system console,
219and are also queued for retrieval by a management application.
220.Sh SEE ALSO
221.Xr kld 4 ,
222.Xr linux 4 ,
223.Xr scsi 4 ,
224.Xr kldload 8 ,
225.Xr loader 8 ,
226.Xr sysctl 8
227.Sh HISTORY
228The
229.Nm
230driver first appeared in
231.Fx 4.3 .
232.Sh AUTHORS
233.An Mike Smith
234.Aq msmith@FreeBSD.org
235.An Scott Long
236.Aq scottl@FreeBSD.org
237.Sh BUGS
238This driver is not compatible with Dell controllers that have version 1.x
239firmware.
240The firmware version is the same as the kernel version printed in the BIOS
241POST and driver attach messages.
242.Pp
243.\"This driver will not work on systems with more than 4GB of memory.
244.\".Pp
245The controller is not actually paused on suspend/resume.
246