Get Backup SEL Entry
更新时间: 2025/06/26
在Gitcode上查看源码14h-获取备份SEL表项(Get-Backup-SEL-Entry)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取备份SEL表项。
权限
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | 30h |
| CMD | 91h |
| 1:3 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 4 | sub command=0x14 |
| 5 | Backup ID |
| 67 | Reservation ID, LS Byte first. |
| 8 | Operation: 0=Ready to get the backup SEL record, notify the IPMC ready the records data. 1= Get the backup SEL record 2=Finished reading the backup SEL record |
| (9:10) | This byte exists when byte 8=1. SEL Record ID, LS Byte first. 0000h=GET FIRST ENTRY FFFFh=GET LAST ENTRY |
| (11) | The byte 11 and byte 12 may absent. Offset into record |
| (12) | If byte 11 exist, this byte must be provied. Bytes to read. FFh means read entire record. |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code Return an error completion code if the SEL is empty. 80h=No backup SEL record 81h=Backup SEL erase in progress 82h=Backup SEL changed |
| 2:4 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 5:6 | 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. |
| 7:N | Record Data, 16 bytes for entire record. |
命令样例
获取系统健康事件
请求:
ipmicmd -k "0f 00 MM NN" smi 0响应:
0f MM NN