LSI - MR-Fusion controller driver <mrsas> patch and man page

Doug Ambrisko ambrisko at cisco.com
Fri Mar 21 16:10:49 UTC 2014


On Fri, Mar 21, 2014 at 09:10:40AM +0100, Borja Marcos wrote:
| 
| On Mar 21, 2014, at 12:55 AM, Doug Ambrisko wrote:
| 
| > With mfi I see ~364128Kbytes writes and ~214817Kbytes reads.  So
| > something is strange.  The firmware on card is:
| >  Name: LSI MegaRAID 9361-8i
| >  Serial Number: SV33505325
| >  Firmware BIOS 6.13.00.1_4.14.05.00_0x06010600
| >  Firmware CTLR 5.01-0005
| >  Firmware APP  4.210.50-3015
| >  Firmware NVDT 3.1310.00-0062
| >  Firmware BTBL 3.00.00.00-0009
| > which was the lastest when I looks on the LSI web site a month ago or so.
| 
| I've got an Invader here,
| 
| mfi0: <Invader> port 0x4f00-0x4fff mem 0x913f0000-0x913fffff,0x91400000-0x914fffff irq 34 at device 0.0 on pci22
| mfi0: Using MSI
| mfi0: Megaraid SAS driver Ver 4.23 
| mfi0: FW MaxCmds = 240, limiting to 128
| mfi0: MaxCmd = 240, Drv MaxCmd = 128, MaxSgl = 70, state = 0xb73c00f0
| mfi0: 11170 (448037009s/0x0020/info) - Shutdown command received from host
| mfi0: 11171 (boot + 10s/0x0020/info) - Firmware initialization started (PCI ID 005d/1000/045b/1014)
| mfi0: 11172 (boot + 10s/0x0020/info) - Firmware version 4.200.21-2840
| mfi0: 11173 (boot + 12s/0x0020/info) - Package version 24.0.2-0013
| mfi0: 11174 (boot + 12s/0x0020/info) - Board Revision  00AL055
| 
| let me know if I can help running any tests  here. For now I am using it 
| just to boot and I have installed an LSI2008, as this invader corrupts 
| data on "syspd" or even plain  passthrough disks.

Do you have a simple test case for that?  There were issues in the SCSI
command translation which should have been fixed via switching it to use
the CAM translation code.  Can you try it via a RAID volume of one disk?
 
| The server is not in production, so I have no problems to try drivers, etc.

You could try the LSI mrsas and see if the corruption goes away and then
we could try to isolate the difference.  mrsas does not support CAM
passthrough.  If both drivers are loaded in the kernel, you can prevent
mfi from attaching and let mrsas attach via the tunable:
	hw.mfi.mrsas_enable=1
The mrsas device come up /dev/da* there are no aliases yet to the mfi one's.
Also mfiutil won't work with mrsas but MegaCli/StorCli should.  If you want
to use mfiutil, you can switch to mfi to set that up and then switch back
to mrsas.  I need to finish the mrsas compat work so mfiutil can work
on it.  It's a little more complicated then I hoped.

This is under -current.  This should run under 9.X by copying mfi etc.
to it.

Thanks,

Doug A.


More information about the freebsd-scsi mailing list