Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2018 22:25:57 +0300
From:      Yuri Pankov <yuripv@yuripv.net>
To:        freebsd-scsi@freebsd.org
Subject:   mprutil shows incorrect speed for Broadcom 9400-8e
Message-ID:  <ae953f06-0bd8-b230-529f-e43a5df0f1d2@yuripv.net>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to understand the issue I'm seeing with Broadcom 9400-8e HBA 
(SAS3408)-- `mprutil -u 1 show adapter` shows the negotiated speed as 
6Gbps, while the same enclosure connected using the same cables to an 
LSI 9300-16e (SAS3008) HBA shows the speed to be 12Gbps.

# mprutil -u 1 show adapter
mpr1 Adapter:
        Board Name: HBA 9400-8e
    Board Assembly: 03-50013-16003
         Chip Name: SAS3408
     Chip Revision: ALL
     BIOS Revision: 9.03.00.00
Firmware Revision: 2.00.05.00
   Integrated RAID: no

PhyNum  CtlrHandle  DevHandle  Disabled  Speed   Min    Max    Device
0       0001        000a       N         6.0     3.0    12     SAS Initiator
1       0001        000a       N         6.0     3.0    12     SAS Initiator
2       0001        000a       N         6.0     3.0    12     SAS Initiator
3       0001        000a       N         6.0     3.0    12     SAS Initiator
4       0002        004a       N         6.0     3.0    12     SAS Initiator
5       0002        004a       N         6.0     3.0    12     SAS Initiator
6       0002        004a       N         6.0     3.0    12     SAS Initiator
7       0002        004a       N         6.0     3.0    12     SAS Initiator
8       0001        0009       N         ???     ???    ???    No Device

I originally hit the issue on illumos, and tried booting FreeBSD looking 
for any clues just to find out the same issue.  Here's a bit of output 
from illumos' sasinfo hoping it could provide a hint for others that I'm 
not seeing, especially the ProgrammedLinkRate which I couldn't find any 
info about.

9400-8e:
HBA Name: SUNW-mpt_sas-14
   HBA Port Name: /dev/cfg/c1
     Phy Information:
       Identifier: 0
         State:  enabled
         HardwareLinkRate(Min/Max): 1.5Gbit/12Gbit
         ProgrammedLinkRate(Min/Max): 3Gbit/6Gbit
         NegotiatedLinkRate: 6Gbit
...

9300-16e:
HBA Name: SUNW-mpt_sas-3
   HBA Port Name: /dev/cfg/c14
     Phy Information:
       Identifier: 0
         State:  enabled
         HardwareLinkRate(Min/Max): 3Gbit/12Gbit
         ProgrammedLinkRate(Min/Max): 3Gbit/12Gbit
         NegotiatedLinkRate: 12Gbit
...

P.S.  I'm also seeing the following when running mprutil, but guess it's 
not related at all:

mpr1: mpr_user_pass_thru: user reply buffer (64) smaller than returned 
buffer (68)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ae953f06-0bd8-b230-529f-e43a5df0f1d2>