×

签到

分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

寒武纪MLU370-S4适配海光麒麟系统 解决中 hdh2024-11-16 11:11:50 回复 1 查看 技术答疑 使用求助
寒武纪MLU370-S4适配海光麒麟系统
分享到:

【寒武纪MLU370-S4适配海光麒麟系统出现不能识别GPU卡】

 【寒武纪硬件产品型号】必填*:MLU370-S4


【使用操作系统】必填*:kylin-4.19


【使用驱动版本】必填*:cambricon-mlu-driver-kylinV10-5.10.22-1.ky10.x86_64.rpm


【出错信息】必填*:

[wiat@localhost ~]$ sudo dmesg | grep Card

[    6.848164] INFO: [Card0][cn_pci_set_dma_mask][282][CPU 0]: set pcie dma mask64 ok

[    6.848182] INFO: [Card0][cn_core_init_idx][1803][CPU 0]: core idx:0 pf_idx:0 vf_idx:0

[    6.848185] INFO: [Card0][cn_core_probe][2115][CPU 0]: xid init ok, time cost:0(ms)

[    6.848219] INFO: [Card0][c30s_bug_fix_list][2408][CPU 0]: system info dmi_board_name : VPX-C36-3D3_Z32

[    6.848222] INFO: [Card0][c30s_retrain_link_speed][1700][CPU 0]: current link speed:2.5GT/s current link width:x16

[    6.848223] INFO: [Card0][c30s_pcie_reg_read64][743][CPU 0]: reg_read illegal addr:0x80

[    6.848229] INFO: [Card0][c30s_retrain_link_speed][1711][CPU 0]: change capability to gen4x16 k_gen:0x60187fc0

[    6.848231] INFO: [Card0][c30s_retrain_link_speed][1718][CPU 0]: target link speed:8.0GT/s target link width:x16

[    6.848233] INFO: [Card0][cn_pci_change_speed][872][CPU 0]: current link speed:2.5GT/s target link speed:8.0GT/s

[    6.848234] INFO: [Card0][cn_pci_change_speed][874][CPU 0]: current link width:x16 target link width:x16

[    6.848319] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    6.848325] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    6.848328] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    6.848332] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    6.877587] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    6.877589] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x16

[    6.877673] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    6.877679] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    6.877682] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    6.877687] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    6.949689] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    6.949691] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    6.949786] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    6.949793] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    6.949796] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    6.949801] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    6.981614] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    6.981617] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    6.981710] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    6.981718] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    6.981721] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    6.981727] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.013596] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.013598] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.013690] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.013696] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.013698] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.013703] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.045587] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.045589] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.045678] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.045684] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.045687] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.045692] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.077599] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.077601] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.077694] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.077700] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.077702] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.077707] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.109594] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.109596] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.109686] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.109692] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.109695] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.109700] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.141604] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.141606] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.141701] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.141708] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.141710] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.141715] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.174402] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.174403] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.174492] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.174498] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.174501] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.174506] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.205591] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.205593] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.205684] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.205690] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.205693] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.205698] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.237597] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.237599] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.237688] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.237695] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.237697] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.237702] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.263276] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.263277] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.263375] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.263381] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.263384] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.263388] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.293578] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.293579] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.293667] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.293673] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.293675] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.293680] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.325591] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.325592] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.325683] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.325689] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.325691] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.325695] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.351365] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.351367] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.351466] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.351472] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.351474] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.351480] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.377593] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.377594] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.377694] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.377701] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.377704] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.377710] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.403787] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.403789] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.403883] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.403889] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.403892] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.403896] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.433581] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.433582] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.433673] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.433679] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.433681] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.433685] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.465579] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.465580] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.465668] INFO: [Card0][cn_pci_change_speed][913][CPU 0]: setting pdev target link speed PCI_EXP_LNKCTL2 0x3

[    7.465674] INFO: [Card0][cn_pci_link_eq_set][833][CPU 0]: set parent link eq PCI_SEC_LNKCTL3 0x1

[    7.465676] INFO: [Card0][cn_pci_change_speed][935][CPU 0]: setting parent target link speed PCI_EXP_LNKCTL2 0x3

[    7.465680] INFO: [Card0][cn_pci_retrain_set][846][CPU 0]: set parent PCI_EXP_LNKCTL 0x20

[    7.497580] INFO: [Card0][cn_pci_change_speed][979][CPU 0]: PCIe link change speed to 2.5GT/s

[    7.497581] INFO: [Card0][cn_pci_change_speed][980][CPU 0]: PCIe link change width to x2

[    7.497582] ERROR: [Card0][cn_pci_change_speed][983][CPU 0]: pcie change speed fail

[    7.497587] INFO: [Card0][c30s_retrain_link_speed][1723][CPU 0]: retrain to gen3 failed

[    7.497588] ERROR: [Card0][c30s_bug_fix_list][2423][CPU 0]: retrain link speed fail

[    7.497612] INFO: [Card0][cn_core_probe][2115][CPU 0]: bus_set_stru init fail, time cost:652(ms)

[    7.497615] INFO: [Card0][core_fn_exit][2091][CPU 0]: xid exit ok, time cost:0(ms)

[    7.497616] INFO: [Card0][cn_core_struct_exit][1929][CPU 0]: core 0 will be removed

[    7.497619] ERROR: [Card0][cn_pci_probe][1311][CPU 0]: cn_bus_probe failed

[wiat@localhost ~]$

[wiat@localhost ~]$

[wiat@localhost ~]$

[wiat@localhost ~]$


【当前已做了哪些信息确认】选填:

image.png

【参考配置文档链接】选填


【相关日志文档】选填
如有,可附件



版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭