commit | 511369844523794fd2dd1655528b48fe38b8e1e5 | [log] [tgz] |
---|---|---|
author | Paul Fertser <fercerpav@gmail.com> | Thu Aug 18 12:36:41 2022 +0000 |
committer | Paul Fertser <fercerpav@gmail.com> | Mon Dec 12 10:50:46 2022 +0000 |
tree | 48c78cdf92ea3210e0ba5f74661355651fb42bc4 | |
parent | ca93bb10647a709322d6d1e6c043dea75f679c97 [diff] |
Specify "8-bit ASCII + Latin 1" SDR encoding Applications using OpenSolaris libipmi can't handle "Unicode" (type 0) encoding for the sensor names [0]. This results in issues with VMWare ESXi which uses IPMI to fetch sensor data from the BMC, all the names are shown as "Unspecified 1" (if default EntityId is used), so status page, SEL entries and the logs become very confusing. Fix this by telling it to process all bytes as is by using "8-bit ASCII + Latin 1" type. The patch is untested however similar changes to intel-ipmi-oem were tried with VMWare ESXi 7.0 Update 2 and regular ipmitool (using GNU FreeIPMI), both show names correctly. [0] https://github.com/kofemann/opensolaris/blob/master/usr/src/lib/libipmi/common/ipmi_util.c#L258 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: Idf19833e4877af1acb32f016e85e93c6f58df27e
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage