]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/aac.4
This commit was generated by cvs2svn to compensate for changes in r159248,
[FreeBSD/FreeBSD.git] / share / man / man4 / aac.4
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$
26 .Dd January 4, 2005
27 .Dt AAC 4
28 .Os
29 .Sh NAME
30 .Nm aac
31 .Nd Adaptec AdvancedRAID Controller driver
32 .Sh SYNOPSIS
33 .Cd options AAC_DEBUG=N
34 .Cd device pci
35 .Cd device aac
36 .Cd device aacp
37 .Sh DESCRIPTION
38 The
39 .Nm
40 driver provides support for the Adaptec AAC family of SCSI Ultra2, Ultra160,
41 and Ultra320, and SATA RAID controllers.
42 .Pp
43 Access to RAID containers is available via the
44 .Pa /dev/aacd?
45 device nodes.
46 The
47 .Nm aacp
48 device enables the SCSI pass-thru interface and allows devices connected
49 to the card such as CD-ROMs to be available via the CAM
50 .Xr scsi 4
51 subsystem.
52 Note that not all cards allow this interface to be enabled.
53 .Pp
54 The
55 .Pa /dev/aac?
56 device nodes provide access to the management interface of the controller.
57 One node exists per installed card.
58 The aliases
59 .Pa /dev/afa?
60 and
61 .Pa /dev/hpn?
62 exist for compatibilty with the Dell and HP versions of management tools,
63 respectively.
64 If the kernel is compiled with the
65 .Dv COMPAT_LINUX
66 option, or the
67 .Pa aac_linux.ko
68 and
69 .Pa linux.ko
70 modules are loaded, the
71 Linux-compatible
72 .Xr ioctl 2
73 interface for the management device will be enabled and will allow
74 Linux-based management applications to control the card.
75 .Ss Tuning
76 The read-only sysctl
77 .Va hw.aac.iosize_max
78 defaults to 65536 and may be set at boot time to another value via
79 .Xr loader 8 .
80 This value determines the maximum data transfer size allowed
81 to/from an array.
82 Setting it higher will result in better performance,
83 especially for large sequential access patterns.
84 .Em Beware :
85 internal limitations
86 of the card limit this value to 64K for arrays with many members.
87 While it may be safe to raise this value, this is done
88 .Em at the operator's own risk .
89 Note also that
90 performance peaks at a value of 96K,
91 and drops off dramatically at 128K,
92 due to other limitations of the card.
93 .Sh HARDWARE
94 Controllers supported by the
95 .Nm
96 driver include:
97 .Pp
98 .Bl -bullet -compact
99 .It
100 Adaptec AAC-364
101 .It
102 Adaptec SATA RAID 2410SA
103 .It
104 Adaptec SATA RAID 2810SA
105 .It
106 Adaptec SATA RAID 21610SA
107 .It
108 Adaptec SCSI RAID 2120S
109 .It
110 Adaptec SCSI RAID 2130S
111 .It
112 Adaptec SCSI RAID 2200S
113 .It
114 Adaptec SCSI RAID 2130SLP
115 .It
116 Adaptec SCSI RAID 2230SLP
117 .It
118 Adaptec SCSI RAID 5400S
119 .It
120 Dell CERC SATA RAID 2
121 .It
122 Dell PERC 2/Si
123 .It
124 Dell PERC 2/QC
125 .It
126 Dell PERC 3/Si
127 .It
128 Dell PERC 3/Di
129 .It
130 Dell PERC 320/DC
131 .It
132 HP NetRAID 4M
133 .El
134 .Sh FILES
135 .Bl -tag -width /boot/kernel/aac.ko -compact
136 .It Pa /dev/aac?
137 aac management interface
138 .It Pa /dev/aacd?
139 disk/container interface
140 .It Pa /boot/kernel/aac.ko
141 aac loadable module
142 .El
143 .Sh DIAGNOSTICS
144 Compiling with
145 .Dv AAC_DEBUG
146 set to a number between 0 and 3
147 will enable increasingly verbose debug messages.
148 .Pp
149 The adapter can send status and alert messages asynchronously
150 to the driver.
151 These messages are printed on the system console,
152 and are also queued for retrieval by a management application.
153 .Sh SEE ALSO
154 .Xr kld 4 ,
155 .Xr linux 4 ,
156 .Xr scsi 4 ,
157 .Xr kldload 8 ,
158 .Xr loader 8 ,
159 .Xr sysctl 8
160 .Sh HISTORY
161 The
162 .Nm
163 driver first appeared in
164 .Fx 4.3 .
165 .Sh AUTHORS
166 .An Mike Smith
167 .Aq msmith@FreeBSD.org
168 .An Scott Long
169 .Aq scottl@FreeBSD.org
170 .Sh BUGS
171 This driver is not compatible with Dell controllers that have version 1.x
172 firmware.
173 The firmware version is the same as the kernel version printed in the BIOS
174 POST and driver attach messages.
175 .Pp
176 The controller is not actually paused on suspend/resume.
177 .Pp