打开微信,使用扫一扫进入页面后,点击右上角菜单,
点击“发送给朋友”或“分享到朋友圈”完成分享
【显卡型号】
Cambricon-MLU370-S4
【系统版本】
Linux localhost.localdomain 4.19.90-23.25.v2101.ky10.x86_64
【下载指令】
【依赖包】
[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.
热门帖子
精华帖子