×

签到

分享到微信

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

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

kylin v10 系统安装 驱动问题 vamos2024-04-30 09:06:52 回复 2 查看 技术答疑
kylin v10 系统安装 驱动问题
分享到:

【显卡型号】

Cambricon-MLU370-S4

【系统版本】

Linux localhost.localdomain 4.19.90-23.25.v2101.ky10.x86_64

【下载指令】

wget https://sdk.cambricon.com/static/Driver/MLU370_v5.10.22_X86_kylinv10_rpm/cambricon-mlu-driver-kylinV10-5.10.22-1.ky10.x86_64.rpm

【依赖包】

[root@localhost Downloads]# rpm -qa | grep dkms

dkms-2.0.19-9pclos2019.noarch

dkms-minimal-2.0.19-9pclos2019.noarch

[root@localhost Downloads]# rpm -qa | grep gcc

gcc-gfortran-7.3.0-20190804.h30.ky10.x86_64

gcc-c++-7.3.0-20190804.h30.ky10.x86_64

libgcc-8.3.1-4.5.ky10.x86_64

gcc-7.3.0-20190804.h30.ky10.x86_64

[root@localhost Downloads]# rpm -qa | grep kernel-headers-&(uname -r)

[1] 10544

4.19.90-23.25.v2101.ky10.x86_64

[root@localhost Downloads]# kernel-headers-4.19.90-23.25.v2101.ky10.x86_64

rpm -qa | grep kernel-devel-$(uname -r)

kernel-devel-4.19.90-23.25.v2101.ky10.x86_64

[1]+  Done                    rpm -qa | grep kernel-headers-

【安装指令】

 rpm -ivh cambricon-mlu-driver-kylinV10-5.10.22-1.ky10.x86_64.rpm --force --nodeps

【安装信息】

Done.

Loading new cambricon-mlu-driver-kylinV10-5.10.22 DKMS files...

dpkg: warning: version '4.19.90-23.25.v2101.ky10.x86_64' has bad syntax: invalid character in revision number

dpkg: warning: version '4.19.90-23.25.v2101.ky10.x86_64' has bad syntax: invalid character in revision number

dpkg: warning: version '4.19.90-24.4.v2101.ky10.x86_64' has bad syntax: invalid character in revision number

dpkg: warning: version '4.19.90-23.25.v2101.ky10.x86_64' has bad syntax: invalid character in revision number

Building for 4.19.90-23.25.v2101.ky10.x86_64 4.19.90-24.4.v2101.ky10.x86_64

Building initial module for 4.19.90-23.25.v2101.ky10.x86_64

Done.

Running module version sanity check.


cambricon-drv.ko.xz:

 - Installation

   - Installing to /lib/modules/4.19.90-23.25.v2101.ky10.x86_64/extra//


cambricon-peermem.ko.xz:

 - Installation

   - Installing to /lib/modules/4.19.90-23.25.v2101.ky10.x86_64/extra//


cambricon-gdrdrv.ko.xz:

 - Installation

   - Installing to /lib/modules/4.19.90-23.25.v2101.ky10.x86_64/extra//


cambricon-util_drv.ko.xz:

 - Installation

   - Installing to /lib/modules/4.19.90-23.25.v2101.ky10.x86_64/extra//

Adding any weak-modules

nm: 'a.out': No such file


Running post_install:

ls: cannot access './lib/firmwares': No such file or directory

cp: cannot stat 'cambricon_driver.modules': No such file or directory

ls: cannot access './lib/firmwares': No such file or directory

Error: there is no 'lib/firmwares/mluxxx/', please check it!


depmod.....


DKMS: install Completed.

Module build for kernel 4.19.90-24.4.v2101.ky10.x86_64 was skipped since the

kernel headers for this kernel does not seem to be installed.

cambricon-mlu-driver-kylinV10, 5.10.22, 4.19.90-23.25.v2101.ky10.x86_64, x86_64: installed

cambricon_drv        5074944  0

---------------------------------------------------------------

Driver installation is successful, it is recommended to restart

the machine to ensure that the driver works normally.

【重启后】

[root@localhost ~]# cnmon

cndev init failed: CNDEV_ERROR_UNKNOWN.



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