1970-01-01 04:12:55.801139 hwproxy NOTICE: dispatch.lua(101): position: 0103, chip: Chip_SmbusChip_0103, start creat predevice bus handle, pre_device: I2c_8,is main app: true, not scans: true, not buses: false
1970-01-01 04:12:55.815597 hwproxy NOTICE: object_manage.lua(342): add objects completely, path: /bmc/kepler/ObjectGroup/0103, life cycle id: 1, took 90ms, uptime: 8467 s
1970-01-01 04:12:55.831662 hwproxy NOTICE: dispatch.lua(221): position: 0103, start to process chips in pre_type: Bus, topo_data[I2c_8], chip nums: 1
1970-01-01 04:12:55.838681 hwproxy NOTICE: dispatch.lua(101): position: 0103, chip: Chip_SmbusChip_0103, start creat predevice bus handle, pre_device: I2c_8,is main app: false, not scans: true, not buses: false
1970-01-01 04:12:55.967339 hwproxy NOTICE: init.lua(21): [smbus_plugins] ctor
除了上面这种,还有: [:00000014] hardware: LAUNCH snlua mctpd/service/smbus_write_read_service
=====================================================================================================================
尝试了下tracechip追踪Chip_SmbusChip_0103,返回:
1970-01-01 05:31:26.827905, bmc.kepler.hwproxy, block_read, Chip_SmbusChip_0103, addr: 146, offset: 0, read_length: 259, read_result: ./opt/bmc/apps/hwproxy/lualib/stream/i2c.lua:120: response error, i2c read fail, ret: false, input:{“is_trace”:true,“has_error”:false,“offset”:0,“bus_type”:0,“rw_type”:1,“mask”:4294967295,“buffer”:"92 0F 0A 21 01 00 08 C9 00 82 01 00 1E 1D ",“requestor”:“bmc.kepler.hwproxy”,“addrWidth”:1,“addr”:146,“len”:259,“type”:1,“protocol_flag”:2,“name”:“Chip_SmbusChip_0103”,“offsetWidth”:1}
为什么会出现block read和i2c read fail。