Get SEL Entry
更新时间: 2026/08/06
在Gitcode上查看源码Get SEL Entry
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtains SEL entries.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | Storage 0Ah |
| CMD | 43h |
| 1:2 | Reservation ID, LS Byte first. Only required for partial Get. Use 0000h otherwise.[1] |
| 3:4 | SEL Record ID, LS Byte first. 0000h=GET FIRST ENTRY FFFFh=GET LAST ENTRY |
| 5 | Offset into record |
| 6 | Bytes to read. FFh means read entire record. |
| The reservation ID should be set to 0000h for implementations that don't implement the Reserve SEL command. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code Return an error completion code if the SEL is empty. 81h=cannot execute command, SEL erase in progress. |
| 2:3 | Next SEL Record ID, LS Byte first (return FFFFh if the record just returned is the last record.) Note: FFFFh is not allowed as the record ID for an actual record. I.e. the Record ID in the Record Data for the last record should not be FFFFh. |
| 4:N | Record Data, 16 bytes for entire record |
Command Example
Obtain SEL entries.
Request:
bash
ipmicmd -k "0f 00 0A 43 00 00 00 00 00 ff" smi 0Response:
text
0f 0b 00 43 00 02 00 01 00 02 5b 0b ef 61 20 00 04 10 4e 6f
02 ff ff