Open kingli-crypto opened 1 year ago
You need a 5.10 or below Linux Kernel and install legacy SGX driver, prebuilt or source code for non-FLC SGX platform.
I had the same problem as you.
I solved it in the following way.
=============================== Downgrade the Linux kernel version to 5.15.0-67-generic.
Reinstall the SGX driver,PSW and SDK.
==============================
I think it's a compatibility issue due to Linux kernel updates.
I hope your problem will be solved.
We resolved the problem by downgrading to 5.15.0-79
on ubuntu 20.
Then re-install all SGX OOT driver and PSW.
Hope this help anyone coming across this in the future
We just had this issue on a massive number of machines that updated kernel on Ubuntu 20. The cloud provider just updated the kernel without telling us, many of them do this things.
Downgrading to 5.14 helped
So it look like it is somewhere between 5.15.0-79 and 5.15.0-82
We also observed some other failures with the updated kernel version and confirmed it is a kernel bug related to the kernel feature ARCH_HAS_CPU_FINALIZE_INIT introduced from 5.15.0-81. This is the kernel fix patch - https://lore.kernel.org/lkml/87r0nsddb5.ffs@tglx/T/ So please don't use the problematic kernel versions.
Hi, I have a non FLC machine and trying to run aesm-service. This host was able to run SGX enclaves before. Can I get any help
I run below command to start
aesm-service
.sudo LD_LIBRARY_PATH=/opt/intel/sgx-aesm-service/aesm /opt/intel/sgx-aesm-service/aesm/aesm_service --no-daemon
This version of aesm is installed from latest branch / 2.21
When
aesm-service
is runLogs from
/var/opt/aesmd/data/internal_log.txt
cpuid
linux
We also have the same problem running prebuilt packages on ubuntu.