Obtaining Device Bit Error Information
更新时间: 2026/08/06
在Gitcode上查看源码

Obtaining Device Bit Error Information

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Obtain the bit error information of the device.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer 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.
4Sub command, subcommand = 66h
5Device Type
0x01: BMC chip (The memory ECC function of the BMC chip needs to be enabled.)
0x02: BMC network port
Other bits: reserved
6Device 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:9Reserved. The default value is 0x00.

Response Information

ByteData Field
1Completion Code
Returned Error Code
1. If the device type is 0x01 (BMC chip), 0xD5 is returned, indicating that ECC is disabled.
2:4Manufacturer 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:NThe 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 0

Response:

text
0f 31 00 93 00 db 07 00 00 00 00 00 00 00 00 00

Back to Index