Get System Restart Cause oem
更新时间: 2025/06/26
在Gitcode上查看源码11h-获取系统重启原因(Get-System-Restart-Cause-oem)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取系统重启原因。
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | 30h |
| CMD | 92h |
| 1:3 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 4 | Sub command,子命令=11h |
| 5 | fruid 00h - main board 01h - base 02h - fabric |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 5 | Restart Cause [7:4]-reserved [3:0]-0h=unknown (system start/restart detected, but cause unknown) [required if this condition exists] 1h=Chassis Control command [required] 2h=reset via pushbutton [optional] 3h=power-up via power pushbutton [optional] 4h=Watchdog expiration (see watchdog flags) [required] 5h=OEM [optional] 6h=automatic power-up on AC being applied due to 'always restore' power restore policy [optional] 7h=automatic power-up on AC being applied due to 'restore previous power state' power restore policy [optional] 8h=reset via PEF [required if PEF reset supported] 9h=power-cycle via PEF [required if PEF power-cycle supported] Ah=soft reset (e.g. CTRL-ALT-DEL) [optional] Bh=power-up via RTC (system real time clock) wakeup [optional] all other=reserved |
| 6 | Channel number. (Channel that command was received over) |
命令样例
获取系统重启原因
请求:
ipmicmd -k "0f 00 30 92 db 07 00 11 00" smi 0响应:
0f db 07 00 00 00