Bug 229371

Summary: LSI 9300-8e Controller JBOD Multipath not functioning
Product: Base System Reporter: Lee Clements <lclements0>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: dsp, pen
Priority: ---    
Version: 11.1-STABLE   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
dmesg output
none
gmultipath output
none
dmesg output
none
sas3ircu output
none
camcontrol devlist
none
lsscsi from linux on same hardware none

Description Lee Clements 2018-06-27 17:35:05 UTC
Created attachment 194682 [details]
dmesg output

Doing a new FreeBSD build with an LSI 9300-8e HBA in IT mode. Firmware on HBA flashed to latest available from Broadcom, 16.00.01.00. The FreeBSD server has 5 JBOD arrays hanging off of the HBA, with a total of 56 drives and what should be a total of 112 paths. With mpr driver version 18.03.00.00-fbsd, approximately 10-15 drives don't show up in camcontrol whatsoever. After upgrading the driver to the latest mpr from Broadcom, version 20.00.00.00, I can now see all 56 drives, but even though the mpr driver shows 112 paths, FreeNAS isn't picking this up and is only displaying 79 total paths. I shot a message over to Stephen McConnell, the original maintainer of the mpr(4) driver for FreeBSD, and he suggested to me that this may be a middleware problem, as the driver itself can see all 112 paths just fine, something must be going on in between the driver and FreeBSD.

I've attached the latest dmesg output as a tar. Happy to provide any other diagnostic information as necessary.
Comment 1 Lee Clements 2018-06-27 17:36:22 UTC
Created attachment 194683 [details]
gmultipath output

Adding gmultipath list -a output for reference.
Comment 2 Dmitry Popovich 2020-08-20 17:45:00 UTC
I've got the same problem.
HPE Proliant DL360p Gen9
LSI 9300-8e (latest firmware)
FreeBSD 12.1
FreeBSD see only 1 path per device. Linux can see them all.
Comment 3 Dmitry Popovich 2020-08-20 17:45:24 UTC
Created attachment 217393 [details]
dmesg output
Comment 4 Dmitry Popovich 2020-08-20 17:45:50 UTC
Created attachment 217394 [details]
sas3ircu output
Comment 5 Dmitry Popovich 2020-08-20 17:46:18 UTC
Created attachment 217395 [details]
camcontrol devlist
Comment 6 Dmitry Popovich 2020-08-20 17:46:58 UTC
Created attachment 217396 [details]
lsscsi from linux on same hardware