Get SEL Info
更新时间: 2025/06/26
在Gitcode上查看源码40h-获取SEL信息(Get-SEL-Info)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取SEL信息。
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | Storage 0Ah |
| CMD | 40h |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code 81h=cannot execute command, SEL erase in progress |
| 2 | SEL 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. |
| 3 | Entries LS Byte-number of log entries in SEL, LS Byte |
| 4 | Entries MS Byte-number of log entries in SEL, MS Byte |
| 5:6 | Free Space in bytes, LS Byte first. FFFFh indicates 65535 or more bytes of free space are available. |
| 7:10 | Most 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:14 | Most recent erase timestamp. Last time that one or more entries were deleted from the log. LS byte first. |
| 15 | Operation 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