Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensor SELs showing as Undetermined system hardware failure in OpenBMC 2.7.0 #177

Open
marthauk opened this issue Aug 12, 2021 · 0 comments

Comments

@marthauk
Copy link

Using OpenBMC 2.7.0, phosphor-host-ipmid 455ee0b
Trying to display sel-entries using ipmitool sel list.
Have defined phosphor-dbus-monitor policy to flag events on sensor threshold violations

with assocations.json containing for example:

                ` "path": "system/chassis/motherboard",
    "endpoints":
    [
        {
            "types":
            {
                "rType": "inventory",
                "fType": "all_sensors"
            },
            "paths":
            [
                "/xyz/openbmc_project/sensors/voltage/<sensor>",
                ...
                ]
            }`
            
We have defined a corresponding 
`120:
entityID: 7 # system main board
entityInstance: 9
interfaces:
    xyz.openbmc_project.Sensor.Value:
        Value:
            Offsets:
                255:
                    type: int64_t
multiplierM: 2
mutability: Mutability::Write|Mutability::Read
bExp: 0
offsetB: 0
path: /xyz/openbmc_project/sensors/voltage/<sensor>
rExp: -2
readingType: readingData
scale: -3
sensorNamePattern: nameLeaf
sensorReadingType: 1 # threshold sensor
sensorType: 2 # voltage sensor
serviceInterface: org.freedesktop.DBus.Properties
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts`

in ipmi-sensors.yaml

I see that the reverse association is created for the system/chassis/motherboard inventory item. I can't see any association for the sensor under the hwmon.

I'm aware of these to similar/related issues:
openbmc/openbmc#3283
https://lore.kernel.org/openbmc/CAGm54UFX9LPHArj-2q=w2pNtwgpkjZJE_0Dgd3_8cXB9z3L2vQ@mail.gmail.com/T/

As the latter thread suggests, I tried adding a threshold sensor to ipmi-inventory-sensors.yaml

/xyz/openbmc_project/sensors/voltage/<sensor>: eventReadingType: 1 offset: 255 sensorID: 120 sensorType: 2

But still ipmitool sel list shows "Undetermined system hardware failure" for these events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant