Menu

#49 SDR Sensor Capabilities Parse & Display

version-1.8.14
open
nobody
None
5
2014-07-07
2013-10-01
Peng Wang
No

The current "sdr get" command displays the "Event Message Control" but not the other fields in the Sensor Capabilities byte.

Especially, when Sensor Threshold Access Support is not matching the Readable/Settable Masks, it is more important to display this Access Control setting along with the masks setting rather than only displaying the masks setting. Note, the capabilities byte takes the precedence.

The mismatch configuration includes:
1. Threshold Access Support = 00b (no thresholds) or 11b (fixed unreadable)
vs. any non-zero Settable/Readable Threshold Mask
2. Threshold Access Support = 01b (readable (i.e. not settable) vs. any non-zero Settable Threshold Mask
3. Threshold Access Support = 01b (readable) or 10b (readable & settable) vs. zero Settable/Readable Threshold Mask accordingly. This is a problem because the Settable/Readable Threshold Mask is settable via the Set Sensor Thresholds Command. Although the SDR indicates no thresholds enabled by the mask, as long as the capabilities byte allows, these thresholds may be enabled at a later time.

Discussion

  • Zdenek Styblik

    Zdenek Styblik - 2013-10-01

    Hello,

    please, can you post some examples of mismatched output?

    Thanks.

     
  • Peng Wang

    Peng Wang - 2013-10-02

    [root@localhost ~]# ipmitool -V
    ipmitool version 1.8.13
    [root@localhost ~]# ipmitool <...> sdr get "MP +3.3V"
    Sensor ID : MP +3.3V (0x1)
    Entity ID : 193.101 (PICMG AdvancedMC Module)
    Sensor Type (Threshold) : Voltage (0x02)
    Sensor Reading : No Reading
    Status : Not Available
    Upper non-recoverable : 3.605
    Upper critical : 3.504
    Upper non-critical : 3.460
    Lower non-recoverable : 2.953
    Lower critical : 3.010
    Lower non-critical : 3.112
    Positive Hysteresis : 0.058
    Negative Hysteresis : 0.058
    Minimum sensor range : 0.009
    Maximum sensor range : Unspecified
    Event Message Control : Entire Sensor Only
    Readable Thresholds : lnr lcr lnc unc ucr unr
    Settable Thresholds : lnr lcr lnc unc ucr unr
    Threshold Read Mask : lnr lcr lnc unc ucr unr

    [root@localhost ~]#

    The SDR Record is:
    02 00 51 01 33 00 00 00 c1 60 7f d5 02 01 95 7a
    95 7a 3f 3f 00 04 00 00 91 00 c9 c0 00 c0 00 e4
    fb ce ff 01 f9 f2 ef cc d0 d7 04 04 00 00 00 c8
    4d 50 20 2b 33 2e 33 56

    In this SDR record, the Sensor Capabilities is D5h. That is, Sensor Threshold Access Support is 01b, thresholds are readable (not settable). Therefore, Settable Thresholds should be empty above.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.