xref: /freebsd/share/man/man4/aac.4 (revision 686653a1249da51f460e35a82ee462adcb07baa6)
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$
26afa3f6dfSEd Maste.Dd August 23, 2007
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
33419e6e8dSChristian BruefferTo compile this driver into the kernel,
34419e6e8dSChristian Bruefferplace the following lines in your
35419e6e8dSChristian Bruefferkernel configuration file:
36419e6e8dSChristian Brueffer.Bd -ragged -offset indent
37d6d17952SScott Long.Cd device pci
38d6d17952SScott Long.Cd device aac
39c69c5ca3SScott Long.Cd device aacp
40419e6e8dSChristian Brueffer.Pp
41419e6e8dSChristian BruefferTo compile in debugging code:
42419e6e8dSChristian Brueffer.Cd options AAC_DEBUG=N
43419e6e8dSChristian Brueffer.Ed
44419e6e8dSChristian Brueffer.Pp
45419e6e8dSChristian BruefferAlternatively, to load the driver as a
46419e6e8dSChristian Brueffermodule at boot time, place the following line in
47419e6e8dSChristian Brueffer.Xr loader.conf 5 :
48419e6e8dSChristian Brueffer.Bd -literal -offset indent
49419e6e8dSChristian Bruefferaac_load="YES"
50419e6e8dSChristian Brueffer.Ed
51d6d17952SScott Long.Sh DESCRIPTION
52d6d17952SScott LongThe
53d6d17952SScott Long.Nm
54c69c5ca3SScott Longdriver provides support for the Adaptec AAC family of SCSI Ultra2, Ultra160,
55419e6e8dSChristian Bruefferand Ultra320, SATA and SAS RAID controllers.
56d6d17952SScott Long.Pp
57d6d17952SScott LongAccess to RAID containers is available via the
58d6d17952SScott Long.Pa /dev/aacd?
59d6d17952SScott Longdevice nodes.
602d30deddSScott LongThe
612d30deddSScott Long.Nm aacp
622d30deddSScott Longdevice enables the SCSI pass-thru interface and allows devices connected
633096e5d2SChristian Bruefferto the card such as CD-ROMs to be available via the CAM
642d30deddSScott Long.Xr scsi 4
652d30deddSScott Longsubsystem.
662d30deddSScott LongNote that not all cards allow this interface to be enabled.
67d6d17952SScott Long.Pp
68d6d17952SScott LongThe
69d6d17952SScott Long.Pa /dev/aac?
704aa620cdSScott Longdevice nodes provide access to the management interface of the controller.
713f756605SRuslan ErmilovOne node exists per installed card.
723f756605SRuslan ErmilovThe aliases
734aa620cdSScott Long.Pa /dev/afa?
744aa620cdSScott Longand
754aa620cdSScott Long.Pa /dev/hpn?
7682d693c3SMike Pritchardexist for compatibility with the Dell and HP versions of management tools,
772d30deddSScott Longrespectively.
78c69c5ca3SScott LongIf the kernel is compiled with the
79c69c5ca3SScott Long.Dv COMPAT_LINUX
80ace5be68SRuslan Ermilovoption, or the
81ace5be68SRuslan Ermilov.Pa aac_linux.ko
82ace5be68SRuslan Ermilovand
83ace5be68SRuslan Ermilov.Pa linux.ko
84ace5be68SRuslan Ermilovmodules are loaded, the
85c69c5ca3SScott LongLinux-compatible
86d6d17952SScott Long.Xr ioctl 2
87c69c5ca3SScott Longinterface for the management device will be enabled and will allow
88c69c5ca3SScott LongLinux-based management applications to control the card.
895d9a15cbSScott Long.Ss Tuning
903d04a9d7SScott LongThe read-only sysctl
913d04a9d7SScott Long.Va hw.aac.iosize_max
922057451dSSheldon Hearndefaults to 65536 and may be set at boot time to another value via
933d04a9d7SScott Long.Xr loader 8 .
943d04a9d7SScott LongThis value determines the maximum data transfer size allowed
952057451dSSheldon Hearnto/from an array.
962057451dSSheldon HearnSetting it higher will result in better performance,
972057451dSSheldon Hearnespecially for large sequential access patterns.
982057451dSSheldon Hearn.Em Beware :
992057451dSSheldon Hearninternal limitations
1002057451dSSheldon Hearnof the card limit this value to 64K for arrays with many members.
1012057451dSSheldon HearnWhile it may be safe to raise this value, this is done
1022057451dSSheldon Hearn.Em at the operator's own risk .
1032057451dSSheldon HearnNote also that
1042057451dSSheldon Hearnperformance peaks at a value of 96K,
1052057451dSSheldon Hearnand drops off dramatically at 128K,
1062057451dSSheldon Hearndue to other limitations of the card.
10769f9d7b1SSimon L. B. Nielsen.Sh HARDWARE
10869f9d7b1SSimon L. B. NielsenControllers supported by the
10969f9d7b1SSimon L. B. Nielsen.Nm
11069f9d7b1SSimon L. B. Nielsendriver include:
11169f9d7b1SSimon L. B. Nielsen.Pp
11269f9d7b1SSimon L. B. Nielsen.Bl -bullet -compact
11369f9d7b1SSimon L. B. Nielsen.It
11469f9d7b1SSimon L. B. NielsenAdaptec AAC-364
11569f9d7b1SSimon L. B. Nielsen.It
116686653a1SEd MasteAdaptec RAID 3085
117686653a1SEd Maste.It
118686653a1SEd MasteAdaptec RAID 31205
119686653a1SEd Maste.It
120686653a1SEd MasteAdaptec RAID 31605
121686653a1SEd Maste.It
122686653a1SEd MasteAdaptec RAID 5085
123686653a1SEd Maste.It
124686653a1SEd MasteAdaptec RAID 51205
125686653a1SEd Maste.It
126686653a1SEd MasteAdaptec RAID 51605
127686653a1SEd Maste.It
128686653a1SEd MasteAdaptec RAID 5445
129686653a1SEd Maste.It
130686653a1SEd MasteAdaptec RAID 5805
131686653a1SEd Maste.It
132afa3f6dfSEd MasteAdaptec SAS RAID 3405
133afa3f6dfSEd Maste.It
134afa3f6dfSEd MasteAdaptec SAS RAID 3805
135afa3f6dfSEd Maste.It
136419e6e8dSChristian BruefferAdaptec SAS RAID 4000SAS
137419e6e8dSChristian Brueffer.It
138419e6e8dSChristian BruefferAdaptec SAS RAID 4005SAS
139419e6e8dSChristian Brueffer.It
140419e6e8dSChristian BruefferAdaptec SAS RAID 4800SAS
141419e6e8dSChristian Brueffer.It
142419e6e8dSChristian BruefferAdaptec SAS RAID 4805SAS
143419e6e8dSChristian Brueffer.It
144419e6e8dSChristian BruefferAdaptec SATA RAID 2020SA ZCR
145419e6e8dSChristian Brueffer.It
146419e6e8dSChristian BruefferAdaptec SATA RAID 2025SA ZCR
147419e6e8dSChristian Brueffer.It
148419e6e8dSChristian BruefferAdaptec SATA RAID 2026ZCR
149419e6e8dSChristian Brueffer.It
150e0f104cdSChristian BruefferAdaptec SATA RAID 2410SA
151e0f104cdSChristian Brueffer.It
152419e6e8dSChristian BruefferAdaptec SATA RAID 2420SA
153419e6e8dSChristian Brueffer.It
154419e6e8dSChristian BruefferAdaptec SATA RAID 2610SA
155419e6e8dSChristian Brueffer.It
156419e6e8dSChristian BruefferAdaptec SATA RAID 2620SA
157419e6e8dSChristian Brueffer.It
158e0f104cdSChristian BruefferAdaptec SATA RAID 2810SA
159e0f104cdSChristian Brueffer.It
160419e6e8dSChristian BruefferAdaptec SATA RAID 2820SA
161419e6e8dSChristian Brueffer.It
162e0f104cdSChristian BruefferAdaptec SATA RAID 21610SA
163e0f104cdSChristian Brueffer.It
164419e6e8dSChristian BruefferAdaptec SCSI RAID 2020ZCR
165419e6e8dSChristian Brueffer.It
166419e6e8dSChristian BruefferAdaptec SCSI RAID 2025ZCR
167419e6e8dSChristian Brueffer.It
16869f9d7b1SSimon L. B. NielsenAdaptec SCSI RAID 2120S
16969f9d7b1SSimon L. B. Nielsen.It
1702d30deddSScott LongAdaptec SCSI RAID 2130S
1712d30deddSScott Long.It
1720836ce19SScott LongAdaptec SCSI RAID 2130SLP
1730836ce19SScott Long.It
1740862bca4SChristian BruefferAdaptec SCSI RAID 2230SLP
1750862bca4SChristian Brueffer.It
176419e6e8dSChristian BruefferAdaptec SCSI RAID 2200S
177419e6e8dSChristian Brueffer.It
178419e6e8dSChristian BruefferAdaptec SCSI RAID 2240S
179419e6e8dSChristian Brueffer.It
180419e6e8dSChristian BruefferAdaptec SCSI RAID 3230S
181419e6e8dSChristian Brueffer.It
182419e6e8dSChristian BruefferAdaptec SCSI RAID 3240S
183419e6e8dSChristian Brueffer.It
18469f9d7b1SSimon L. B. NielsenAdaptec SCSI RAID 5400S
18569f9d7b1SSimon L. B. Nielsen.It
18669f9d7b1SSimon L. B. NielsenDell CERC SATA RAID 2
18769f9d7b1SSimon L. B. Nielsen.It
18869f9d7b1SSimon L. B. NielsenDell PERC 2/Si
18969f9d7b1SSimon L. B. Nielsen.It
19069f9d7b1SSimon L. B. NielsenDell PERC 2/QC
19169f9d7b1SSimon L. B. Nielsen.It
19269f9d7b1SSimon L. B. NielsenDell PERC 3/Si
19369f9d7b1SSimon L. B. Nielsen.It
19469f9d7b1SSimon L. B. NielsenDell PERC 3/Di
19569f9d7b1SSimon L. B. Nielsen.It
19669f9d7b1SSimon L. B. NielsenDell PERC 320/DC
19769f9d7b1SSimon L. B. Nielsen.It
198419e6e8dSChristian BruefferHP ML110 G2 (Adaptec SATA RAID 2610SA)
199419e6e8dSChristian Brueffer.It
20069f9d7b1SSimon L. B. NielsenHP NetRAID 4M
201419e6e8dSChristian Brueffer.It
202419e6e8dSChristian BruefferIBM ServeRAID 8i
203419e6e8dSChristian Brueffer.It
2040bf113a6SChristian BruefferIBM ServeRAID 8k
2050bf113a6SChristian Brueffer.It
206686653a1SEd MasteIBM ServeRAID 8s
207686653a1SEd Maste.It
208686653a1SEd MasteICP RAID ICP5045BL
209686653a1SEd Maste.It
210686653a1SEd MasteICP RAID ICP5085BL
211686653a1SEd Maste.It
212686653a1SEd MasteICP RAID ICP5085SL
213686653a1SEd Maste.It
214686653a1SEd MasteICP RAID ICP5125BR
215686653a1SEd Maste.It
216686653a1SEd MasteICP RAID ICP5125SL
217686653a1SEd Maste.It
218686653a1SEd MasteICP RAID ICP5165BR
219686653a1SEd Maste.It
220686653a1SEd MasteICP RAID ICP5165SL
221686653a1SEd Maste.It
222686653a1SEd MasteICP RAID ICP5445SL
223686653a1SEd Maste.It
224686653a1SEd MasteICP RAID ICP5805BL
225686653a1SEd Maste.It
226686653a1SEd MasteICP RAID ICP5805SL
227686653a1SEd Maste.It
228419e6e8dSChristian BruefferICP ICP5085BR SAS RAID
229419e6e8dSChristian Brueffer.It
230419e6e8dSChristian BruefferICP ICP9085LI SAS RAID
231419e6e8dSChristian Brueffer.It
232419e6e8dSChristian BruefferICP ICP9047MA SATA RAID
233419e6e8dSChristian Brueffer.It
234686653a1SEd MasteICP ICP9067MA SATA RAID
235686653a1SEd Maste.It
236419e6e8dSChristian BruefferICP ICP9087MA SATA RAID
237419e6e8dSChristian Brueffer.It
238419e6e8dSChristian BruefferICP ICP9014RO SCSI RAID
239419e6e8dSChristian Brueffer.It
240419e6e8dSChristian BruefferICP ICP9024RO SCSI RAID
241419e6e8dSChristian Brueffer.It
242419e6e8dSChristian BruefferLegend S220
243419e6e8dSChristian Brueffer.It
244419e6e8dSChristian BruefferLegend S230
24569f9d7b1SSimon L. B. Nielsen.El
2465d9a15cbSScott Long.Sh FILES
2475d9a15cbSScott Long.Bl -tag -width /boot/kernel/aac.ko -compact
2485d9a15cbSScott Long.It Pa /dev/aac?
2495d9a15cbSScott Longaac management interface
2505d9a15cbSScott Long.It Pa /dev/aacd?
2515d9a15cbSScott Longdisk/container interface
2525d9a15cbSScott Long.El
253d6d17952SScott Long.Sh DIAGNOSTICS
254d6d17952SScott LongCompiling with
255d6d17952SScott Long.Dv AAC_DEBUG
256d6d17952SScott Longset to a number between 0 and 3
257d6d17952SScott Longwill enable increasingly verbose debug messages.
258d6d17952SScott Long.Pp
259d6d17952SScott LongThe adapter can send status and alert messages asynchronously
2603f756605SRuslan Ermilovto the driver.
2613f756605SRuslan ErmilovThese messages are printed on the system console,
262d6d17952SScott Longand are also queued for retrieval by a management application.
263d6d17952SScott Long.Sh SEE ALSO
264d6d17952SScott Long.Xr kld 4 ,
265d6d17952SScott Long.Xr linux 4 ,
266c69c5ca3SScott Long.Xr scsi 4 ,
2674c3ccf19SScott Long.Xr kldload 8 ,
2684c3ccf19SScott Long.Xr loader 8 ,
2695d9a15cbSScott Long.Xr sysctl 8
270d6d17952SScott Long.Sh HISTORY
271d6d17952SScott LongThe
272d6d17952SScott Long.Nm
273d6d17952SScott Longdriver first appeared in
2747fb45275SScott Long.Fx 4.3 .
275d6d17952SScott Long.Sh AUTHORS
276d6d17952SScott Long.An Mike Smith
277eddc45e7SJeroen Ruigrok van der Werven.Aq msmith@FreeBSD.org
278d6d17952SScott Long.An Scott Long
279eddc45e7SJeroen Ruigrok van der Werven.Aq scottl@FreeBSD.org
280d6d17952SScott Long.Sh BUGS
281c69c5ca3SScott LongThis driver is not compatible with Dell controllers that have version 1.x
282c69c5ca3SScott Longfirmware.
283a3484cc5SScott LongThe firmware version is the same as the kernel version printed in the BIOS
284a3484cc5SScott LongPOST and driver attach messages.
2857fb45275SScott Long.Pp
286d6d17952SScott LongThe controller is not actually paused on suspend/resume.
287