IPMI SEL Parsing

Andrew Jeffery andrew at aj.id.au
Sat Mar 27 08:00:47 AEDT 2021



On Sat, 27 Mar 2021, at 02:38, Bills, Jason M wrote:
> 
> 
> On 3/26/2021 6:47 AM, Bruce Mitchell wrote:
> > On 3/26/2021 01:04, rgrs wrote:
> >> Hi Matt, Bruce,
> >>
> >> Yes, SELs for sensor events, threshold alarms.
> >> When a sensor value is beyond the range of thresholds, we need to log 
> >> the SEL.
> >>
> >> My understanding of OpenBMC implementation:
> >> dbus-sensors/phosphor-hwmon logs d-bus errors (logging/entry).
> >> Each entry object has a "callout", that is used by phosphor-ipmi-host 
> >> to convert dbus-error logs to IPMI SEL (16 bytes).
> Please note that there are two locations that SEL entries can be logged:
> 1. D-Bus
> 2. Journal/syslog
> 
> It looks like you are using D-Bus which I'm not familiar with.
> 
> >>
> >>
> >> The issue I am facing:
> >> 1. SEL creation: when I change sensor thresholds, I don't see a log 
> >> generated for that sensor.
> >> (phosphor-sel-logger has the capability to monitor threshold events 
> >> and log SEL. But phosphor-hwmon doesn't generate the signal that 
> >> phosphor-sel-logger is looking for.)
> There is another thread on the mailing list that is discussing this 
> issue: Question of phosphor-sel-logger. 

Note that we have the list archived on https://lore.kernel.org/ at https://lore.kernel.org/openbmc and this is a great way to identify other posts :)

> We can use that thread to 
> resolve this signaling issue.

Looks like it's

https://lore.kernel.org/openbmc/TY2PR04MB3712DCE11C578706F5F6401F88639@TY2PR04MB3712.apcprd04.prod.outlook.com/

Andrew


More information about the openbmc mailing list