Skip to content
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

[load_qe ../qe_logic.cpp:697] Error, call sgx_create_enclave QE fail [load_ Failed to load QE3: 0x4004 #71

Closed
castiel97 opened this issue Jan 25, 2024 · 1 comment

Comments

@castiel97
Copy link

My ubuntu version is 18.04.1 and kernel version is 5.4.0-150-generic. CPU is intel i7-9700.
I have already set the kernel parameters and all checks in check_sys.sh passed:
.. Checking recommended SGX-Step parameters [OK]
.. Checking unknown kernel parameters [OK]
.. Checking CPU features [OK]
.. Checking kernel page-table isolation [OK]

In step 1 build and load /dev/sgx-step, evething goes well:
image

In step 2 patch and install SGX SDK, it seems I have installed sgx sdk successfully:
image

But when I run this command "sudo service aesmd status", I got an error message:
image
I googled this error message and one solution is to update the bios. But it does not work for my situation.

@jovanbulck
Copy link
Owner

Hi castiel97,

Sorry for a delayed response. Not sure if you figured this out yet? In any case, this is not an SGX-Step issue (the driver and patched SDK indeed succeeded as you showed above) but an issue with using SGX on your machine in general.

Not sure what's exactly going wrong, but it seems to be an issue with loading the Quoting Enclave (QE). Perhaps it works to load an enclave (if you don't need attestation). I'd recommend to first try and run a simple enclave without sgx-step (eg the SampleEnclave directory of the Intel sdk).

I'm closing this as it doesn't appear to be an SGX-Step issue, but feel free to follow-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants