驱动安装过程中出现dkms编译失败报错
问题描述
驱动安装过程中出现类似如下报错。
[ERROR]Dkms install failed, details in : var/log/ascend_seclog/ascend_install.log. [ERROR]Driver_ko_install failed, details in : /var/log/ascend_seclog/ascend_install.log.
图1 报错信息


可能原因
由于dkms工具问题导致驱动编译失败后残留。
解决方案
- 进入“/var/lib/dkms”目录。
cd /var/lib/dkms
- 删除“davinci_ascend”目录。
rm -rf davinci_ascend
- 重新安装驱动。具体请参见安装驱动。
父主题: FAQ