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.
    • Uninstall the driver.
      1
      2
      cd kae_driver
      make uninstall
      
    • Uninstall the warpdrive driver development library.
      1
      2
      cd warpdrive
      make uninstall
      
    • Uninstall the zlib library.
      1
      2
      cd kae_zip_engine
      sh setup.sh 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_qm,hisi_zip
      
    2. Uninstall the loaded drivers.
      1
      2
      3
      rmmod hisi_zip 
      rmmod hisi_qm
      rmmod uacce
      
    3. Check whether the uninstallation is successful. If no command output is displayed, the uninstallation is successful.
      1
      lsmod | grep uacce