- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to run QuoteSamplecode in DCAP from https://github.com/intel/SGXDataCenterAttestationPrimitives.
I referred to the procedure from https://github.com/bitsyizhan/sgx/blob/master/Intel_SGX_DCAP_Linux_SW_Installation_Guide.pdf.
I installed dcap driver and /dev/sgx appeared. But when executing samplecode, I got error:
This step is optional: the default enclave load policy is persistent:
set the enclave load policy as persistent:succeed!
[load_pce ../pce_wrapper.cpp:123] Error, call sgx_create_enclave for PCE fail [load_pce], SGXError:0001.
Step1: Call sgx_qe_get_target_info:Error in sgx_qe_get_target_info. 0xe00d
Source code said the 0xe00d means 'Unable to load the QE enclave'. I'm confused that whether I didn't install dcap driver correctly? But I didn't got error when I installed.
Thanks for your time!!!
- Tags:
- General Support
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is your OS distribution? And what is your hardware type?
And Please check whether your driver has been installed successfully: check whether the node exist: /dev/sgx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
JUNLI S. (Intel) wrote:What is your OS distribution? And what is your hardware type?
And Please check whether your driver has been installed successfully: check whether the node exist: /dev/sgx
Thanks for your reply.
My OS distribution Information is
Linux test 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux(gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1))
My hardware type informtion is:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Xeon(R) E-2174G CPU @ 3.80GHz
Stepping: 10
CPU MHz: 800.222
CPU max MHz: 4700.0000
CPU min MHz: 800.0000
BogoMIPS: 7584.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-3
And the node: /dev/sgx exists.
I'm confused whether the appearance of node /dev/sgx which means that I install the dcap driver correctly?
But why I can't run the dcap sample code successfully?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for my later response. There are two potential reasons:
1. please check whether you have also installed another SGX driver: check whether there is another node /dev/isgx
2. And please check whether your hardware support Flex Launch Control feature.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think I have the same problem:
de/QuoteGenerationSample$ ./app
This step is optional: the default enclave load policy is persistent:
set the enclave load policy as persistent:succeed!
[load_pce ../pce_wrapper.cpp:123] Error, call sgx_create_enclave for PCE fail [load_pce], SGXError:2006.
Step1: Call sgx_qe_get_target_info:Error in sgx_qe_get_target_info. 0xe00d
And the node: /dev/sgx dosen't exist. Could you please tell me what should I do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, you need to correctly install the Intel SGX DCAP driver in order to get /dev/sgx. Please follow the instructions from the installation guide in this directory: https://download.01.org/intel-sgx/latest/dcap-latest/linux/docs/. The binaries are separated by distribution here: https://download.01.org/intel-sgx/latest/dcap-latest/linux/distro/
Also, make sure your processor supports Flexible Launch Control (FLC). Intel® Xeon® E2200 series processors support FLC.
Regards,
Jesus

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page