问题描述
920L模组,载板上有三个PCIe槽,没有riser卡,I2c7通过切换0XE0的PCA9546可以切换PCIe槽。现在BMC正确加载Altas 300v PRO sr文件,但是读不到温度,功率等具体数据。
OS下NPU信息
[root@localhost ~]# npu-smi info -t board -i 1
NPU ID : 1
Product Name : IT21PDDA012
Model : NA
Manufacturer : Huawei
Serial Number : 2106030729ZERB007612
Software Version : 25.2.0
Firmware Version : 1.82.22.8.220
Compatibility : NOK
Board ID : 0xaf
PCB ID : B
BOM ID : 1
PCIe Bus Info : 0000:05:00.0
Slot ID : 1
Class ID : NA
PCI Vendor ID : 0x19E5
PCI Device ID : 0xD500
Subsystem Vendor ID : 0x0200
Subsystem Device ID : 0x0100
Chip Count : 1
Chip Fault : 0
BCU关于pcie的配置如下:
"ManagementTopology": {
"I2c_7": {
"Chips": [
"Pca9545_PCA9545"
]
},
"Pca9545_PCA9545": {
"Buses": [
"I2cMux_Pca9545_PCA9545_3",
"I2cMux_Pca9545_PCA9545_2",
"I2cMux_Pca9545_PCA9545_1"
]
},
"I2cMux_Pca9545_PCA9545_1": {
"Connectors": [
"Connector_PCIE_SLOT_1"
]
},
"I2cMux_Pca9545_PCA9545_2": {
"Connectors": [
"Connector_PCIE_SLOT_2"
]
},
"I2cMux_Pca9545_PCA9545_3": {
"Connectors": [
"Connector_PCIE_SLOT_3"
]
},
},
"Objects": {
"Pca9545_PCA9545": {
"OffsetWidth": 0,
"AddrWidth": 1,
"Address": 224,
"WriteTmout": 100,
"ReadTmout": 100,
"HealthStatus": 0
},
}
tracechip log如下:
1970-01-02 03:14:56.589715, bmc.kepler.compute, block_write, Chip_Dmini_01010101, addr: 216, offset: 32, write_data: 30 43 20 38 30 20 30 30 20 30 32 20 30 30 20 30 30 20 30 30 20 30 30 20 30 30 20 31 34 20 30 30 20 30 30 20 30 30 20 45 33 20 , write_result: ./opt/bmc/apps/hwproxy/lualib/stream/i2c.lua:117: response error, i2c write fail, ret: 5, input:{"len":14,"drv_write_delay":0,"rw_type":0,"bus_type":0,"type":1,"buffer":"0C 80 00 02 00 00 00 00 00 14 00 00 00 E3 ","offsetWidth":1,"addrWidth":1,"addr":216,"has_error":false,"name":"Chip_Dmini_01010101","offset":32,"is_trace":true,"mask":4294967295,"requestor":"bmc.kepler.compute"}
1970-01-02 03:14:56.590996, bmc.kepler.compute, block_read, Chip_Dmini_01010101, addr: 216, offset: 33, read_length: 34, read_result: ./opt/bmc/apps/hwproxy/lualib/stream/i2c.lua:117: response error, i2c read fail, ret: 5, input:{"len":34,"drv_write_delay":0,"rw_type":1,"bus_type":0,"type":1,"offsetWidth":1,"addrWidth":1,"addr":216,"has_error":false,"name":"Chip_Dmini_01010101","offset":33,"is_trace":true,"mask":4294967295,"requestor":"bmc.kepler.compute"}
1970-01-02 03:14:56.592905, bmc.kepler.compute, block_write, Chip_Dmini_01010101, addr: 216, offset: 32, write_data: 30 43 20 38 30 20 30 30 20 30 34 20 30 30 20 30 30 20 30 30 20 30 30 20 30 30 20 30 32 20 30 30 20 30 30 20 30 30 20 38 37 20 , write_result: ./opt/bmc/apps/hwproxy/lualib/stream/i2c.lua:117: response error, i2c write fail, ret: 5, input:{"len":14,"drv_write_delay":0,"rw_type":0,"bus_type":0,"type":1,"buffer":"0C 80 00 04 00 00 00 00 00 02 00 00 00 87 ","offsetWidth":1,"addrWidth":1,"addr":216,"has_error":false,"name":"Chip_Dmini_01010101","offset":32,"is_trace":true,"mask":4294967295,"requestor":"bmc.kepler.compute"}
1970-01-02 03:14:56.593982, bmc.kepler.compute, block_read, Chip_Dmini_01010101, addr: 216, offset: 33, read_length: 16, read_result: ./opt/bmc/apps/hwproxy/lualib/stream/i2c.lua:117: response error, i2c read fail, ret: 5, input:{"len":16,"drv_write_delay":0,"rw_type":1,"bus_type":0,"type":1,"offsetWidth":1,"addrWidth":1,"addr":216,"has_error":false,"name":"Chip_Dmini_01010101","offset":33,"is_trace":true,"mask":4294967295,"requestor":"bmc.kepler.compute"}
1970-01-02 03:14:56.782414, bmc.kepler.compute, block_write, Chip_Dmini_01010101, addr: 216, offset: 32, write_data: 30 43 20 38 30 20 30 30 20 30 32 20 30 30 20 30 30 20 30 30 20 30 30 20 30 30 20 31 34 20 30 30 20 30 30 20 30 30 20 45 33 20 , write_result: ./opt/bmc/apps/hwproxy/lualib/stream/i2c.lua:117: response error, i2c write fail, ret: 5, input:{"len":14,"drv_write_delay":0,"rw_type":0,"bus_type":0,"type":1,"buffer":"0C 80 00 02 00 00 00 00 00 14 00 00 00 E3 ","offsetWidth":1,"addrWidth":1,"addr":216,"has_error":false,"name":"Chip_Dmini_01010101","offset":32,"is_trace":true,"mask":4294967295,"requestor":"bmc.kepler.compute"}
1970-01-02 03:14:56.783693, bmc.kepler.compute, block_read, Chip_Dmini_01010101, addr: 216, offset: 33, read_length: 34, read_result: ./opt/bmc/apps/hwproxy/lualib/stream/i2c.lua:117: response error, i2c read fail, ret: 5, input:{"len":34,"drv_write_delay":0,"rw_type":1,"bus_type":0,"type":1,"offsetWidth":1,"addrWidth":1,"addr":216,"has_error":false,"name":"Chip_Dmini_01010101","offset":33,"is_trace":true,"mask":4294967295,"requestor":"bmc.kepler.compute"}
1970-01-02 03:14:56.785040, bmc.kepler.compute, block_write, Chip_Dmini_01010101, addr: 216, offset: 32, write_data: 30 43 20 38 30 20 30 30 20 30 34 20 30 30 20 30 30 20 30 30 20 30 30 20 30 30 20 30 32 20 30 30 20 30 30 20 30 30 20 38 37 20 , write_result: ./opt/bmc/apps/hwproxy/lualib/stream/i2c.lua:117: response error, i2c write fail, ret: 5, input:{"len":14,"drv_write_delay":0,"rw_type":0,"bus_type":0,"type":1,"buffer":"0C 80 00 04 00 00 00 00 00 02 00 00 00 87 ","offsetWidth":1,"addrWidth":1,"addr":216,"has_error":false,"name":"Chip_Dmini_01010101","offset":32,"is_trace":true,"mask":4294967295,"requestor":"bmc.kepler.compute"}
1970-01-02 03:14:56.786336, bmc.kepler.compute, block_read, Chip_Dmini_01010101, addr: 216, offset: 33, read_length: 16, read_result: ./opt/bmc/apps/hwproxy/lualib/stream/i2c.lua:117: response error, i2c read fail, ret: 5, input:{"len":16,"drv_write_delay":0,"rw_type":1,"bus_type":0,"type":1,"offsetWidth":1,"addrWidth":1,"addr":216,"has_error":false,"name":"Chip_Dmini_01010101","offset":33,"is_trace":true,"mask":4294967295,"requestor":"bmc.kepler.compute"}
是否要将I2c7换成hisport?我查到920L模组是有一组hisport的,但是我不知道要用hisport几,BCU目前传入了hisport0~hisport21,也不知道hisport如何跟i2c7关联起来。

