Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Apr 2021 23:54:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254841] usr.sbin/mpsutil: add functionality (temperature monitoring, PCIe speed etc)
Message-ID:  <bug-254841-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254841

            Bug ID: 254841
           Summary: usr.sbin/mpsutil: add functionality (temperature
                    monitoring, PCIe speed etc)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd-ports@dan.me.uk
                CC: scottl@FreeBSD.org

Created attachment 223884
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223884&action=
=3Dedit
Add functionality to mpsutil

The attached patch adds a little functionality to the 'mpsutil' (and theref=
ore
probably also mprutil).
In the 'show adapter' output, it now shows PCIe width and speed, IOC Speed,=
 and
(the reason I wrote this patch) the temperature of the controller.

I run LSI 9206-16e cards which are notoriously hot (literally boil water ho=
t!)
and I wanted to monitor its temperature but this was awkward before.

I added the other features because they seemed useful and were already fetc=
hed
in the same config page as the temperature.  (note: the temperature units c=
ome
from the card itself, although i've only ever seen Celcius)

Here's an example output on a LSI 9207-8i card I used for testing the patch:

mps0 Adapter:
       Board Name: SAS9207-8i
   Board Assembly: H3-25590-00B
        Chip Name: LSISAS2308
    Chip Revision: ALL
    BIOS Revision: 7.29.00.00
Firmware Revision: 20.00.07.00
  Integrated RAID: no
 PCIe Width/Speed: x8 (5.0 GB/sec)
        IOC Speed: Full
      Temperature: 63 C

PhyNum  CtlrHandle  DevHandle  Disabled  Speed   Min    Max    Device
0                              N                 1.5    6.0    SAS Initiator
1                              N                 1.5    6.0    SAS Initiator
2                              N                 1.5    6.0    SAS Initiator
3                              N                 1.5    6.0    SAS Initiator
4       0001        0009       N         6.0     1.5    6.0    SAS Initiator
5       0002        000a       N         6.0     1.5    6.0    SAS Initiator
6       0003        000b       N         6.0     1.5    6.0    SAS Initiator
7       0004        000c       N         6.0     1.5    6.0    SAS Initiator

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254841-227>