Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

Can't install Intel SGX Driver

anguyen0620
Beginner
774 Views

Hi. I am using Fedora and am trying to install the Intel SGX Driver.

 

I checked out this link https://github.com/intel/linux-sgx-driver but Fedora isn't listed as 1 of the prerequisites. However, someone from Intel linked me to https://download.01.org/intel-sgx/sgx-linux/2.11/distro/ with the SGX distributions, and the Fedora driver is listed. I proceeded with downloading the bin file sgx_linux_x64_driver_2.6.0_b0a445b.bin and ran it as an executable, but it displays this error for me. I have the SGX SDK and SGX PSW installed, but cannot manage to download the SGX Driver. Can someone help?

 

Screen Shot 2020-11-02 at 9.15.51 PM.png

0 Kudos
1 Solution
JesusG_Intel
Moderator
704 Views

Hello anguyen0620,


I confirmed with the engineering team that your best course of action is to build and install the SGX driver from source: https://github.com/intel/linux-sgx-driver.


Unfortunately, the bin file does not have the latest fixes for the 5.8 kernel, but the latest source code on Github does have the fixes.


Also, the README on the Github page will be updated to reflect support for Fedora.


View solution in original post

6 Replies
Alberto_Sykes
Employee
756 Views

anguyen0620, Thank you for posting in the Intel® Communities Support.


Just to let you know, I will move your thread to the proper department which is "Intel® Software Guard Extensions (Intel® SGX)" for them to further assist you with this topic.


Regards,

Albert R.


Intel Customer Support Technician

A Contingent Worker at Intel


JesusG_Intel
Moderator
738 Views

Hello anguyen0620,


I will build a Fedora box and try to reproduce your issue. Please stay tuned.




JesusG_Intel
Moderator
729 Views

Hello anguyen0620,


It's going to be a while before I can get a Fedora system up and running.


Meanwhile, I recommend you try building the driver from source using these instructions: https://github.com/intel/linux-sgx-driver.


I'm not 100% it will work but it's worth a try if you need to get up and running soon.


Install matching headers running the following command as root:

sudo yum install "kernel-devel-uname-r == $(uname -r)"





JesusG_Intel
Moderator
705 Views

Hello anguyen0620,


I confirmed with the engineering team that your best course of action is to build and install the SGX driver from source: https://github.com/intel/linux-sgx-driver.


Unfortunately, the bin file does not have the latest fixes for the 5.8 kernel, but the latest source code on Github does have the fixes.


Also, the README on the Github page will be updated to reflect support for Fedora.


View solution in original post

JesusG_Intel
Moderator
682 Views

Hello anguyen0620,


Were you able to successfully install the SGX driver by building it from source?


JesusG_Intel
Moderator
647 Views

This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.


Reply