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