1.\" $NetBSD: amr.4,v 1.6 2003/11/04 10:52:34 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 November 4, 2003 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 81HP NetRAID-1/Si 82.It 83HP NetRAID-3/Si 84.It 85HP Embedded NetRAID 86.El 87.Sh DIAGNOSTICS 88.Ss Driver initialisation/shutdown phase 89.Bl -diag 90.It amr%d: memory window not available 91.It amr%d: I/O window not available 92.Pp 93The PCI BIOS did not allocate resources necessary for the correct operation of 94the controller. 95The driver cannot attach to this controller. 96.It amr%d: busmaster bit not set, enabling 97.Pp 98The PCI BIOS did not enable busmaster DMA, 99which is required for the correct operation of the controller. 100The driver has enabled this bit and initialisation will proceed. 101.It amr%d: can't allocate register window 102.It amr%d: can't allocate interrupt 103.It amr%d: can't set up interrupt 104.It amr%d: can't allocate parent DMA tag 105.It amr%d: can't allocate buffer DMA tag 106.It amr%d: can't allocate scatter/gather DMA tag 107.It amr%d: can't allocate s/g table 108.It amr%d: can't allocate mailbox tag 109.It amr%d: can't allocate mailbox memory 110.Pp 111A resource allocation error occurred while initialising the driver; 112initialisation has failed and the driver will not attach to this controller. 113.It amr%d: can't obtain configuration data from controller 114.It amr%d: can't obtain product data from controller 115.Pp 116The driver was unable to obtain vital configuration data from the controller. 117Initialisation has failed and the driver will not attach to this controller. 118.It amr%d: can't establish configuration hook 119.It amr%d: can't scan controller for drives 120.Pp 121The scan for logical drives managed by the controller failed. 122No drives will be attached. 123.It amr%d: device_add_child failed 124.It amr%d: bus_generic_attach returned %d 125.Pp 126Creation of the logical drive instances failed; 127attachment of one or more logical drives may have been aborted. 128.It amr%d: flushing cache... 129.Pp 130The controller cache is being flushed prior to shutdown or detach. 131.El 132.Ss Operational diagnostics 133.Bl -diag 134.It amr%d: I/O beyond end of unit (%u,%d \*[Gt] %u) 135.Pp 136A partitioning error or disk corruption has caused an I/O request 137beyond the end of the logical drive. 138This may also occur if FlexRAID Virtual Sizing is enabled and 139an I/O operation is attempted on a portion of the virtual drive 140beyond the actual capacity available. 141.It amr%d: polled command timeout 142.Pp 143An initialisation command timed out. 144The initialisation process may fail as a result. 145.It amr%d: bad slot %d completed 146.Pp 147The controller reported completion of a command that the driver did not issue. 148This may result in data corruption, 149and suggests a hardware or firmware problem with the system or controller. 150.It amr%d: I/O error - %x 151.Pp 152An I/O error has occurred. 153.El 154.Sh SEE ALSO 155.Xr cd 4 , 156.Xr ch 4 , 157.Xr intro 4 , 158.Xr pci 4 , 159.Xr scsi 4 , 160.Xr sd 4 , 161.Xr st 4 162.Sh AUTHORS 163The 164.Nm 165driver was written by 166.An Mike Smith 167.Aq msmith@FreeBSD.org 168and 169.An Andrew Doran 170.Aq ad@NetBSD.org . 171