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

40h-获取SEL信息(Get-SEL-Info)

修订记录

openUBMC版本号修订日期修订内容
25.062025/06/26初稿,新增命令详情

基本信息

功能说明

获取SEL信息。

权限

ReadOnly

命令信息

请求信息

字节顺序域取值说明
NetFnStorage 0Ah
CMD40h

响应信息

字节顺序域取值说明
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

命令样例

获取SEL信息

请求:

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

响应:

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

返回到索引