下载
中文
注册

驱动升级过程中出现进程占用报错

问题描述

驱动升级过程中出现“The davinci nodes are occupied by some processes, please stop processes and install or uninstall again, details in : /var/log/ascend_seclog/ascend_install.log”报错,如图1所示。

图1 报错信息

可能原因

用户业务进程未关闭,升级过程被拦截。

解决方案

  1. 执行如下命令查看“/var/log/ascend_seclog/ascend_install.log”日志,确定未关闭的业务进程及其占用的节点信息。

    cat /var/log/ascend_seclog/ascend_install.log

    回显信息如下:

    [Driver] [2022-03-25 01:10:49] [WARNING]The setting hot reset flag does not take effect.
    [Driver] [2022-03-25 01:10:49] [WARNING]/dev/davinci_manager has user process:  47355
     root      47355  23097  0 01:10 pts/1    00:00:00 ./hlt_hdc_test 65 0 6 100
    [Driver] [2022-03-25 01:10:51] [ERROR]The davinci nodes are occupied by some processes, please stop processes and install or uninstall again.
  2. 用户自行停止业务进程后,重新升级驱动。