1.\" Copyright (c) 2006 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: src/share/man/man4/mfi.4,v 1.13 2010/05/12 17:12:38 brueffer Exp $ 26.\" 27.Dd June 14, 2014 28.Dt MFI 4 29.Os 30.Sh NAME 31.Nm mfi 32.Nd "LSI MegaRAID SAS driver" 33.Sh SYNOPSIS 34To compile this driver into the kernel, 35place the following lines in your 36kernel configuration file: 37.Bd -ragged -offset indent 38.Cd "device pci" 39.Cd "device mfi" 40.Ed 41.Pp 42Alternatively, to load the driver as a 43module at boot time, place the following line in 44.Xr loader.conf 5 : 45.Bd -literal -offset indent 46mfi_load="YES" 47.Ed 48.Sh DESCRIPTION 49This driver is for LSI's next generation PCI Express SAS RAID controllers. 50Access to RAID arrays (logical disks) from this driver is provided via 51.Pa /dev/mfid? 52and access to JBOD disks is provided via 53.Pa /dev/mfisyspd? 54device nodes. 55A simple management interface is also provided on a per-controller basis via 56the 57.Pa /dev/mfi? 58device node. 59.Pp 60The 61.Nm 62name is derived from the phrase "MegaRAID Firmware Interface", which is 63substantially different than the old "MegaRAID" interface and thus requires 64a new driver. 65.Pp 66Older SCSI and SATA MegaRAID cards are supported by 67.Xr amr 4 68and will not work with this driver. 69Likewise, newer LSI MegaRAID SAS controllers are supported by 70.Xr mrsas 4 71and will not work with this driver. 72.Pp 733 Gb/s and 6 Gb/s support both initiator target (IT) and integrated RAID (IR) 74firmware (see 75.Pa http://kb.lsi.com/KnowledgebaseArticle16266.aspx ) . 76The 77.Nm 78driver supports controllers with an IR image. 79At least some cards (such as the 80.Tn IBM ServeRAID M1015 ) 81will attach to the 82.Xr mps 4 83driver when IT firmware is used. 84.Pp 85Two sysctls are provided to tune the 86.Nm 87driver's behavior when a request is made to remove a mounted volume. 88By default the driver will disallow any requests to remove a mounted volume. 89If the sysctl 90.Va dev.mfi.%d.delete_busy_volumes 91is set to 1, 92then the driver will allow mounted volumes to be removed. 93.Pp 94A tunable is provided to adjust the 95.Nm 96driver's behaviour when attaching to a card. 97By default the driver will attach to all known cards with high probe priority. 98If the tunable 99.Va hw.mfi.mrsas_enable 100is set to 1, 101then the driver will reduce its probe priority to allow 102.Cd mrsas 103to attach to the card instead of 104.Nm . 105.Sh LOADER TUNABLES 106.Bl -tag -width indent 107.It Va hw.mfi.msi.enable 108By default, the driver will use MSI if it is supported. 109This behavior can be turned off by setting this tunable to 0. 110.It Va hw.mfi.mrsas_enable 111See description above. 112.El 113.Sh HARDWARE 114The 115.Nm 116driver supports the following hardware: 117.Pp 118.Bl -bullet -compact 119.It 120LSI MegaRAID SAS 1078 121.It 122LSI MegaRAID SAS 8408E 123.It 124LSI MegaRAID SAS 8480E 125.It 126LSI MegaRAID SAS 9240-4i 127.It 128LSI MegaRAID SAS 9240-8i 129.It 130LSI MegaRAID SAS 9260-4i 131.It 132LSI MegaRAID SAS 9260-8i 133.It 134LSI MegaRAID SAS 9260DE-8i 135.It 136LSI MegaRAID SAS 9260-16i 137.It 138LSI MegaRAID SAS 9261-8i 139.It 140LSI MegaRAID SAS 9280-4i4e 141.It 142LSI MegaRAID SAS 9280-8e 143.It 144LSI MegaRAID SAS 9280DE-8e 145.It 146LSI MegaRAID SAS 9280-16i4e 147.It 148LSI MegaRAID SAS 9280-24i4e 149.It 150Dell PERC5 151.It 152Dell PERC6 153.It 154Dell PERC H710 Embedded 155.It 156Dell PERC H710 Adapter 157.It 158Dell PERC H710 Mini (blades) 159.It 160Dell PERC H710 Mini (monolithics) 161.It 162Dell PERC H710P Adapter 163.It 164Dell PERC H710P Mini (blades) 165.It 166Dell PERC H710P Mini (monolithics) 167.It 168Dell PERC H810 Adapter 169.It 170IBM ServeRAID M1015 SAS/SATA 171.It 172IBM ServeRAID M5015 SAS/SATA 173.It 174IBM ServeRAID-MR10i 175.It 176Intel RAID Controller SROMBSAS18E 177.It 178Intel RAID Controller RS25DB080 179.It 180Intel RAID Controller RS25NB008 181.El 182.Sh FILES 183.Bl -tag -width ".Pa /dev/mfisyspd?" -compact 184.It Pa /dev/mfid? 185array/logical disk interface 186.It Pa /dev/mfisyspd? 187JBOD disk interface 188.It Pa /dev/mfi? 189management interface 190.El 191.Sh DIAGNOSTICS 192.Bl -diag 193.It "mfid%d: Unable to delete busy device" 194An attempt was made to remove a mounted volume. 195.It "mfisyspd%d: Unable to delete busy device" 196dito for JBOD disks 197.El 198.Sh SEE ALSO 199.Xr amr 4 , 200.Xr mps 4 , 201.Xr mrsas 4 , 202.Xr pci 4 , 203.Xr mfiutil 8 204.Sh HISTORY 205The 206.Nm 207driver first appeared in 208.Fx 6.1 . 209.Sh AUTHORS 210The 211.Nm 212driver and this manual page were written by 213.An Scott Long Aq Mt scottl@FreeBSD.org . 214.\".Sh BUGS 215.\"The driver does not support big-endian architectures at this time. 216