LSI MegaRAID SAS 9240 with mfi driver?

Doug Ambrisko ambrisko at ambrisko.com
Fri Mar 30 14:14:50 UTC 2012


John Baldwin writes:
| On Friday, March 30, 2012 12:06:40 am Jan Mikkelsen wrote:
| > Hi,
| > 
| > I have a loan LSI MegaRAID SAS 9240-4i controller for testing.
| > 
| > According to the LSI documentation, this device provides the MegaRAID 
| > interface and the BIOS message mentions MFI. The LSI driver for this device 
| > also lists support for the 9261 which I know is supported by mfi(4). 
| > Based on all this, I was hopeful that mfi(4) would work with the 9240.
| > 
| > The pciconf -lv output is:
| > 
| > none3 at pci0:1:0:0:	class=0x010400 card=0x92411000 chip=0x00731000 rev=0x03 hdr=0x00
| >     vendor     = 'LSI Logic / Symbios Logic'
| >     device     = 'MegaRAID SAS 9240'
| >     class      = mass storage
| >     subclass   = RAID
| > 
| > I added this line to src/sys/dev/mfi/mfi_pci.c
| > 
| > 	{0x1000, 0x0073, 0xffff, 0xffff, MFI_FLAGS_GEN2, "LSI MegaRAID SAS 9240"},
| > 
| > It gave this result (tried with hw.mfi.msi set to 0 and to 1):
| > 
| > mfi0: <LSI MegaRAID SAS 9240> port 0xdc00-0xdcff mem 0xfe7bc000-0xfe7bffff,0xfe7c0000-0xfe7fffff irq 16 at device 0.0 on pci1
| > mfi0: Using MSI
| > mfi0: Megaraid SAS driver Ver 3.00 
| > mfi0: Frame 0xffffff8000285000 timed out command 0x26C8040
| > mfi0: failed to send init command
| > 
| > The firmware is package 20.10.1-0077, which is the latest on the LSI website.
| > 
| > Is this path likely to work out? Any suggestions on where to go from here?
| 
| You should try the updated mfi(4) driver that Doug (cc'd) is going to soon
| merge into HEAD.  It syncs up with the mfi(4) driver on LSI's website which
| supports several cards that the current mfi(4) driver does not.  (I'm not
| fully sure if the 9240 is in that group or not.  Doug might know however.)

Yes, this card is supported with the mfi(4) in projects/head_mfi.  Looks
like we fixed a couple of last minute found bugs when trying to create a
RAID wth mfiutil.  This should be fixed now.  I'm going to start the
merge to -current today.  The version in head_mfi can run on older
versions of FreeBSD with the changes that Sean did.

Note that I wouldn't recomend the 9240 since it can't have a battery
option.  NVRAM is the key to the speed of mfi(4) cards.  However, that
won't stop us from supporting it.

Doug A.


More information about the freebsd-stable mailing list