Rate This Document
Findability
Accuracy
Completeness
Readability

Uninstalling KAE 1.0

If you do not need KAE 1.0 installed using source code or want to install a new version of KAE, refer to this section to uninstall KAE through the make uninstall command.

Procedure

  1. Use an SSH tool to remotely log in to the Linux CLI as the root user.
  2. Run the make uninstall command to uninstall the KAE driver packages and library packages that are installed using source code.
    1. Uninstall the driver.
      1
      2
      cd kae_driver
      make uninstall
      
    2. Uninstall the warpdrive driver development library.
      1
      2
      cd warpdrive
      make uninstall
      
    3. Uninstall the KAE.
      1
      2
      cd KAE
      make uninstall
      
  3. Restart the system or use commands to manually uninstall the accelerator drivers loaded to the kernel, and check whether the drivers are successfully uninstalled.
    1. View the drivers that have been loaded to the kernel.
      1
      lsmod | grep uacce
      
      Command output:
      1
      uacce                36864  3 hisi_sec2,hisi_qm,hisi_hpre,hisi_rde
      
    2. Uninstall the drivers in sequence.
      1
      2
      3
      4
      5
      rmmod hisi_hpre
      rmmod hisi_sec2
      rmmod hisi_rde 
      rmmod hisi_qm
      rmmod uacce
      
    3. Check whether the drivers are uninstalled successfully.
      1
      lsmod | grep uacce