[phosphor-host-ipmid] Questions about IPMI event message

Chris Chen (TPI) Chris.Chen3 at flex.com
Wed Nov 3 14:10:12 AEDT 2021


Hi all,

I sent an IPMI command for testing the event message feature, the command and response as below, looks the event has been sent.

======
$ ipmitool -I lanplus -H 192.168.1.20 -C 17 -U root -P 0penBmc event 1
Sending SAMPLE event: Temperature - Upper Critical - Going High
Get SDR 0004 command failed: Invalid data field in request
Get SDR 0004 command failed: Invalid data field in request
Get SDR 0004 command failed: Invalid data field in request
Get SDR 0004 command failed: Invalid data field in request
Get SDR 0004 command failed: Invalid data field in request
   0 |  Pre-Init  |0000000000| Temperature #0x30 | Upper Critical going high | Asserted
======

Then, I checked the result on the platform, I am able to see the enevt has been added in the "/var/log/redfish" (of course I also can see it on WebUI), however, it doesn't appear in the "var/log/ipmi_sel" or the result of using "ipmitool sel elist".

======
root at hudsonbay-obmc:~# cat /var/log/redfish
1970-01-01T00:00:13.052207+00:00 OpenBMC.0.1.DCPowerOn,
1970-01-01T00:00:15.380591+00:00 OpenBMC.0.1.SELEntryAdded,2C0408666F00FFFF
1970-01-01T00:00:23.481564+00:00 OpenBMC.0.1.InventoryAdded,hudsonbay,Board,sssnnn-12312312
1970-01-01T00:00:32.281467+00:00 OpenBMC.0.1.SELEntryAdded,2C04218008F10C0A
1970-01-01T00:01:47.572079+00:00 OpenBMC.0.1.SELEntryAdded,2C04218008F00C0A
1970-01-01T00:03:42.089885+00:00 OpenBMC.0.1.SELEntryAdded,2C0401300109FFFF
root at hudsonbay-obmc:~#
root at hudsonbay-obmc:~#
root at hudsonbay-obmc:~# ipmitool sel elist
SEL has no entries
root at hudsonbay-obmc:~#
======

So, I have 2 questions for this and hope someone who had experience with this could share ideas with me, I'll appreciate it:

  1.  Why the event doesn't appear in the "var/log/ipmi_sel" or can't be seen by using "ipmitool sel elist"? I expected it should appear.
  2.  What does "Get SDR 0004 command failed: Invalid data field in request" mean?

Things to Note:

  1.  The version of OprnBMC codebase I used is 2.10-rc1.
  2.  The image I built included "intel-ipmi-oem", "phosphor-logging", "phosphor-sel-logger", "rsyslog" and "entity-manager".

Thank you.

Regards,
Chris Chen

Legal Disclaimer :
The information contained in this message may be privileged and confidential. 
It is intended to be read only by the individual or entity to whom it is addressed 
or by their designee. If the reader of this message is not the intended recipient, 
you are on notice that any distribution of this message, in any form, 
is strictly prohibited. If you have received this message in error, 
please immediately notify the sender and delete or destroy any copy of this message!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20211103/2f4e44de/attachment-0001.htm>


More information about the openbmc mailing list