Purpose:
Two modes are supported by how the BMC handles the SEL storage:
1. Stop on full condition (AMI BMC default)
2. Automatic rollover in full condition (SEL Overwrite)
Audience:
For the engineers who have experience on ipmitool and need to manually check SEL info for their developments.
Prerequisites:
-
The right to access AMI BMC through IPMI utility.
-
Full SEL logs for testing.
Procedures:
-
Read the SEL mode is "Stop SEL Logging On Full Condition (0x00)".
# ipmitool raw 0x32 0x7e
00
-
Get Sel info for percentage usage currently.
# ipmitool sel info
SEL Information
Version : 1.5 (v1.5, v2 compliant)
Entries : 3639
Free Space : 0 bytes
Percent Used : 100%
Last Add Time : 03/28/2022 11:14:28
Last Del Time : 06/07/2020 11:22:54
Overflow : true
Supported Cmds : 'Delete' 'Partial Add' 'Reserve' 'Get Alloc Info'
# of Alloc Units : 3639
Alloc Unit Size : 18
# Free Units : 0
Largest Free Blk : 0
Max Record Size : 1
# ipmitool sel elist last 1
e37 | 03/28/2022 | 11:14:28 | Processor PROC_STATE | Throttled | Asserted
-
Trigger a new Sel event through IPMI and rejected by out of space in "Stop in full" mode.
# ipmitool event PROC_STATE Throttled
Finding sensor PROC_STATE... ok
0 | Pre-Init |0000000000| Processor #0x04 | Throttled | Asserted
Platform Event Message command failed: Out of space
-
Re-Verify the last Sel event log as same as before with no latest event update.
# ipmitool sel elist last 1
e37 | 03/28/2022 | 11:14:28 | Processor PROC_STATE | Throttled | Asserted
-
SEL Mode configuration chang to "SEL Rollover On Full Condition(0x01)"
# ipmitool raw 0x32 0x7f 0x01
# ipmitool raw 0x32 0x7e
01
-
Re-Trigger a new Sel event through IPMI with no error.
# ipmitool event PROC_STATE Throttled
Finding sensor PROC_STATE... ok
0 | Pre-Init |0000000000| Processor #0x04 | Throttled | Asserted
-
Obtain the last Sel event log with new ID(e38)for event log, before is e37
# ipmitool sel elist last 1
e38 | 06/08/2022 | 21:45:15 | Processor #0x04 | Throttled | Asserted
-
Deasserted the testing sel and verify the latest sel event.
# ipmitool event PROC_STATE Throttled deasserted
Finding sensor PROC_STATE... ok
0 | Pre-Init |0000000000| Processor #0x04 | Throttled | Deasserted
# ipmitool sel elist last 1
e39 | 06/08/2022 | 22:34:21 | Processor #0x04 | Throttled | Deasserted
Comments
0 comments
Please sign in to leave a comment.