Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Rama__Klei
Beginner
403 Views

Unable to uninstall SGX Driver

Hi,

I am trying to uninstall sgx driver because I want to get the latest update but when I run uninstall script file located under opt/intel/sgxdriver it give me the following error: 

Uninstall failed because the kernel module is in use

I have also stopped aesmd service and I still got the above error.

I have uninstalled Intel SGX SDK and have disablet Intel SGX technology at my BIOS.

Am I missing something?

0 Kudos
2 Replies
JesusG_Intel
Moderator
403 Views

Hello Klei,

Blacklist intel_sgx, so it does not get loaded, then uninstall.

  1. edit /etc/modprobe.d/blacklist.conf
  2. add line: blacklist intel_sgx
  3. reboot
  4. Now intel_sgx will not be loaded. Test with lsmod | grep intel_sgx.
  5. sudo opt/intel/sgxdriver/uninstall.sh

Regards,

dating
Beginner
146 Views

 
sudo service aesmd stop
 
sudo /opt/intel/sgxdriver/uninstall.sh
Reply