PEL: add in ramoops error
Introduce a new component and new error log under that component for
when a ramoops dump is collected.
A ramoops being detected is a critical event for a BMC based system. It
indicates the BMC had an unexpected reboot because of a kernel panic.
Tested:
- Injected ramoops error and verified when BMC came back that the
following error was logged:
```
"0x50000001": {
"SRC": "BD8DC201",
"Message": "BMC rebooted unexpectedly resulting in a ramoops dump being collected",
"PLID": "0x50000001",
"CreatorID": "BMC",
"Subsystem": "BMC Firmware",
"Commit Time": "11/13/2023 18:05:45",
"Sev": "Unrecoverable Error",
"CompID": "bmc dump collector"
}
```
Change-Id: I88e1646cb9b6e7c15a54f91d44ee346d86d39ead
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/extensions/openpower-pels/registry/O_component_ids.json b/extensions/openpower-pels/registry/O_component_ids.json
index 97418bb..8e5cc42 100644
--- a/extensions/openpower-pels/registry/O_component_ids.json
+++ b/extensions/openpower-pels/registry/O_component_ids.json
@@ -14,6 +14,7 @@
"5000": "bmc panel",
"6000": "bmc pldm",
"C100": "bmc system dump collector",
+ "C200": "bmc dump collector",
"D100": "bmc hw diags attention handler",
"E500": "bmc hw diags",
"F100": "bmc faultlog",
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index 9df5f26..d185790 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -5699,6 +5699,33 @@
},
{
+ "Name": "xyz.openbmc_project.Dump.Error.Ramoops",
+ "Subsystem": "bmc_firmware",
+ "ComponentID": "0xC200",
+
+ "SRC": {
+ "ReasonCode": "0xC201",
+ "Words6To9": {}
+ },
+
+ "Callouts": [
+ {
+ "CalloutList": [
+ { "Priority": "high", "Procedure": "bmc_code" }
+ ]
+ }
+ ],
+
+ "Documentation": {
+ "Description": "BMC rebooted unexpectedly due to kernel panic",
+ "Message": "BMC rebooted unexpectedly resulting in a ramoops dump being collected",
+ "Notes": [
+ "Investigate the collected BMC dump to identify the reason for the BMC reboot."
+ ]
+ }
+ },
+
+ {
"Name": "xyz.openbmc_project.Software.Version.Error.Incompatible",
"Subsystem": "bmc_firmware",
"ComponentID": "0x3600",