freeipmi-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-users] Adding discrete values for SuperMicro power supplie


From: Al Chu
Subject: Re: [Freeipmi-users] Adding discrete values for SuperMicro power supplies
Date: Wed, 11 Dec 2024 09:49:41 -0800
User-agent: Mozilla Thunderbird

Hi Dan,

It appears to be a pretty standard power supply sensor, so I'm not sure why the "sensor state" output is incorrect.

I did some tests locally and everything appears to work.  So I'm not sure why it's uniquely not working in your environment.

I'm not sure if you're up for some re-building and debugging?

```

git clone https://github.com/chu11/freeipmi-mirror.git
cd freeipmi
patch -p1 < debug.patch
./autogen.sh
./configure --enable-debug
make
ipmi-sensors/ipmi-sensors --output-sensor-state --record-ids=2483

```

where debug.patch is attached.

My first thought is that somewhere between the sensor read and the "interpretation" for the sensor state, the event bitmask is not what we think it is.  So lets see if we can verify if that's the case first.

Al


On 12/11/24 09:10, Dan Mahoney (Gushi) wrote:
Here’s the -vv output:

Record ID: 2483
Record Type: Compact Sensor Record (2h)
ID String: PS2 Status
Sensor Type: Power Supply (8h)
Sensor Number: 201
IPMB Slave Address: 10h
Sensor Owner ID: 20h
Sensor Owner LUN: 0h
Channel Number: 0h
Entity ID: power supply (10)
Entity Instance: 2
Entity Instance Type: Physical Entity
Event/Reading Type Code: 6Fh
Sensor Direction: Unspecified
Positive Hysteresis: N/A
Negative Hysteresis: N/A
Assertion Event Enabled: 'Power Supply Failure detected'
Assertion Event Enabled: 'Predictive Failure'
Deassertion Event Enabled: 'Power Supply Failure detected'
Deassertion Event Enabled: 'Predictive Failure'
Share Count: 0
ID String Instance Modifier Type: Numeric
ID String Instance Modifier Offset: 0
Entity Instance Sharing: Same for all records
Sensor Event: 'Presence detected'
Sensor Event: 'Power Supply Failure detected'
Sensor Event: 'Power Supply input lost (AC/DC)'

Debug output is over at: 
https://urldefense.us/v3/__https://pastebin.com/Vit4YB0Z__;!!G2kpM7uM-TzIFchu!z_-tQrQR8_o_pyHapF83fodSB2NaM7SdqsJckn4Gso3nI6lL174bOS2VFbmxYNV-XDyDR36EERJwBQ$
  (where I edited the hostname out).

On Dec 10, 2024, at 13:16, Al Chu <chu11@llnl.gov> wrote:

-vv --record-ids=2483

--
Al Chu
Livermore Computing
Lawrence Livermore National Laboratory

Attachment: debug.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]