We have added 3 temp sensors by using entity-manager, and looks like we can list them with temp value reading successfully as below.
root@hudsonbay-obmc:~# ipmitool sdr elist
BMC | 00h | ok | 7.1 | 27 degrees C
DIMM P0 ABCD P1 | 01h | ok | 7.1 | 35 degrees C
DIMM P1 EFGH | 02h | ucr | 7.1 | 40 degrees C
Get SDR 0003 command failed: Invalid data field in request
Get SDR 0003 command failed: Invalid data field in request
Get SDR 0003 command failed: Invalid data field in request
Get SDR 0003 command failed: Invalid data field in request
Get SDR 0003 command failed: Invalid data field in request
root@hudsonbay-obmc:~#
However, there is a kind of error message "Get SDR 0003 command failed: Invalid data field in request" always been shown behind it. I take a look at it via journal log in OpenBMC what error it is. That is:
root@hudsonbay-obmc:~# journalctl -o json-pretty MESSAGE="GetMangagedObjects for getSensorMap failed"
{
"_BOOT_ID" : "d932ab64935943c1b937993b3d4c0510",
"__REALTIME_TIMESTAMP" : "84903987",
"_SYSTEMD_CGROUP" : "/system.slice/phosphor-ipmi-host.service",
"PRIORITY" : "3",
"_CAP_EFFECTIVE" : "1ffffffffff",
"CODE_FUNC" : "helper_log",
"_SYSTEMD_UNIT" : "phosphor-ipmi-host.service",
"_SYSTEMD_SLICE" : "system.slice",
"_UID" : "0",
"_HOSTNAME" : "hudsonbay-obmc",
"MESSAGE" : "GetMangagedObjects for getSensorMap failed",
"__MONOTONIC_TIMESTAMP" : "84903992",
"_MACHINE_ID" : "3e55a692862e4acfbfec1956db0d0ee0",
"_SYSTEMD_INVOCATION_ID" : "20eebfb3a701452ebfc226117b2cbbe9",
"SYSLOG_IDENTIFIER" : "ipmid",
"_TRANSPORT" : "journal",
"ERROR" : "Invalid request descriptor",
"_PID" : "157",
"__CURSOR" : "s=2d0eebf065d24b7fba5a24a670d2ffbf;i=30d;b=d932ab64935943c1b937993b3d4c0510;m=50f8838;t=50f8833;x=defc23b87af8e29b",
"TRANSACTION_ID" : "3524473669",
"CODE_LINE" : "76",
"CODE_FILE" : "/usr/src/debug/intel-ipmi-oem/0.1+git999-r0/recipe-sysroot/usr/include/phosphor-logging/log.hpp",
"_SOURCE_REALTIME_TIMESTAMP" : "84903950",
"_EXE" : "/usr/bin/ipmid",
"_GID" : "0",
"_COMM" : "ipmid",
"_CMDLINE" : "ipmid"
}
I have tried to figure out it but with limited capability, can someone help to provide some suggestions for me? I mean how to fix it, or I'm able to ignore it because the SDR has been listed?
Thank you.