sel: remove unified sel timestamp message
The issue stems from the BMC parsing a timestamp in the unified SEL,
but the BIOS always sends 0 in the timestamp byte.
The new log format already includes a dedicated timestamp item,
so the plan is to remove the "Time: Wed Dec 31 16:00:00 1969"
from the log message.
TestPlan
ipmitool raw 0x0A 0x44 0xC0 0xAB 0xC2 0 0 0 0 0x4C 0x1C 0 0 0xFE 0 0 0 0
19 00
ipmitool raw 0x0A 0x44 0xC0 0xAB 0xC0 0 0 0 0 0x4C 0x1C 0 0 0xFE 0 0 0 0
1a 00
"2": {
"additional_data": [
"IPMI_RAW=C0ABC2000000004C1C0000FE00000000"
],
"event_id": "",
"message": "SEL Entry: FRU: 1, Record: OEM timestamped (0xC2),
MFG ID: 4C1C00, OEM Data: (00FE00000000) Extra info:0xFE
MSCOD:0x0000 MCACOD:0x0000",
"resolution": "",
"resolved": false,
"severity": "xyz.openbmc_project.Logging.Entry.Level.Critical",
"timestamp": "2024-10-11T15:38:00.679000000Z",
"updated_timestamp": "2024-10-11T15:38:00.679000000Z"
},
"3": {
"additional_data": [
"IPMI_RAW=C0ABC0000000004C1C0000FE00000000"
],
"event_id": "",
"message": "SEL Entry: FRU: 1, Record: OEM timestamped (0xC0),
MFG ID: 4C1C00, OEM Data: (00FE00000000) VID:0xFE00 DID:0x0000
Slot:0x00 Error ID:0x00",
"resolution": "",
"resolved": false,
"severity": "xyz.openbmc_project.Logging.Entry.Level.Critical",
"timestamp": "2024-10-11T15:38:05.221000000Z",
"updated_timestamp": "2024-10-11T15:38:05.221000000Z"
}
Change-Id: Id35a71ad52d3385118b7d701c16c7556e25bda34
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
1 file changed