问题背景
我们在验证 3095 芯片的功能,据描述该芯片与 1712 规格完全相同
现交叉验证 3095 芯片功能,将一块 1712 插卡上的 BMC 芯片替换为了 3095 芯片,其余部分如 EMMC 保持不动
也就是说,当前插卡上,Flash 中搭载着先前在 1712 上完全运行正常的固件,在此条件下将 BMC 芯片替换为 3095
问题描述
1、BMC 固件启动后,出现组件启动异常与往复复位,ipmc 命令完全无法正常使用
问题现象:
1、ipmi 命令无法正常使用;
2、对外网口无法登录;
3、使用 veth 登录 BMC 后,操作 ipmcset / ipmcget 全部报内部错误,也无法升级任何固件;
4、接入串口,可见 key_mgmt 组件启动异常与 kmc master key 初始化异常(下面也有串口打印附图);
2026-12-02 07:14:23.915516 maca ERROR: init.lua(249): [key_mgmt]StartupCheck failed, error: initialization is not complete while checking the startup status, status: Starting, check count: 4
2026-12-02 07:14:38.927054 maca ERROR: init.lua(249): [key_mgmt]StartupCheck failed, error: initialization is not complete while checking the startup status, status: Starting, check count: 5
2026-12-02 07:14:53.936515 maca ERROR: init.lua(249): [key_mgmt]StartupCheck failed, error: initialization is not complete while checking the startup status, status: Starting, check count: 6
1970-01-01 00:00:18.417468 key_mgmt ERROR: scm3.lua(165): retry transfer failed: Decrypt BMC master key failed, resp_code:0x8006, count: 3
1970-01-01 00:00:18.418339 key_mgmt ERROR: scm3.lua(178): Master Key Decode failed
1970-01-01 00:00:18.420211 key_mgmt ERROR: [C](65535): [WSEC_CBB][][530] (UTC) 1970-01-01 00:00:18 HardRkLoadGetSrk WsecKmcHwDecData() failed 1
1970-01-01 00:00:18.421273 key_mgmt ERROR: [C](65535): [WSEC_CBB][][607] (UTC) 1970-01-01 00:00:18 KmcHardRkLoad failed 1
1970-01-01 00:00:18.422381 key_mgmt ERROR: [C](65535): [WSEC_CBB][][689] (UTC) 1970-01-01 00:00:18 LoadHwRootKey failed 1.
1970-01-01 00:00:18.423527 key_mgmt ERROR: [C](65535): [WSEC_CBB][][790] (UTC) 1970-01-01 00:00:18 ReadRootKeyByHandle() failed 1
1970-01-01 00:00:18.424712 key_mgmt ERROR: [C](65535): [WSEC_CBB][][1456] (UTC) 1970-01-01 00:00:18 All KSF is corrupt
1970-01-01 00:00:18.425911 key_mgmt ERROR: [C](65535): [WSEC_CBB][][219] (UTC) 1970-01-01 00:00:18 [KMC] ReadKsfSafety failed 287.
1970-01-01 00:00:18.427104 key_mgmt ERROR: [C](65535): [WSEC_CBB][][289] (UTC) 1970-01-01 00:00:18 KmcInitializeEx failed 287, Finalize ret 0.
1970-01-01 00:00:18.428327 key_mgmt ERROR: [C](65535): [WSEC_CBB][][789] (UTC) 1970-01-01 00:00:18 WSEC initialize failed.
1970-01-01 00:00:18.429621 key_mgmt ERROR: kmc.lua(429): kmc init failed, ret: 287, count: 1
1970-01-01 00:00:18.433069 key_mgmt ERROR: [C](65535): [WSEC_CBB][][1371] (UTC) 1970-01-01 00:00:18 Open KSF failed.
1970-01-01 00:00:18.435909 key_mgmt ERROR: scm3.lua(165): retry transfer failed: Decrypt BMC master key failed, resp_code:0x8006, count: 1
1970-01-01 00:00:18.436635 unknown_service NOTICE: base.lua(88): component[manufacture] is detected in the environment
1970-01-01 00:00:18.437792 key_mgmt ERROR: scm3.lua(165): retry transfer failed: Decrypt BMC master key failed, resp_code:0x8006, count: 2
1970-01-01 00:00:18.439721 key_mgmt ERROR: scm3.lua(165): retry transfer failed: Decrypt BMC master key failed, resp_code:0x8006, count: 3
1970-01-01 00:00:18.440910 key_mgmt ERROR: scm3.lua(178): Master Key Decode failed
1970-01-01 00:00:18.442328 key_mgmt ERROR: [C](65535): [WSEC_CBB][][530] (UTC) 1970-01-01 00:00:18 HardRkLoadGetSrk WsecKmcHwDecData() failed 1
1970-01-01 00:00:18.443489 key_mgmt ERROR: [C](65535): [WSEC_CBB][][607] (UTC) 1970-01-01 00:00:18 KmcHardRkLoad failed 1
1970-01-01 00:00:18.444637 key_mgmt ERROR: [C](65535): [WSEC_CBB][][689] (UTC) 1970-01-01 00:00:18 LoadHwRootKey failed 1.
1970-01-01 00:00:18.445686 key_mgmt ERROR: [C](65535): [WSEC_CBB][][790] (UTC) 1970-01-01 00:00:18 ReadRootKeyByHandle() failed 1
1970-01-01 00:00:18.446837 key_mgmt ERROR: [C](65535): [WSEC_CBB][][1456] (UTC) 1970-01-01 00:00:18 All KSF is corrupt
1970-01-01 00:00:18.448091 key_mgmt ERROR: [C](65535): [WSEC_CBB][][219] (UTC) 1970-01-01 00:00:18 [KMC] ReadKsfSafety failed 287.
1970-01-01 00:00:18.449429 key_mgmt ERROR: [C](65535): [WSEC_CBB][][289] (UTC) 1970-01-01 00:00:18 KmcInitializeEx failed 287, Finalize ret 0.
1970-01-01 00:00:18.450612 key_mgmt ERROR: [C](65535): [WSEC_CBB][][789] (UTC) 1970-01-01 00:00:18 WSEC initialize failed.
1970-01-01 00:00:18.451746 key_mgmt ERROR: kmc.lua(429): kmc init failed, ret: 287, count: 2
2、在 uboot 中做深度恢复出厂,再次启动 BMC 系统,不再出现持续复位,但是 KMC 相关功能仍然失效
2026-12-02 07:22:24.368473 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:24 KMC not running.
2026-12-02 07:22:24.369124 key_mgmt ERROR: key_service.lua(375): Key Service update domain 2 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[2] mk failed, ret = 155
2026-12-02 07:22:24.470494 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:24 KMC not running.
2026-12-02 07:22:24.470974 key_mgmt ERROR: key_service.lua(375): Key Service update domain 3 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[3] mk failed, ret = 155
2026-12-02 07:22:24.571051 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:24 KMC not running.
2026-12-02 07:22:24.571583 key_mgmt ERROR: key_service.lua(375): Key Service update domain 4 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[4] mk failed, ret = 155
2026-12-02 07:22:24.672635 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:24 KMC not running.
2026-12-02 07:22:24.673190 key_mgmt ERROR: key_service.lua(375): Key Service update domain 5 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[5] mk failed, ret = 155
2026-12-02 07:22:24.773899 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:24 KMC not running.
2026-12-02 07:22:24.774395 key_mgmt ERROR: key_service.lua(375): Key Service update domain 6 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[6] mk failed, ret = 155
2026-12-02 07:22:24.875328 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:24 KMC not running.
2026-12-02 07:22:24.875820 key_mgmt ERROR: key_service.lua(375): Key Service update domain 7 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[7] mk failed, ret = 155
2026-12-02 07:22:24.976420 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:24 KMC not running.
2026-12-02 07:22:24.976919 key_mgmt ERROR: key_service.lua(375): Key Service update domain 8 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[8] mk failed, ret = 155
2026-12-02 07:22:25.077582 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:25 KMC not running.
2026-12-02 07:22:25.078061 key_mgmt ERROR: key_service.lua(375): Key Service update domain 10 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[10] mk failed, ret = 155
2026-12-02 07:22:25.168651 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:25 KMC not running.
2026-12-02 07:22:25.169140 key_mgmt ERROR: key_service.lua(375): Key Service update domain 11 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[11] mk failed, ret = 155
2026-12-02 07:22:25.269804 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:25 KMC not running.
2026-12-02 07:22:25.270283 key_mgmt ERROR: key_service.lua(375): Key Service update domain 12 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[12] mk failed, ret = 155
2026-12-02 07:22:25.370936 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:25 KMC not running.
2026-12-02 07:22:25.371427 key_mgmt ERROR: key_service.lua(375): Key Service update domain 13 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[13] mk failed, ret = 155
2026-12-02 07:22:25.472194 key_mgmt ERROR: [C](65535): [WSEC_CBB][][98] (UTC) 2026-12-02 07:22:25 KMC not running.
2026-12-02 07:22:25.472705 key_mgmt ERROR: key_service.lua(375): Key Service update domain 14 master key failed, err: ./opt/bmc/apps/key_mgmt/lualib/master_key.lua:110: create domain[14] mk failed, ret = 155
2026-12-02 07:22:25.573414 key_mgmt ERROR: key_service.lua(396): Key Service failed to notify master key update, err: ./opt/bmc/libmc/lualib/mc/app_preloader.lua:455: bad argument #1 to 'original_open_s' (string expected, got nil)
3、在 2 的基础上重启 BMC,会恢复变为 1 的往复复位状态
深度恢复出厂 → BMC 能启动,不会复位,但是 KMC 初始化失败
再次使用 ipmcset -d reset 重启 BMC → key_mgmt 组件持续启动异常,BMC 陷入往复复位
再次深度恢复出厂 → BMC 能启动,不会复位,但是 KMC 初始化失败
诉求
请帮忙确认问题的可能原因,从 1712 直接替换 3095 芯片是一种可行操作吗?KMC 功能为何没有正常工作,是需要额外烧录 efuse 之类的吗?
一键收集见下方回帖
