Get SEL Entry
更新时间: 2026/08/06
在Gitcode上查看源码

Get SEL Entry

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Obtains SEL entries.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFnStorage 0Ah
CMD43h
1:2Reservation ID, LS Byte first. Only required for partial Get. Use 0000h otherwise.[1]
3:4SEL Record ID, LS Byte first.
0000h=GET FIRST ENTRY
FFFFh=GET LAST ENTRY
5Offset into record
6Bytes 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

ByteData Field
1Completion Code
Return an error completion code if the SEL is empty.
81h=cannot execute command, SEL erase in progress.
2:3Next 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:NRecord 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 0

Response:

text
0f 0b 00 43 00 02 00 01 00 02 5b 0b ef 61 20 00 04 10 4e 6f
             02 ff ff

Back to Index