社区版本openUBMC博通BCM957414A4142CC网卡加载异常

【问题现象】环境上已正确连接该网卡,但在web 网络适配器及PCIE卡界面均未见该网卡信息

查看日志,BIOS上报BDF信息正常,对应Connector在位状态为1,日志提示未找到sr文件,但文件名看起来未正确拼接,缺少Bom编码

2025-04-23 05:01:55.342553 hwdiscovery ERROR: hwcomponent.lua(146): position: 0101010903, get component sr failed, error: Local file not found, open file failed: /opt/bmc/sr/14e416d7_14e41402.sr, status: 4, count: 1
2025-04-23 05:01:55.344309 hwdiscovery ERROR: hwcomponent.lua(146): position: 0101010903, get component sr failed, error: Local file not found, open file failed: /opt/bmc/sr/14e416d7_14e41402.sr, status: 4, count: 2

Connector信息

Connector_PCIE_SLOT3_01010109:
.AuxId                 : "14e41402"
.Bom                   : "14140130"
.Buses                 : ["I2cMux_Pca9545_PCA9545_3_01010109"]
.ChassisId             : ""
.GroupId               : 66
.GroupPosition         : "0101010903"
.Id                    : "14e416d7"
.IdentifyMode          : 2
.LoadStatus            : 4
.ManagerId             : "1"
.Presence              : 1
.SilkText              : "RiserCard2"
.Slot                  : 6
.SystemId              : 1
.Type                  : "PCIe"

这张卡的路径应该是/opt/bmc/sr/14140130_14e416d7_14e41402才能正常加载的。
理论上不应该有不拼接的情况,看看对应的连接器有没有异常打印。

framework.log (1.1 MB)
没有检索到有异常的

此处加载csr逻辑为先尝试寻找带Bom字段的名称,未找到的话再找不带Bom字段的,最后报错报的是不带Bom字段的名称;先检查一下拼接Bom字段的sr是否存在

使用openUBMC出包时确实没有包含这张卡的sr,感谢解答