Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Unable to uninstall SGX Driver

Rama__Klei
Beginner
2,123 Views

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
2,123 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,

0 Kudos
dating
Beginner
1,866 Views
 
sudo service aesmd stop
 
sudo /opt/intel/sgxdriver/uninstall.sh
Reply