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

Get SEL Info

Change History

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

Basic Information

Function Description

Obtains the SEL information.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFnStorage 0Ah
CMD40h

Response Information

ByteData Field
1Completion Code
81h=cannot execute command, SEL erase in progress
2SEL Version-version number of the SEL command set for this SEL Device.
51h for this IPMI2.0.
(BCD encoded).BCD encoded with bits 7:4 holding the Least Significant digit of the revision and bits 3:0 holding the Most Significant bits.
3Entries LS Byte-number of log entries in SEL, LS Byte
4Entries MS Byte-number of log entries in SEL, MS Byte
5:6Free Space in bytes, LS Byte first. FFFFh indicates 65535 or more bytes of free space are available.
7:10Most recent addition timestamp. LS byte first.
Returns FFFF_FFFFh if no SEL entries have ever been made or if a component update or error caused the retained value to be lost.
11:14Most recent erase timestamp. Last time that one or more entries were deleted from the log. LS byte first.
15Operation Support
[7]-Overflow Flag. 1=Events have been dropped due to lack of space in the SEL.
[6:4]-reserved. Write as 000
[3]-1b=Delete SEL command supported
[2]-1b=Partial Add SEL Entry command supported
[1]-1b=Reserve SEL command supported
[0]-1b=Get SEL Allocation Information command supported

Command Example

Obtain SEL information.

Request:

bash
ipmicmd -k "0f 00 0A 40" smi 0

Response:

text
0f 0b 00 40 00 51 49 00 70 78 6c 21 ef 61 90 06 ef 61 03

Back to Index