- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hello! Recently, I used WAMR. I changed Enclave.config.xml,and got some error.
First, the original Enclave.config.xml is as follows:
<!-- Please refer to User's Guide for the explanation of each field --> <EnclaveConfiguration> <ProdID>0</ProdID> <ISVSVN>0</ISVSVN> <StackMaxSize>0x100000</StackMaxSize> <HeapMaxSize>0x8000000</HeapMaxSize> <ReservedMemMaxSize>0x1000000</ReservedMemMaxSize> <ReservedMemExecutable>1</ReservedMemExecutable> <TCSNum>10</TCSNum> <TCSPolicy>1</TCSPolicy> <DisableDebug>0</DisableDebug> <MiscSelect>0</MiscSelect> <MiscMask>0xFFFFFFFF</MiscMask> </EnclaveConfiguration>
I tried these behavious:
- I didn't modify the Enclave.config.xml, and used command make SGX_PRERELEASE=1 SGX_DEBUG=0 SGX_MODE=HW. The result is no error.
- I only modified MiscSelect option to 1, and used command make SGX_PRERELEASE=1 SGX_DEBUG=0 SGX_MODE=HW. The result is as follows:
Failed to create enclave from enclave.signed.so, error code: 1 Fail to initialize enclave.
The sgxsdk I used is the version of 2.19. I run the Cxx11SGXDemo in the linux-sgx. I only modified MiscSelect option to 1, and used command make SGX_PRERELEASE=1 SGX_DEBUG=0 SGX_MODE=HW. The result is no error.
Does it mean that WAMR doesn't support SGX2?
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hello LittleQ,
Thanks for reaching out to us.
May I know what Operating System and Kernel version are you using on your machine?
You may check with uname -r command and lsb_release -a command.
Regards,
Wan
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
My kernel version is: 6.1.31-060131-generic.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hello LittleQ,
Thanks for your patience.
We've received feedback from the relevant team.
Could you please try the following steps and see if the issue can be resolved?
- Run the following command in your terminal
cpuid | grep SGX2
- Build the kernel that allows EDMM with the following GitHub page:
https://github.com/intel/sgx-emm
Regards,
Wan