Chassis Control
更新时间: 2025/06/26
在Gitcode上查看源码

02h-机箱控制(Chassis-Control)

修订记录

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

基本信息

功能说明

机箱控制。

权限

PowerMgnt

命令信息

请求信息

字节顺序域取值说明
NetFnChassis 00h
CMD02h
1[7:4]-reserved
[3:0]-chassis control
0h=power down. Force system into soft off (S4/S45) state. This is for 'emergency' management power down actions. The command does not initiate a clean shut-down of the operating system prior to powering down the system.
1h=power up.
2h=power cycle (optional). This command provides a power off interval of at least 1 second following the deassertion of the system's POWERGOOD status from the main power subsystem. It is recommended that no action occur if system power is off (S4/S5) when this action is selected, and that a D5h "Request parameter(s) not supported in present state." error completion code be returned. Note that some implementations may cause a system power up if a power cycle operation is selected when system power is down. For consistency of operation, it is recommended that system management software first check the system power state before issuing a power cycle, and only issue the command if system power is ON or in a lower sleep state than S4/S5.
3h=hard reset. In some implementations, the BMC may not know whether a reset will cause any particular effect and will pulse the system reset signal regardless of power state. If the implementation can tell that no action will occur if a reset is delivered in a given power state, then it is recommended (but still optional) that a D5h "Request parameter(s) not supported in present state." error completion code be returned.
4h=pulse Diagnostic Interrupt. (optional) Pulse a version of a diagnostic interrupt that goes directly to the processor(s). This is typically used to cause the operating system to do a diagnostic dump (OS dependent). The interrupt is commonly an NMI on IA-32 systems and an INIT on Intel® Itanium™ processor based systems.
5h=Initiate a soft-shutdown of OS via ACPI by emulating a fatal overtemperature. (optional)
6h=graceful power cycle(reserved extend options, optional)
7h=AC cycle(reserved extend options, optional, additional)
all other=reserved

响应信息

字节顺序域取值说明
1Completion Code 说明:- The implementation is allowed to return the completion code prior to performing the selected control action if necessary.- The command can also be used for compute blades or compute partition applications where the blades or partitions entities are emulating independent computer systems that implement IPMI. In these applications, the chassis power control aspects of the command are not required to be supported. Individual blades or computer partitions can elect to either not support the power on/off functions, can use them for power control of the blade/partition independent of the containing chassis, or may map them into a power control scheme for the overall chassis. For example, a scheme where chassis power will go off only- chassis control option 7h can be executed additionally while the AC function is enabled. The completion code 0xD5(Command not supported in present state) while the AC function is disabled.

命令样例

机箱控制

请求:

ipmicmd -k "0f 00 00 02 01" smi 0

响应:

0f 01 00 02 00

返回到索引