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

            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: b...@freebsd.org
          Reporter: freebsd-po...@dan.me.uk
                CC: sco...@freebsd.org

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

The attached patch adds a little functionality to the 'mpsutil' (and therefore
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 hot!)
and I wanted to monitor its temperature but this was awkward before.

I added the other features because they seemed useful and were already fetched
in the same config page as the temperature.  (note: the temperature units come
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to