intel / intel/confidential-computing.sgx

/dev/isgx not appearing, Failed to load QE3: 0x2006

Open
#900 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.5k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

Hello,
I'm facing the following issue: I installed the intel SGX driver and PSW. For installing PSW, I added a local repository as described in the README and installed `libsgx-launch libsgx-urts libsgx-epid libsgx-quote-ex libsgx-dcap-ql`.
However, even after a reboot, the device `/dev/isgx` is not present.

```
$ lscpu | sed -nr '/Model name/ s/.*:\s*(.*) @ .*/\1/p'
Intel(R) Core(TM) i5-8265U CPU
$ systemctl status aesmd
● aesmd.service - Intel(R) Architectural Enclave Service Manager
Loaded: loaded (/lib/systemd/system/aesmd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-10-25 16:03:16 CEST; 3s ago
Process: 57259 ExecStartPre=/opt/intel/sgx-aesm-service/aesm/linksgx.sh (code=exited, status=0/SUCCESS)
Process: 57276 ExecStartPre=/bin/mkdir -p /var/run/aesmd/ (code=exited, status=0/SUCCESS)
Process: 57279 ExecStartPre=/bin/chown -R aesmd:aesmd /var/run/aesmd/ (code=exited, status=0/SUCCESS)
Process: 57280 ExecStartPre=/bin/chmod 0755 /var/run/aesmd/ (code=exited, status=0/SUCCESS)
Process: 57281 ExecStartPre=/bin/chown -R aesmd:aesmd /var/opt/aesmd/ (code=exited, status=0/SUCCESS)
Process: 57282 ExecStartPre=/bin/chmod 0750 /var/opt/aesmd/ (code=exited, status=0/SUCCESS)
Process: 57283 ExecStart=/opt/intel/sgx-aesm-service/aesm/aesm_service (code=exited, status=0/SUCCESS)
Main PID: 57284 (aesm_service)
Tasks: 4 (limit: 9144)
Memory: 6.2M
CGroup: /system.slice/aesmd.service
└─57284 /opt/intel/sgx-aesm-service/aesm/aesm_service

Okt 25 16:03:16 bertrom systemd[1]: Starting Intel(R) Architectural Enclave Service Manager...
Okt 25 16:03:16 bertrom aesm_service[57283]: aesm_service: warning: Turn to daemon. Use "--no-daemon" option to execute in foreground.
Okt 25 16:03:16 bertrom systemd[1]: Started Intel(R) Architectural Enclave Service Manager.
Okt 25 16:03:16 bertrom aesm_service[57284]: [get_driver_type edmm_utility.cpp:116] Failed to open Intel SGX device.
Okt 25 16:03:16 bertrom aesm_service[57284]: [get_driver_type edmm_utility.cpp:116] Failed to open Intel SGX device.
Okt 25 16:03:16 bertrom aesm_service[57284]: [get_driver_type edmm_utility.cpp:116] Failed to open Intel SGX device.
Okt 25 16:03:16 bertrom aesm_service[57284]: [load_qe ../qe_logic.cpp:698] Error, call sgx_create_enclave QE fail [load_qe], SGXError:2006.
Okt 25 16:03:16 bertrom aesm_service[57284]: Failed to load QE3: 0x2006
Okt 25 16:03:16 bertrom aesm_service[57284]: The server sock is 0x55cacdecb9d0
```

I'd be grateful for advice on how to solve this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.