Open gutjuri opened 2 years ago
the device /dev/isgx is not present
SGX driver is not working. Perhaps you need to enable SGX in BIOS setting.
Thanks for you answer. I already did that with that (https://github.com/intel/sgx-software-enable) Software. The program outputs "Intel SGX is already enabled on this system". Is there any other explanation?
Check result of
cpuid | grep -i SGX_LC
SGX_LC: SGX launch config supported = false
You can install legacy driver(/dev/isgx
), for example, https://download.01.org/intel-sgx/sgx-linux/2.17/distro/ubuntu20.04-server/sgx_linux_x64_driver_2.11.054c9c4c.bin according to OS.
If it's true
, must install out-of-tree driver(/dev/sgx_enclave
), for example, https://download.01.org/intel-sgx/sgx-linux/2.17/distro/ubuntu20.04-server/sgx_linux_x64_driver_1.41.bin according to OS.
$ cpuid | grep -i SGX_LC
SGX_LC: SGX launch config supported = false
SGX_LC: SGX launch config supported = false
SGX_LC: SGX launch config supported = false
SGX_LC: SGX launch config supported = false
SGX_LC: SGX launch config supported = false
SGX_LC: SGX launch config supported = false
SGX_LC: SGX launch config supported = false
SGX_LC: SGX launch config supported = false
As I'm running Ubuntu 22.04, there's no legacy driver for my plattform. Is there any other way to run SGX on my platform?
Now, you can download https://download.01.org/intel-sgx/sgx-linux/2.18/distro/ubuntu22.04-server/sgx_linux_x64_driver_2.11.054c9c4c.bin
and install to kernel < 5.11.
I tested linux-image-unsigned-5.10.8-051008-generic
on Ubuntu 22.04, need to touch
to create empty file if see file not found
error when installing driver.
And you must not install libsgx-dcap-ql
. It only works for SGX launch config supported = true
platform.
Now, you can download
https://download.01.org/intel-sgx/sgx-linux/2.18/distro/ubuntu22.04-server/sgx_linux_x64_driver_2.11.054c9c4c.bin
and install to kernel < 5.11. I testedlinux-image-unsigned-5.10.8-051008-generic
on Ubuntu 22.04, need totouch
to create empty file if seefile not found
error when installing driver.And you must not install
libsgx-dcap-ql
. It only works forSGX launch config supported = true
platform.
Thank you. However, I have kernel 5.15.0 and the programme you posted says "Warning: There is no need to install additional SGX driver with in-kernel SGX support."
5.15.0 won't work. < 5.11 is required for your machine. It's Non-FLC SGX.
Hello, I'm facing the following issue: I installed the intel SGX driver and PSW. For installing PSW, I added a local repository as described in the README and installed
libsgx-launch libsgx-urts libsgx-epid libsgx-quote-ex libsgx-dcap-ql
. However, even after a reboot, the device/dev/isgx
is not present.I'd be grateful for advice on how to solve this issue.