2000-01-23 18:12:56 +00:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2000 Jeroen Ruigrok van der Werven
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. The name of the author may not be used to endorse or promote products
|
|
|
|
.\" derived from this software without specific prior written permission
|
2001-07-14 19:41:16 +00:00
|
|
|
.\"
|
2000-01-23 18:12:56 +00:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2006-03-29 21:02:35 +00:00
|
|
|
.Dd March 29, 2006
|
2000-01-23 18:12:56 +00:00
|
|
|
.Dt AMR 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm amr
|
2005-03-04 06:02:13 +00:00
|
|
|
.Nd MegaRAID SCSI/ATA/SATA RAID driver
|
2000-01-23 18:12:56 +00:00
|
|
|
.Sh SYNOPSIS
|
2006-06-18 09:53:00 +00:00
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following lines in your
|
|
|
|
kernel configuration file:
|
|
|
|
.Bd -ragged -offset indent
|
|
|
|
.Cd "device pci"
|
|
|
|
.Cd "device scbus"
|
|
|
|
.Cd "device amr"
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
amr_load="YES"
|
|
|
|
.Ed
|
2020-04-18 02:53:19 +00:00
|
|
|
.Sh DEPRECATION NOTICE
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver is not present in
|
|
|
|
.Fx 13.0 .
|
2000-01-23 18:12:56 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2006-06-18 14:45:28 +00:00
|
|
|
driver provides support for LSI Logic MegaRAID SCSI, ATA and SATA
|
2005-04-15 21:18:31 +00:00
|
|
|
RAID controllers and legacy American Megatrends MegaRAID
|
|
|
|
SCSI RAID controllers, including models relabeled
|
2005-03-04 06:02:13 +00:00
|
|
|
and sold by Dell and Hewlett-Packard.
|
2006-03-29 21:02:35 +00:00
|
|
|
.Pp
|
|
|
|
LSI MegaRAID SAS controllers are supported by
|
|
|
|
.Xr mfi 4
|
|
|
|
and will not work with this driver.
|
2005-03-04 10:03:40 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
Controllers supported by the
|
|
|
|
.Nm
|
|
|
|
driver include:
|
2003-09-27 18:03:03 +00:00
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
2000-05-10 18:45:20 +00:00
|
|
|
.It
|
2006-06-18 14:45:28 +00:00
|
|
|
MegaRAID SATA 150-4
|
|
|
|
.It
|
|
|
|
MegaRAID SATA 150-6
|
|
|
|
.It
|
|
|
|
MegaRAID SATA 300-4X
|
|
|
|
.It
|
|
|
|
MegaRAID SATA 300-8X
|
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID SCSI 320-1E
|
|
|
|
.It
|
|
|
|
MegaRAID SCSI 320-2E
|
|
|
|
.It
|
|
|
|
MegaRAID SCSI 320-4E
|
|
|
|
.It
|
|
|
|
MegaRAID SCSI 320-0X
|
|
|
|
.It
|
|
|
|
MegaRAID SCSI 320-2X
|
|
|
|
.It
|
|
|
|
MegaRAID SCSI 320-4X
|
|
|
|
.It
|
|
|
|
MegaRAID SCSI 320-0
|
2005-02-06 10:49:28 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID SCSI 320-1
|
2003-12-23 16:22:34 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID SCSI 320-2
|
2000-05-10 18:45:20 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID SCSI 320-4
|
2000-05-10 18:45:20 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID Series 418
|
2000-05-10 18:45:20 +00:00
|
|
|
.It
|
2006-06-18 14:45:28 +00:00
|
|
|
MegaRAID i4 133 RAID
|
|
|
|
.It
|
|
|
|
MegaRAID Elite 1500 (Series 467)
|
|
|
|
.It
|
|
|
|
MegaRAID Elite 1600 (Series 493)
|
|
|
|
.It
|
|
|
|
MegaRAID Elite 1650 (Series 4xx)
|
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID Enterprise 1200 (Series 428)
|
2000-05-10 18:45:20 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID Enterprise 1300 (Series 434)
|
2000-05-10 18:45:20 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID Enterprise 1400 (Series 438)
|
2000-05-10 18:45:20 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID Enterprise 1500 (Series 467)
|
2000-08-30 08:00:36 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID Enterprise 1600 (Series 471)
|
2000-08-30 08:00:36 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID Express 100 (Series 466WS)
|
2000-08-30 08:00:36 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID Express 200 (Series 466)
|
2000-05-10 18:45:20 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID Express 300 (Series 490)
|
2005-01-04 04:18:21 +00:00
|
|
|
.It
|
2005-03-04 06:02:13 +00:00
|
|
|
MegaRAID Express 500 (Series 475)
|
2005-01-04 04:18:21 +00:00
|
|
|
.It
|
2000-05-10 18:45:20 +00:00
|
|
|
Dell PERC
|
|
|
|
.It
|
|
|
|
Dell PERC 2/SC
|
|
|
|
.It
|
|
|
|
Dell PERC 2/DC
|
|
|
|
.It
|
2003-08-13 15:02:14 +00:00
|
|
|
Dell PERC 3/DCL
|
|
|
|
.It
|
2003-07-10 00:25:51 +00:00
|
|
|
Dell PERC 3/QC
|
|
|
|
.It
|
2005-05-25 15:35:31 +00:00
|
|
|
Dell PERC 4/DC
|
|
|
|
.It
|
2005-05-30 12:26:12 +00:00
|
|
|
Dell PERC 4/IM
|
|
|
|
.It
|
2005-05-25 15:35:31 +00:00
|
|
|
Dell PERC 4/SC
|
|
|
|
.It
|
2003-09-27 18:03:03 +00:00
|
|
|
Dell PERC 4/Di
|
|
|
|
.It
|
2005-05-25 15:35:31 +00:00
|
|
|
Dell PERC 4e/DC
|
|
|
|
.It
|
2004-11-23 10:47:08 +00:00
|
|
|
Dell PERC 4e/Di
|
|
|
|
.It
|
|
|
|
Dell PERC 4e/Si
|
|
|
|
.It
|
2005-04-15 21:18:31 +00:00
|
|
|
Dell PERC 4ei
|
|
|
|
.It
|
2000-08-30 08:00:36 +00:00
|
|
|
HP NetRAID-1/Si
|
|
|
|
.It
|
2003-07-10 00:25:51 +00:00
|
|
|
HP NetRAID-3/Si (D4943A)
|
2000-08-30 08:00:36 +00:00
|
|
|
.It
|
|
|
|
HP Embedded NetRAID
|
2004-11-26 18:45:58 +00:00
|
|
|
.It
|
|
|
|
Intel RAID Controller SRCS16
|
|
|
|
.It
|
|
|
|
Intel RAID Controller SRCU42X
|
2000-05-10 18:45:20 +00:00
|
|
|
.El
|
|
|
|
.Sh DIAGNOSTICS
|
2000-08-23 09:13:56 +00:00
|
|
|
.Ss Driver initialisation/shutdown phase
|
2000-05-10 18:45:20 +00:00
|
|
|
.Bl -diag
|
|
|
|
.It amr%d: memory window not available
|
|
|
|
.It amr%d: I/O window not available
|
|
|
|
.Pp
|
|
|
|
The PCI BIOS did not allocate resources necessary for the correct operation of
|
|
|
|
the controller.
|
|
|
|
The driver cannot attach to this controller.
|
|
|
|
.It amr%d: busmaster bit not set, enabling
|
|
|
|
.Pp
|
|
|
|
The PCI BIOS did not enable busmaster DMA,
|
|
|
|
which is required for the correct operation of the controller.
|
|
|
|
The driver has enabled this bit and initialisation will proceed.
|
|
|
|
.It amr%d: can't allocate register window
|
2000-08-30 08:00:36 +00:00
|
|
|
.It amr%d: can't allocate interrupt
|
|
|
|
.It amr%d: can't set up interrupt
|
2000-05-10 18:45:20 +00:00
|
|
|
.It amr%d: can't allocate parent DMA tag
|
2000-08-30 08:00:36 +00:00
|
|
|
.It amr%d: can't allocate buffer DMA tag
|
2000-05-10 18:45:20 +00:00
|
|
|
.It amr%d: can't allocate scatter/gather DMA tag
|
|
|
|
.It amr%d: can't allocate s/g table
|
|
|
|
.It amr%d: can't allocate mailbox tag
|
|
|
|
.It amr%d: can't allocate mailbox memory
|
|
|
|
.Pp
|
|
|
|
A resource allocation error occurred while initialising the driver;
|
|
|
|
initialisation has failed and the driver will not attach to this controller.
|
|
|
|
.It amr%d: can't obtain configuration data from controller
|
2000-08-30 08:00:36 +00:00
|
|
|
.It amr%d: can't obtain product data from controller
|
2000-05-10 18:45:20 +00:00
|
|
|
.Pp
|
|
|
|
The driver was unable to obtain vital configuration data from the controller.
|
|
|
|
Initialisation has failed and the driver will not attach to this controller.
|
2000-08-30 08:00:36 +00:00
|
|
|
.It amr%d: can't establish configuration hook
|
2000-05-10 18:45:20 +00:00
|
|
|
.It amr%d: can't scan controller for drives
|
|
|
|
.Pp
|
|
|
|
The scan for logical drives managed by the controller failed.
|
|
|
|
No drives will be attached.
|
|
|
|
.It amr%d: device_add_child failed
|
|
|
|
.It amr%d: bus_generic_attach returned %d
|
|
|
|
.Pp
|
|
|
|
Creation of the logical drive instances failed;
|
|
|
|
attachment of one or more logical drives may have been aborted.
|
|
|
|
.It amr%d: flushing cache...
|
|
|
|
.Pp
|
|
|
|
The controller cache is being flushed prior to shutdown or detach.
|
2000-08-23 09:13:56 +00:00
|
|
|
.El
|
|
|
|
.Ss Operational diagnostics
|
2000-05-10 18:45:20 +00:00
|
|
|
.Bl -diag
|
|
|
|
.It amr%d: I/O beyond end of unit (%u,%d > %u)
|
|
|
|
.Pp
|
|
|
|
A partitioning error or disk corruption has caused an I/O request
|
|
|
|
beyond the end of the logical drive.
|
|
|
|
This may also occur if FlexRAID Virtual Sizing is enabled and
|
|
|
|
an I/O operation is attempted on a portion of the virtual drive
|
|
|
|
beyond the actual capacity available.
|
2000-08-30 08:00:36 +00:00
|
|
|
.It amr%d: polled command timeout
|
|
|
|
.Pp
|
2000-08-30 08:07:06 +00:00
|
|
|
An initialisation command timed out.
|
|
|
|
The initialisation process may fail as a result.
|
2000-08-30 08:00:36 +00:00
|
|
|
.It amr%d: bad slot %d completed
|
|
|
|
.Pp
|
2000-08-30 08:07:06 +00:00
|
|
|
The controller reported completion of a command that the driver did not issue.
|
|
|
|
This may result in data corruption,
|
|
|
|
and suggests a hardware or firmware problem with the system or controller.
|
2000-06-08 13:29:41 +00:00
|
|
|
.It amr%d: I/O error - %x
|
2000-05-10 18:45:20 +00:00
|
|
|
.Pp
|
|
|
|
An I/O error has occurred.
|
2000-08-23 09:13:56 +00:00
|
|
|
.El
|
2001-09-05 19:23:36 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr cd 4 ,
|
|
|
|
.Xr da 4 ,
|
2006-03-29 21:02:35 +00:00
|
|
|
.Xr mfi 4 ,
|
2001-09-05 19:23:36 +00:00
|
|
|
.Xr sa 4 ,
|
|
|
|
.Xr scsi 4
|
2000-01-24 19:34:47 +00:00
|
|
|
.Sh AUTHORS
|
2000-11-22 09:35:58 +00:00
|
|
|
.An -nosplit
|
2000-08-23 09:17:53 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Mike Smith Aq Mt msmith@FreeBSD.org .
|
2000-01-24 19:34:47 +00:00
|
|
|
.Pp
|
|
|
|
This manual page was written by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Mike Smith Aq Mt msmith@FreeBSD.org
|
2000-05-10 18:45:20 +00:00
|
|
|
and
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Jeroen Ruigrok van der Werven Aq Mt asmodai@FreeBSD.org .
|