Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
230 Views

Can't install Intel SGX Driver

Jump to solution

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

Accepted Solutions
Highlighted
Moderator
160 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

0 Kudos
6 Replies
Highlighted
212 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


0 Kudos
Highlighted
Moderator
194 Views

Hello anguyen0620,


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




0 Kudos
Highlighted
Moderator
185 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)"





0 Kudos
Highlighted
Moderator
161 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

0 Kudos
Highlighted
Moderator
138 Views

Hello anguyen0620,


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


0 Kudos
Highlighted
Moderator
103 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.


0 Kudos