Obtaining Device Bit Error Information
更新时间: 2026/08/06
在Gitcode上查看源码Obtaining Device Bit Error Information
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtain the bit error information of the device.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, subcommand = 66h |
| 5 | Device Type 0x01: BMC chip (The memory ECC function of the BMC chip needs to be enabled.) 0x02: BMC network port Other bits: reserved |
| 6 | Device No. When the device type is 0x01, the value is fixed to 0x01. If the device type is 0x02, set this parameter to the BMC network port number, which can be obtained by running the ifconfig command on the BMC CLI. |
| 7:9 | Reserved. The default value is 0x00. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code Returned Error Code 1. If the device type is 0x01 (BMC chip), 0xD5 is returned, indicating that ECC is disabled. |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5:N | The response varies according to the device type (least-significant byte first). 0x01: BMC chip 5:8 Number of single-bit ECCs9:12: number of multi-bit ECCs 0x02: network adapter 5:12 RX bit errors13:20 Number of TX bit errors |
Command Example
Obtain the bit error information of a device.
Request:
bash
ipmicmd -k "0f 00 30 93 db 07 00 66 01 01 00 00 00" smi 0Response:
text
0f 31 00 93 00 db 07 00 00 00 00 00 00 00 00 00