commit | 342b9af93872e0e6794fac3adc63c4378f63077a | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Jul 09 11:27:57 2025 -0400 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jul 09 11:27:57 2025 -0400 |
tree | 9fd8723613ce6bff7724d934b59c7937e51e3d8d | |
parent | c348c6556d6c0a51e2c5c137e47d46290c915c63 [diff] |
meson: use non-deprecated systemd packageconfig Systemd's packageconfig file has both `systemdsystemunitdir` and `systemd_system_unit_dir` defined. The non-underscore one appears to be a deprecated alias[1]. Move to the non-deprecated / underscore-separated variant. [1]: https://github.com/systemd/systemd/commit/4908de44b0a0409f84a7cdc5641b114d6ce8ba03 Change-Id: I12446c284e4f86cbbf501fdca75d1c7a248e6c35 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
This function is to provide the BMC with the ability to record ECC error SELs. The EDAC driver of BMC can detects and corrects memory errors, which helps identify problems before they become catastrophic faulty memory module.
phosphor-sel-logger
package must be installedRun the application and look up the ECC error count every second after service is started. On first start, it resets all correctable ECC counts and uncorrectable ECC counts in the EDAC driver.
it also provide the following path on D-Bus:
xyz.openbmc_project.Memory.ECC
/xyz/openbmc_project/metrics/memory/BmcECC
xyz.openbmc_project.Memory.MemoryECC
The interface with the following properties:
Property | Type | Description |
---|---|---|
isLoggingLimitReached | bool | ECC logging reach limits |
ceCount | int64 | correctable ECC events |
ueCount | int64 | uncorrectable ECC events |
state | string | bmc ECC event state |
It also devised a mechanism to limit the "maximum number" of logs to avoid creating a large number of correctable ECC logs. When the maximum quantity
is reached, the ECC service will stop to record the ECC log. The maximum quantity
(default:100) is saved in the configuration file, and the user can modify the value if necessary.
Use the phosphor-sel-logger
package to record the following logs in BMC SEL format.
ce_count
from EDAC driver parameter and the count exceeds previous count.ue_count
from EDAC driver parameter and the count exceeds previous count.maximum quantity
.