-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add driver module in Linux Kernel 5.17? #146
Comments
Hi. Since you already see the /dev/sgx* devices, the module is already loaded and running. You can also confirm with dmesg:
You should see the SGX EPC range printed out. Regards. Scott |
Yes, I see it. Thank you very much. |
I have another problem. I installed both SGX SDK and SGX PSW but when I try to run the Sample Code I get this error:
I don't get it, why is the driver not found? should I run
Of course SGX is enabled in BIOS, and I have the SGX nodes already built-in:
|
What's the current user? Is it root? If it is not root user, please check if the current user belongs to sgx group. Try to add the current user to sgx group and re-login. Then i think it will work. |
Yes, thank you so much. I don't know why I didn't think about privileges in the first place |
Hello, I have ubuntu 21.10 and my hardware supports FLC. Based on these assumption, I should already have the SGX driver installed in my laptop, right? This is the output of
ls -ltr /dev/*sgx*
:However the driver is not in kernel modules, since it doesn't show any output if I type
lsmod | grep sgx
How can I enable the module? Where is the
sgx.ko
file? I didn't download the driver because the community suggested me to not do it because I could have conflicts between driver versions.Thanks in advance
The text was updated successfully, but these errors were encountered: