xref: /freebsd/share/man/man4/aac.4 (revision 6adf353a56a161443406b44a45d00c688ca7b857)
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 February 22, 2001
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_COMPAT_LINUX
34.Cd options AAC_DEBUG=N
35.Cd device pci
36.Cd device aac
37.Sh DESCRIPTION
38The
39.Nm
40driver provides support for the Adaptec AAC family SCSI Ultra2 and Ultra160
41RAID controllers.
42These controllers support RAID 0, 1, 5, 10, and volume sets.
43They have four channels in the add-in version
44or 1-2 channels in the motherboard integrated version,
45and are most often found relabelled by Dell or Hewlett-Packard.
46Supported controllers include:
47.Bl -bullet
48.It
49AAC-364
50.It
51AAC-3642
52.It
53HP NetRAID 4M
54.It
55Dell PERC 2/Si
56.It
57Dell PERC 2/QC
58.It
59Dell PERC 3/Si
60.It
61Dell PERC 3/Di
62.Pp
63.El
64Access to RAID containers is available via the
65.Pa /dev/aacd?
66device nodes.
67Individual drives cannot be accessed
68unless they are part of a container or volume set,
69and non-fixed disks cannot be accessed.
70Containers can be configured by using
71either the on-board BIOS utility of the card,
72or a Linux-based management application.
73.Pp
74The
75.Pa /dev/aac?
76device nodes provide access to the management interface of the controller.
77One node exists per installed card.  The aliases
78.Pa /dev/afa?
79and
80.Pa /dev/hpn?
81exist for the Dell and HP flavors, respectively, and are required for
82the CLI management utility available from these vendors to work.
83Compiling the driver with the
84.Dv AAC_COMPAT_LINUX
85option enables the Linux-compatible
86.Xr ioctl 2
87interface for the management device.
88The
89.Xr ioctl 2
90command set is heavily tailored to existing linux applications.
91Native
92.Xr ioctl 2
93support is not present at this time.
94.Sh FILES
95.Bl -tag -width /boot/kernel/aac.ko -compact
96.It Pa /dev/aac?
97aac management interface
98.It Pa /dev/aacd?
99disk/container interface
100.It Pa /boot/kernel/aac.ko
101aac loadable module
102.El
103.Sh DIAGNOSTICS
104Compiling with
105.Dv AAC_DEBUG
106set to a number between 0 and 3
107will enable increasingly verbose debug messages.
108.Pp
109The adapter can send status and alert messages asynchronously
110to the driver.  These messages are printed on the system console,
111and are also queued for retrieval by a management application.
112.Sh SEE ALSO
113.Xr kld 4 ,
114.Xr linux 4 ,
115.Xr kldload 8
116.Sh HISTORY
117The
118.Nm
119driver first appeared in
120.Fx 4.3
121and is
122.Ud
123.Sh AUTHORS
124.An Mike Smith
125.Aq msmith@FreeBSD.org
126.An Scott Long
127.Aq scottl@FreeBSD.org
128.Sh BUGS
129This driver has not been tested on Alpha, though it should work.
130.Pp
131The controller is not actually paused on suspend/resume.
132.Pp
133Adapter-initiated messages are not returned back to the controller,
134possibly causing a resource leak on the controller.
135.Pp
136Unloading and reloading the driver as a kernel loadable module
137without rebooting the system is strongly discouraged.
138.Pp
139Only the Linux-compatible
140.Xr ioctl 2
141interface is implemented at this time.
142This is not a bug, but native
143.Xr ioctl 2
144support is desirable.
145