Set Watchdog Timer
更新时间: 2026/08/06
在Gitcode上查看源码Set Watchdog Timer
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Sets the BMC watchdog timer.
Privilege
PowerMgnt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | App 06h |
| CMD | 24h |
| 1 | Timer Use [7]-1b=don't log. When the value is 1, the SEL is not recorded, but the timeout flag is still recorded. The flag can be cleared after the BMC is reset. [6]-1b=don't stop timer on Set Watchdog Timer command (new for IPMI v1.5) new parameters take effect immediately. If timer is already running, countdown value will get set to given value and countdown will continue from that point. If timer is already stopped, it will remain stopped. If the pre-timeout interrupt bit is set, it will get cleared. [1] 0b=timer stops automatically when Set Watchdog Timer command is received [5:3]-reserved [2:0]-timer use (logged on expiration when "don't log" bit=0b) 000b=reserved 001b=BIOS FRB2 010b=BIOS/POST 011b=OS Load 100b=SMS/OS 101b=OEM 110b -111b=reserved |
| 2 | Timer Actions [7]-reserved [6:4]-pre-timeout interrupt (logged on expiration when "don't log" bit=0b) 000b=none 001b=SMI (optional) 010b=NMI/Diagnostic Interrupt (optional) 011b=Messaging Interrupt (this is the same interrupt as allocated to the messaging interface, if communications interrupts are supported for the system interface.) 100b,111b=reserved [3]-reserved [2:0]-timeout action 000b=no action 001b=Hard Reset 010b=Power Down 011b=Power Cycle 100b,111b=reserved |
| 3 | Pre-timeout interval in seconds. '1' based. |
| 4 | Timer Use Expiration flags clear (0b=leave alone, 1b=clear timer use expiration bit) [7]-reserved [6]-reserved [5]-OEM [4]-SMS/OS [3]-OS Load [2]-BIOS/POST [1]-BIOS FRB2 [0]-reserved |
| 5 | Initial countdown value, lsbyte (100 ms/count) |
| 6 | Initial countdown value, msbyte |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
Command Example
Set the BMC watchdog timer.
Request:
bash
ipmicmd -k "0f 00 06 24 00 00 00 00 00 00" smi 0Response:
text
0f 07 00 24 00