Re: Problem with FreeBSD 11.2 and LSI 9341-8i

2018-09-08 Thread Josh Paetzel



On Sat, Sep 8, 2018, at 1:07 PM, Josh Endries wrote:
> I just got an LSI 9341-8i card and I'm having some trouble getting it to
> work in a new install of 11.2-RELEASE. I'm trying to replace an old 9.x
> FreeNAS box with a new machine. I have one drive connected for testing. I
> haven't set anything up, it's just JBOD (which is what I want anyway). The
> BIOS seems to see the drive and controller, and in FreeBSD when I boot I
> see this:
> 
> AVAGO MegaRAID SAS FreeBSD mrsas driver version: 06.712.04.00-fbsd
> mfi0:  port 0xd000-0xd0ff mem
> 0xfe72-0xfe72,0xfe60-0xfe6f irq 19 at device 0.0 on pci2
> 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 = 0xbf3c00f0
> mfi0: Init command Failed 0x3
> mfi0: TB Init has failed with error 3
> device_attach: mfi0 attach returned 3
> 
> I haven't found anything on Google. I read on the mfi man page (I think)
> that I should enable mrsas for these cards, so I added
> hwmfi.mrsas_enable="1" to /boot/device.hints, but that didn't help. I have
> nothing related in /dev, no disk or even a controller node, so I can't
> update the firmware or do anything else... I'm not sure what else to try.
> 
> For now I'm going to try 10.x instead and see if that works, though I would
> of course rather use the latest version.
> 
> Josh
> ___
> freebsd-hardware@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"


mfi(4) doesn't support the 9341, however mrsas(4) does.

Is the snippet of dmesg you pasted after you added hwmfi.mrsas_enable="1" to 
/boot/device.hints?

If so perhaps that isn't just a typo in your email, but rather a typo in your 
device.hints

The correct line is hw.mfi.mrsas_enable="1"

If after activating the mrsas driver it's still not working please attach your 
dmesg and output of pciconf -lv



-- 

Thanks,

Josh Paetzel
___
freebsd-hardware@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"


Problem with FreeBSD 11.2 and LSI 9341-8i

2018-09-08 Thread Josh Endries
I just got an LSI 9341-8i card and I'm having some trouble getting it to
work in a new install of 11.2-RELEASE. I'm trying to replace an old 9.x
FreeNAS box with a new machine. I have one drive connected for testing. I
haven't set anything up, it's just JBOD (which is what I want anyway). The
BIOS seems to see the drive and controller, and in FreeBSD when I boot I
see this:

AVAGO MegaRAID SAS FreeBSD mrsas driver version: 06.712.04.00-fbsd
mfi0:  port 0xd000-0xd0ff mem
0xfe72-0xfe72,0xfe60-0xfe6f irq 19 at device 0.0 on pci2
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 = 0xbf3c00f0
mfi0: Init command Failed 0x3
mfi0: TB Init has failed with error 3
device_attach: mfi0 attach returned 3

I haven't found anything on Google. I read on the mfi man page (I think)
that I should enable mrsas for these cards, so I added
hwmfi.mrsas_enable="1" to /boot/device.hints, but that didn't help. I have
nothing related in /dev, no disk or even a controller node, so I can't
update the firmware or do anything else... I'm not sure what else to try.

For now I'm going to try 10.x instead and see if that works, though I would
of course rather use the latest version.

Josh
___
freebsd-hardware@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"