Initial import from FreeBSD RELENG_4:
[dragonfly.git] / share / man / man4 / amr.4
1 .\"
2 .\" Copyright (c) 2000 Jeroen Ruigrok van der Werven
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. The name of the author may not be used to endorse or promote products
11 .\"    derived from this software without specific prior written permission
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 .\"
24 .\" $FreeBSD: src/share/man/man4/amr.4,v 1.3.2.10 2003/05/26 12:41:05 hmp Exp $
25 .\"
26 .Dd January 23, 2000
27 .Dt AMR 4
28 .Os
29 .Sh NAME
30 .Nm amr
31 .Nd AMI MegaRAID PCI-SCSI RAID driver
32 .Sh SYNOPSIS
33 .Cd device pci
34 .Cd device amr
35 .Sh DESCRIPTION
36 The
37 .Nm
38 driver provides support for American Megatrends MegaRAID Express,
39 Elite and Enterprise family SCSI RAID controllers,
40 including models relabeled and sold by Hewlett-Packard and Dell.
41 Supported controllers include:
42 .Bl -bullet
43 .It
44 MegaRAID 320-1
45 .It
46 MegaRAID 320-2
47 .It
48 MegaRAID Series 418
49 .It
50 MegaRAID Enterprise 1200 (Series 428)
51 .It
52 MegaRAID Enterprise 1300 (Series 434)
53 .It
54 MegaRAID Enterprise 1400 (Series 438)
55 .It
56 MegaRAID Enterprise 1500 (Series 467)
57 .It
58 MegaRAID Enterprise 1600 (Series 471)
59 .It
60 MegaRAID Elite 1500 (Series 467)
61 .It
62 MegaRAID Elite 1600 (Series 493)
63 .It
64 MegaRAID Express 100 (Series 466WS)
65 .It
66 MegaRAID Express 200 (Series 466)
67 .It
68 MegaRAID Express 300 (Series 490)
69 .It
70 MegaRAID Express 500 (Series 475)
71 .It
72 Dell PERC
73 .It
74 Dell PERC 2/SC
75 .It
76 Dell PERC 2/DC
77 .It
78 HP NetRAID-1/Si
79 .It
80 HP NetRAID-3/Si
81 .It
82 HP Embedded NetRAID
83 .El
84 .Sh DIAGNOSTICS
85 .Ss Driver initialisation/shutdown phase
86 .Bl -diag
87 .It amr%d: memory window not available
88 .It amr%d: I/O window not available
89 .Pp
90 The PCI BIOS did not allocate resources necessary for the correct operation of
91 the controller.
92 The driver cannot attach to this controller.
93 .It amr%d: busmaster bit not set, enabling
94 .Pp
95 The PCI BIOS did not enable busmaster DMA,
96 which is required for the correct operation of the controller.
97 The driver has enabled this bit and initialisation will proceed.
98 .It amr%d: can't allocate register window
99 .It amr%d: can't allocate interrupt
100 .It amr%d: can't set up interrupt
101 .It amr%d: can't allocate parent DMA tag
102 .It amr%d: can't allocate buffer DMA tag
103 .It amr%d: can't allocate scatter/gather DMA tag
104 .It amr%d: can't allocate s/g table
105 .It amr%d: can't allocate mailbox tag
106 .It amr%d: can't allocate mailbox memory
107 .Pp
108 A resource allocation error occurred while initialising the driver;
109 initialisation has failed and the driver will not attach to this controller.
110 .It amr%d: can't obtain configuration data from controller
111 .It amr%d: can't obtain product data from controller
112 .Pp
113 The driver was unable to obtain vital configuration data from the controller.
114 Initialisation has failed and the driver will not attach to this controller.
115 .It amr%d: can't establish configuration hook
116 .It amr%d: can't scan controller for drives
117 .Pp
118 The scan for logical drives managed by the controller failed.
119 No drives will be attached.
120 .It amr%d: device_add_child failed
121 .It amr%d: bus_generic_attach returned %d
122 .Pp
123 Creation of the logical drive instances failed;
124 attachment of one or more logical drives may have been aborted.
125 .It amr%d: flushing cache...
126 .Pp
127 The controller cache is being flushed prior to shutdown or detach.
128 .El
129 .Ss Operational diagnostics
130 .Bl -diag
131 .It amr%d: I/O beyond end of unit (%u,%d > %u)
132 .Pp
133 A partitioning error or disk corruption has caused an I/O request
134 beyond the end of the logical drive.
135 This may also occur if FlexRAID Virtual Sizing is enabled and
136 an I/O operation is attempted on a portion of the virtual drive
137 beyond the actual capacity available.
138 .It amr%d: polled command timeout
139 .Pp
140 An initialisation command timed out.
141 The initialisation process may fail as a result.
142 .It amr%d: bad slot %d completed
143 .Pp
144 The controller reported completion of a command that the driver did not issue.
145 This may result in data corruption,
146 and suggests a hardware or firmware problem with the system or controller.
147 .It amr%d: I/O error - %x
148 .Pp
149 An I/O error has occurred.
150 .El
151 .Sh SEE ALSO
152 .Xr cd 4 ,
153 .Xr da 4 ,
154 .Xr sa 4 ,
155 .Xr scsi 4
156 .Sh AUTHORS
157 .An -nosplit
158 The
159 .Nm
160 driver was written by
161 .An Mike Smith
162 .Aq msmith@FreeBSD.org .
163 .Pp
164 This manual page was written by
165 .An Mike Smith
166 .Aq msmith@FreeBSD.org
167 and
168 .An Jeroen Ruigrok van der Werven
169 .Aq asmodai@FreeBSD.org .