Groups | Search | Server Info | Login | Register


Groups > muc.lists.freebsd.stable > #32919

[Bug 271238] mpr (LSI SAS3816) driver not finding all devices in HP D6020 enclosures

From bugzilla-noreply@freebsd.org
Newsgroups muc.lists.freebsd.stable
Subject [Bug 271238] mpr (LSI SAS3816) driver not finding all devices in HP D6020 enclosures
Date 2026-04-25 19:56 +0000
Organization Newsgate at muc.de e.V.
Message-ID <bug-271238-1689-AHLEl2Jf3P@https.bugs.freebsd.org/bugzilla/> (permalink)
References <bug-271238-1689@https.bugs.freebsd.org/bugzilla/>

Show all headers | View raw


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271238

Stéphane Lapie <darksoul@darkbsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darksoul@darkbsd.org

--- Comment #20 from Stéphane Lapie <darksoul@darkbsd.org> ---
I think I am encountering a similar issue.

I am using a LSI 9305-16e card (mpr driver) and a NetApp DS4246 enclosure (24
drives), with 4 cables plugged in, 2 from adapter to the top half of the shelf,
2 from adapter to the bottom half of the shelf.

Even on FreeBSD 15.0-RELEASE-p6 I see the following behavior:
- Default configuration : multiple paths detected as expected, but no SES
enclosure detected (meaning, mpr show enclosures reports data, but I don't have
a sesX device and obviously can't use sesutil)
- hw.mpr.encl_min_slots : I tried setting it to 100, since I have 24 drive
slots + the SES enclosure x 4 potential paths, but it does not seem to help (I
do get 
- hw.mpr.use_phy_num=-1 : It makes the ses0 device appear, but I lose multipath
features. I assume this is because of the repeating PHY numbers.

It seems the default mapping logic fails to identify the enclosure handle as it
should, but when using PHY numbers, this is what I can see in dmesg that is
noteworthy:
mpr0: Found device <4411<SmpInit,SspTarg,SepDev>,End Device> <12.0Gbps>
handle<0x0061> enclosureHandle<0x0004> slot 0

ses0 at mpr0 bus 0 scbus0 target 40 lun 0                                 
ses0: <NETAPP DS424IOM12A 0311> Fixed Enclosure Services SPC-3 SCSI device
ses0: Serial Number <....>                                       
ses0: 1200.000MB/s transfers                                              
ses0: Command Queueing enabled                                            
ses0: SES Device                                                          

For reference, mprutil outputs:
# mprutil show enclosures                                         
Slots      Logical ID     SEPHandle  EncHandle    Type               
  16    500062b205af69c0               0001     Direct Attached SGPIO
  25    50050cc102028db1    002a       0002     External SES-2       
  25    50050cc102028db1    0045       0003     External SES-2       
  25    50050cc102028db1    0061       0004     External SES-2       
  25    50050cc102028db1    007c       0005     External SES-2       

# mprutil show devices
B____T    SAS Address      Handle  Parent    Device        Speed Enc  Slot  Wdt
          500a09800786c301 0011    0009      SMP Target    12    0002 00    4
          500605ba0138df6e 0012    0011      SAS Target    6.0   0002 00    1
00   50   500605ba00d0fb46 0013    0011      SAS Target    6.0   0002 01    1
00   51   500605ba008219fa 0014    0011      SAS Target    6.0   0002 02    1
00   52   500605ba00cfe422 0015    0011      SAS Target    6.0   0002 03    1
00   53   500605ba0083a5c6 0016    0011      SAS Target    6.0   0002 04    1
00   54   500605ba00d08346 0017    0011      SAS Target    6.0   0002 05    1
00   55   500605ba007b352e 0018    0011      SAS Target    6.0   0002 06    1
00   56   500605ba007bcc7a 0019    0011      SAS Target    6.0   0002 07    1
00   57   500605ba007ac23e 001a    0011      SAS Target    6.0   0002 08    1
00   58   500605ba00811f02 001b    0011      SAS Target    6.0   0002 09    1
00   59   500605ba00b9e146 001c    0011      SAS Target    6.0   0002 10    1
00   60   500605ba002f6b66 001d    0011      SAS Target    6.0   0002 11    1
00   61   500605ba004b4e3e 001e    0011      SAS Target    6.0   0002 12    1
00   62   500605ba00b9b0a6 001f    0011      SAS Target    6.0   0002 13    1
00   63   500605ba007bcb96 0020    0011      SAS Target    6.0   0002 14    1
00   64   500605ba00423b26 0021    0011      SAS Target    6.0   0002 15    1
00   65   500605ba00d07052 0022    0011      SAS Target    6.0   0002 16    1
00   66   500605ba007b21da 0023    0011      SAS Target    6.0   0002 17    1
00   67   500605ba00a1fc82 0024    0011      SAS Target    6.0   0002 18    1
00   68   500605ba007aaf02 0025    0011      SAS Target    6.0   0002 19    1
00   69   5000c500410bc3c2 0026    0011      SAS Target    6.0   0002 20    1
00   70   5000c500410bd316 0027    0011      SAS Target    6.0   0002 21    1
00   71   5000c500410d69c6 0028    0011      SAS Target    6.0   0002 22    1
00   72   5000c500410bcf46 0029    0011      SAS Target    6.0   0002 23    1
00   49   500a09800786c300 002a    0011      SEP Target    12    0002 00    1
          500a09800826b0fd 002b    000a      SMP Target    12    0003 00    4
          500062b205af69c0 002c    002b      SAS Initiator 12               4
          500605ba0138df6d 002d    002b      SAS Target    6.0   0003 00    1
00   75   500605ba00d0fb45 002e    002b      SAS Target    6.0   0003 01    1
00   76   500605ba008219f9 002f    002b      SAS Target    6.0   0003 02    1
00   77   500605ba00cfe421 0030    002b      SAS Target    6.0   0003 03    1
00   78   500605ba0083a5c5 0031    002b      SAS Target    6.0   0003 04    1
00   79   500605ba00d08345 0032    002b      SAS Target    6.0   0003 05    1
00   80   500605ba007b352d 0033    002b      SAS Target    6.0   0003 06    1
00   81   500605ba007bcc79 0034    002b      SAS Target    6.0   0003 07    1
00   82   500605ba007ac23d 0035    002b      SAS Target    6.0   0003 08    1
00   83   500605ba00811f01 0036    002b      SAS Target    6.0   0003 09    1
00   84   500605ba00b9e145 0037    002b      SAS Target    6.0   0003 10    1
00   85   500605ba002f6b65 0038    002b      SAS Target    6.0   0003 11    1
00   86   500605ba004b4e3d 0039    002b      SAS Target    6.0   0003 12    1
00   87   500605ba00b9b0a5 003a    002b      SAS Target    6.0   0003 13    1
00   88   500605ba007bcb95 003b    002b      SAS Target    6.0   0003 14    1
00   89   500605ba00423b25 003c    002b      SAS Target    6.0   0003 15    1
00   90   500605ba00d07051 003d    002b      SAS Target    6.0   0003 16    1
00   91   500605ba007b21d9 003e    002b      SAS Target    6.0   0003 17    1
00   92   500605ba00a1fc81 003f    002b      SAS Target    6.0   0003 18    1
00   93   500605ba007aaf01 0040    002b      SAS Target    6.0   0003 19    1
00   94   5000c500410bc3c1 0041    002b      SAS Target    6.0   0003 20    1
00   95   5000c500410bd315 0042    002b      SAS Target    6.0   0003 21    1
00   96   5000c500410d69c5 0043    002b      SAS Target    6.0   0003 22    1
00   97   5000c500410bcf45 0044    002b      SAS Target    6.0   0003 23    1
00   74   500a09800826b0fc 0045    002b      SEP Target    12    0003 00    1
          500a09800826b0fd 0046    0001      SMP Target    12    0004 00    4
          500062b205af69c1 0047    0011      SAS Initiator 12               4
          500062b205af69c9 0048    0046      SAS Initiator 12               4
          500605ba0138df6d 0049    0046      SAS Target    6.0   0004 00    1
00   25   500605ba00d0fb45 004a    0046      SAS Target    6.0   0004 01    1
00   26   500605ba008219f9 004b    0046      SAS Target    6.0   0004 02    1
00   27   500605ba00cfe421 004c    0046      SAS Target    6.0   0004 03    1
00   28   500605ba0083a5c5 004d    0046      SAS Target    6.0   0004 04    1
00   29   500605ba00d08345 004e    0046      SAS Target    6.0   0004 05    1
00   30   500605ba007b352d 004f    0046      SAS Target    6.0   0004 06    1
00   31   500605ba007bcc79 0050    0046      SAS Target    6.0   0004 07    1
00   32   500605ba007ac23d 0051    0046      SAS Target    6.0   0004 08    1
00   33   500605ba00811f01 0052    0046      SAS Target    6.0   0004 09    1
00   34   500605ba00b9e145 0053    0046      SAS Target    6.0   0004 10    1
00   35   500605ba002f6b65 0054    0046      SAS Target    6.0   0004 11    1
00   36   500605ba004b4e3d 0055    0046      SAS Target    6.0   0004 12    1
00   37   500605ba00b9b0a5 0056    0046      SAS Target    6.0   0004 13    1
00   38   500605ba007bcb95 0057    0046      SAS Target    6.0   0004 14    1
00   39   500605ba00423b25 0058    0046      SAS Target    6.0   0004 15    1
00   40   500605ba00d07051 0059    0046      SAS Target    6.0   0004 16    1
00   41   500605ba007b21d9 005a    0046      SAS Target    6.0   0004 17    1
00   42   500605ba00a1fc81 005b    0046      SAS Target    6.0   0004 18    1
00   43   500605ba007aaf01 005c    0046      SAS Target    6.0   0004 19    1
00   44   5000c500410bc3c1 005d    0046      SAS Target    6.0   0004 20    1
00   45   5000c500410bd315 005e    0046      SAS Target    6.0   0004 21    1
00   46   5000c500410d69c5 005f    0046      SAS Target    6.0   0004 22    1
00   47   5000c500410bcf45 0060    0046      SAS Target    6.0   0004 23    1
00   24   500a09800826b0fc 0061    0046      SEP Target    12    0004 00    1
          500a09800786c301 0062    0002      SMP Target    12    0005 00    4
          500062b205af69c8 0063    0062      SAS Initiator 12               4
          500605ba0138df6e 0064    0062      SAS Target    6.0   0005 00    1
          500605ba00d0fb46 0065    0062      SAS Target    6.0   0005 01    1
          500605ba008219fa 0066    0062      SAS Target    6.0   0005 02    1
          500605ba00cfe422 0067    0062      SAS Target    6.0   0005 03    1
          500605ba0083a5c6 0068    0062      SAS Target    6.0   0005 04    1
          500605ba00d08346 0069    0062      SAS Target    6.0   0005 05    1
          500605ba007b352e 006a    0062      SAS Target    6.0   0005 06    1
          500605ba007bcc7a 006b    0062      SAS Target    6.0   0005 07    1
          500605ba007ac23e 006c    0062      SAS Target    6.0   0005 08    1
          500605ba00811f02 006d    0062      SAS Target    6.0   0005 09    1
          500605ba00b9e146 006e    0062      SAS Target    6.0   0005 10    1
          500605ba002f6b66 006f    0062      SAS Target    6.0   0005 11    1
          500605ba004b4e3e 0070    0062      SAS Target    6.0   0005 12    1
          500605ba00b9b0a6 0071    0062      SAS Target    6.0   0005 13    1
          500605ba007bcb96 0072    0062      SAS Target    6.0   0005 14    1
          500605ba00423b26 0073    0062      SAS Target    6.0   0005 15    1
          500605ba00d07052 0074    0062      SAS Target    6.0   0005 16    1
          500605ba007b21da 0075    0062      SAS Target    6.0   0005 17    1
          500605ba00a1fc82 0076    0062      SAS Target    6.0   0005 18    1
          500605ba007aaf02 0077    0062      SAS Target    6.0   0005 19    1
          5000c500410bc3c2 0078    0062      SAS Target    6.0   0005 20    1
          5000c500410bd316 0079    0062      SAS Target    6.0   0005 21    1
          5000c500410d69c6 007a    0062      SAS Target    6.0   0005 22    1
          5000c500410bcf46 007b    0062      SAS Target    6.0   0005 23    1
          500a09800786c300 007c    0062      SEP Target    12    0005 00    1

I have hardware available for testing config and patches, if it can help.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

Back to muc.lists.freebsd.stable | Previous | Next | Find similar


Thread

[Bug 271238] mpr (LSI SAS3816) driver not finding all devices in HP D6020 enclosures bugzilla-noreply@freebsd.org - 2026-04-25 19:56 +0000

csiph-web