From owner-freebsd-scsi@freebsd.org Fri May 11 19:26:03 2018 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87B0EFC7AC6 for ; Fri, 11 May 2018 19:26:02 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E99379CA5 for ; Fri, 11 May 2018 19:26:01 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 20B552618E for ; Fri, 11 May 2018 15:26:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 11 May 2018 15:26:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=81NX884lEht3ZrZlnemNHfwikL1+QPQ26Yf0QCZrTng=; b=XdnVXVnG h8CYUhWXQ/aQLx3Fj2+AF6Y+ICnn+rMtPWuTyb+gUzqcnnrRkJAy6l6RbM4rQjq+ 8F8S0oWKalzOH68JjQeK9gTJlfKZjuPBhlSb7KO120pj7wSCq2UyhY6Pg0Z2zqQ2 zYmsUzGAXGPQZewuv0AkRnPvOLgRtlk+LBRwjzRetZ56X17yd4VrG8jBdUHjblZa 9cekqoIXJo6VCWi3WAHsNZJNcB3j84vgZoBe+ZEbvUiyjsIPbVqw8a6kr3f+oKPR s27PYDAon2m1uanfM48JTwB7p54wug0ro8ceq444IzMUDMwBsZ7bYVEaxsNZKXmZ /KMIhL65BzMEpg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=81NX884lEht3ZrZlnemNHfwikL1+Q PQ26Yf0QCZrTng=; b=UM6bkyQ/Wvyky7+KaWpUx9B1rlFKR7pDoSCyBXK/9zDBt AK8bthvxoui3tGPSJKmoIfftIu1Ex+Rqj6/Letc2XhctkQvSvpceJ7Q3b1i/U5qB R+iK8hNH/TAAWeD35ZZCOz8q7U3dWAFWj0o4wnNAdXQKGHHRPuk4KLcEKHF4iqGn ++I6v3dBu+VF+O7Je8yYt5ci1Dt108MqV0hEW5aSFcQl2o3BDGoLr+6xVWJOwL0A yw4As/EYdwgKUN/nLR6Ujzvkw94Bj331X0AjQ0vRp7kLcYFe7JXZps55b1cVf5tB bQqm7K9BSRLuQihrW5c8VfnLxN1gt8Tbtdze3F5Bg== X-ME-Sender: Received: from [192.168.1.2] (unknown [178.34.100.23]) by mail.messagingengine.com (Postfix) with ESMTPA id 0005310260 for ; Fri, 11 May 2018 15:25:58 -0400 (EDT) To: freebsd-scsi@freebsd.org From: Yuri Pankov Subject: mprutil shows incorrect speed for Broadcom 9400-8e Message-ID: Date: Fri, 11 May 2018 22:25:57 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2018 19:26:03 -0000 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)