鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

编译卸载

  1. 卸载KAE Driver。
    1. 卸载用户态驱动。
      1
      cd /home/KAEdriver-1.3.11/warpdrive
      
      1
      make uninstall
      
    2. 卸载内核态驱动。
      1
      cd /home/KAEdriver-1.3.11/kae_driver
      
      1
      make uninstall
      
  2. 卸载KAE。
    1
    cd /home/KAE-1.3.11
    
    1
    make uninstall
    
  3. 卸载驱动。
    1
    2
    3
    4
    5
    6
    rmmod hisi_hpre
    rmmod hisi_zip
    rmmod hisi_rde
    rmmod hisi_sec2
    rmmod hisi_qm
    rmmod uacce
    

    如果用以上命令无法卸载,先执行如下命令(modname替换为实际的驱动)。

    1
    modprobe -r modname
    
  4. 查询驱动,回显结果为空。
    1
    2
    lsmod | grep uacce
    lsmod | grep hisi_hpre
    
  5. 查看KAE加速设备(虚拟设备),提示“No such file or directory”。
    1
    ls /sys/class/uacce/