驱动安装过程中出现类似如下报错。
[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.
内核不匹配
cat /var/log/ascend_seclog/ascend_install.log
cat /var/lib/dkms/davinci_ascend/1.0/build/make.log
./Ascend-hdk-310p-npu-driver_24.1.rc3_linux-aarch64.run --noexec --extract=./tmp
./Ascend-hdk-310p-npu-driver_24.1.rc3_linux-x86-64.run --noexec --extract=./tmp
/usr/local/Ascend/driver/script/uninstall.sh
./driver/script/install.sh -- -- --full
./Ascend-hdk-310p-npu-driver_24.1.rc3_linux-aarch64.run --repack-path=./tmp new_driver_5.4.0.run
./Ascend-hdk-310p-npu-driver_24.1.rc3_linux-x86-64.run --repack-path=./tmp new_driver_5.4.0.run
cat /var/log/ascend_seclog/ascend_rebuild.log