Cisco 12G SAS RAID support in mpr(4)

Chris Ross cross+freebsd at distal.com
Thu Nov 7 20:06:54 UTC 2019


Referencing a thread in freebsd-stable, I am trying to get FreeBSD 12.x booted
and installed onto a Cisco UCS-C220M5 with a UCSC-RAID-M5 controller.

https://docs.freebsd.org/cgi/getmsg.cgi?fetch=25822+0+current/freebsd-stable

My controller looks to be based on a LSI 3516, but is not recognized by the
mpr(4) driver.  It's PCI vendor:device is 0x1000:0x0014.
http://pci-ids.ucw.cz/read/PC/1000 shows it as a MegaRAID Tri-Mode SAS3516,
but only the 0x00AA and 0x00AB are recognized as that by mpr(4) today.
(device id 0x00AA doesn't show up in databases I find online, interestingly.)

I added the device id into mpr(4), and the following errors happened.  Can
someone on this list advise me in where to look next, or towards someone
familiar with the mpr(4) driver specifically?  Thank you...

                - Chris

On Wed, Nov 06, 2019 at 04:12:48PM -0500, Chris Ross wrote:
> Okay.  Well, the simple try didn't magically work.  I added a few lines in
> dev/mpr/mpr_pci.c in releng/12.0, built a new ISO, and booted.  Now it
> recognizes the part, but says the following:
> 
> pcib7: <ACPI PCI-PCI bridge> [...]
> pci7: <ACPI PCI bus> numa-domain 0 on pcib7
> mpr0: <Avago Technologies (LSI) SAS3516_2> port 0x7000-0x70ff mem 0xb8000000-0xb80fffff,0xb7f00000-0xb7ffffff,0xb7e00000-0xb7efffff at device 0.0 numa-domain 0 on pci7
> mpr0: IOC in fault state 0x0, resetting
> mpr0: IOC in fault state 0x0, resetting
> mpr0: IOC in fault state 0x0, resetting
> mpr0: IOC in fault state 0x0, resetting
> mpr0: IOC in fault state 0x0, resetting
> mpr0: IOC in fault state 0x0, resetting
> 
> There is about a 4 second pause between each of the "in fault state, resetting"
> lines.


More information about the freebsd-drivers mailing list