openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [phosphor-host-ipmid] Questions about IPMI event message
@ 2021-11-03  3:10 Chris Chen (TPI)
  2021-11-03 14:06 ` Andrei Kartashev
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Chen (TPI) @ 2021-11-03  3:10 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 2683 bytes --]

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@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@hudsonbay-obmc:~#
root@hudsonbay-obmc:~#
root@hudsonbay-obmc:~# ipmitool sel elist
SEL has no entries
root@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!

[-- Attachment #2: Type: text/html, Size: 5839 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-04  6:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03  3:10 [phosphor-host-ipmid] Questions about IPMI event message Chris Chen (TPI)
2021-11-03 14:06 ` Andrei Kartashev
2021-11-04  6:42   ` 回覆: " Chris Chen (TPI)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).