- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
OS: Ubuntu* 18.04 LTS Desktop 64bits
Linux Header: linux-headers-5.4.0-42-generic
CPU: Intel(R) Core(TM) i7-10700 CPU
I reproduce the error in SampleEnclave, from the Intel SGX SDK sample code.
$ make SGX_MODE=HW
...
$ ./app
Info: Please make sure SGX module is enabled in the BIOS, and install SGX driver afterwards.
Error: Invalid SGX device.
Enter a character before exit ...
The binary is runnable if SampleEnclave is compiled for simulation mode.
$ make SGX_MODE=SIM
...
$ ./app
Checksum(0x0x7ffca1fcc530, 100) = 0xfffd4143
Info: executing thread synchronization, please wait...
Info: SampleEnclave successfully returned.
Enter a character before exit ...
lsmod |grep sgx
isgx 53248 0
dmesg | grep sgx
[ 2.033774] isgx: loading out-of-tree module taints kernel.
[ 2.033820] isgx: module verification failed: signature and/or required key missing - tainting kernel
[ 2.034035] intel_sgx: the CPU is missing SGX
I reinstalled the SGX SDK, PSW, and driver several times, and it didn't work.
I googled the error message but still couldn't find any viable solution.
Can anyone give me some hints to resolve this issue? I will be grateful for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello desk,
First, let's check your platform's support for SGX. Send the output from one of the these two options.
Option 1
On a Linux* system, execute cpuid in a terminal:
- Open a terminal and run: $ cpuid | grep -i sgx
Option 2
Use test-sgx.c:
- Go to the SGX Hardware Github and download the file test-sgx.c or clone the repository
- Compile and run test-sgx.c according to these instructions:
- $ gcc test-sgx.c -o test-sgx
- $ ./test-sgx
Look for:
$ cpuid | grep -i sgx
SGX: Software Guard Extensions supported = true
SGX_LC: SGX launch config supported = false
Software Guard Extensions (SGX) capability (0x12/0):
SGX1 supported = true
SGX2 supported = false
If SGX support looks good. Uninstall the SGX driver and re-install the latest version.
As root, run the command /opt/intel/sgxdriver/uninstall.sh.
Sincerely,
Jesus G.
Intel Customer Support
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have enabled SGX in BIOS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Desk,
Please take a look at page 7 on the guide I have linked below. Please install the packages in the order they are listed, using the steps provided.
If that doesn't resolve your issues please provide the list of all installed SGX components by running:
$ apt list --installed | grep -i sgx
Thanks
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello Chris,
I've used the steps listed to install, but I still can't.
the list of all installed SGX components by running:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libsgx-ae-epid/unknown,now 2.13.103.1-bionic1 amd64 [installed,automatic]
libsgx-ae-le/unknown,now 2.13.103.1-bionic1 amd64 [installed,automatic]
libsgx-ae-pce/unknown,now 2.13.103.1-bionic1 amd64 [installed,automatic]
libsgx-ae-qe3/unknown,now 1.10.103.1-bionic1 amd64 [installed,automatic]
libsgx-aesm-ecdsa-plugin/unknown,now 2.13.103.1-bionic1 amd64 [installed,automatic]
libsgx-aesm-epid-plugin/unknown,now 2.13.103.1-bionic1 amd64 [installed,automatic]
libsgx-aesm-launch-plugin/unknown,now 2.13.103.1-bionic1 amd64 [installed,automatic]
libsgx-aesm-pce-plugin/unknown,now 2.13.103.1-bionic1 amd64 [installed,automatic]
libsgx-aesm-quote-ex-plugin/unknown,now 2.13.103.1-bionic1 amd64 [installed,automatic]
libsgx-enclave-common/unknown,now 2.13.103.1-bionic1 amd64 [installed,automatic]
libsgx-epid/unknown,now 2.13.103.1-bionic1 amd64 [installed]
libsgx-launch/unknown,now 2.13.103.1-bionic1 amd64 [installed]
libsgx-pce-logic/unknown,now 1.10.103.1-bionic1 amd64 [installed,automatic]
libsgx-qe3-logic/unknown,now 1.10.103.1-bionic1 amd64 [installed,automatic]
libsgx-quote-ex/unknown,now 2.13.103.1-bionic1 amd64 [installed]
libsgx-urts/unknown,now 2.13.103.1-bionic1 amd64 [installed]
sgx-aesm-service/unknown,now 2.13.103.1-bionic1 amd64 [installed,automatic]
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello Chris,
Will it be available in windows, but not in Ubuntu on VMware Workstation pro?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
I ran the command on this website:https://github.com/intel/sgx-software-enable
sudo ./sgx_enable
This CPU does not support Intel SGX
I feel very strange.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello desk,
First, let's check your platform's support for SGX. Send the output from one of the these two options.
Option 1
On a Linux* system, execute cpuid in a terminal:
- Open a terminal and run: $ cpuid | grep -i sgx
Option 2
Use test-sgx.c:
- Go to the SGX Hardware Github and download the file test-sgx.c or clone the repository
- Compile and run test-sgx.c according to these instructions:
- $ gcc test-sgx.c -o test-sgx
- $ ./test-sgx
Look for:
$ cpuid | grep -i sgx
SGX: Software Guard Extensions supported = true
SGX_LC: SGX launch config supported = false
Software Guard Extensions (SGX) capability (0x12/0):
SGX1 supported = true
SGX2 supported = false
If SGX support looks good. Uninstall the SGX driver and re-install the latest version.
As root, run the command /opt/intel/sgxdriver/uninstall.sh.
Sincerely,
Jesus G.
Intel Customer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page