intel / intel/confidential-computing.sgx

aesm_service won't start.

Open
#569 4 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

Hi. I compiled SGX SDK and PSW using the latest master brach, while `aesm_service` won't be started and keep restarting. SGX has been enabled in BIOS and `/dev/isgx` exists.
OS: Ubuntu 20.04
CPU: i7-9700k
```
lsmod | grep sgx
isgx 53248 0
```
```
dmesg|grep sgx
[ 6.073188] isgx: loading out-of-tree module taints kernel.
[ 6.073204] isgx: module verification failed: signature and/or required key missing - tainting kernel
[ 6.074687] intel_sgx: Intel SGX Driver v2.6.0
[ 6.075104] intel_sgx INT0E0C:00: EPC bank 0x30200000-0x35f80000
[ 6.080715] intel_sgx: second initialization call skipped
```
```
journalctl -u aesmd.service
Jul 20 17:43:03 SuperDeep systemd[1]: Starting Intel(R) Architectural Enclave Service Manager...
Jul 20 17:43:03 SuperDeep systemd[1]: Started Intel(R) Architectural Enclave Service Manager.
Jul 20 17:43:03 SuperDeep aesm_service[180771]: Fail to start service.
Jul 20 17:43:03 SuperDeep systemd[1]: aesmd.service: Main process exited, code=exited, status=1/FAILURE
Jul 20 17:43:03 SuperDeep systemd[1]: aesmd.service: Failed with result 'exit-code'.
Jul 20 17:43:19 SuperDeep systemd[1]: aesmd.service: Scheduled restart job, restart counter is at 25.
Jul 20 17:43:19 SuperDeep systemd[1]: Stopped Intel(R) Architectural Enclave Service Manager.
Jul 20 17:43:19 SuperDeep systemd[1]: Starting Intel(R) Architectural Enclave Service Manager...
Jul 20 17:43:19 SuperDeep systemd[1]: Started Intel(R) Architectural Enclave Service Manager.
Jul 20 17:43:19 SuperDeep aesm_service[180814]: Fail to start service.
Jul 20 17:43:19 SuperDeep systemd[1]: aesmd.service: Main process exited, code=exited, status=1/FAILURE
Jul 20 17:43:19 SuperDeep systemd[1]: aesmd.service: Failed with result 'exit-code'.
Jul 20 17:43:34 SuperDeep systemd[1]: aesmd.service: Scheduled restart job, restart counter is at 26.
Jul 20 17:43:34 SuperDeep systemd[1]: Stopped Intel(R) Architectural Enclave Service Manager.
Jul 20 17:43:34 SuperDeep systemd[1]: Starting Intel(R) Architectural Enclave Service Manager...
Jul 20 17:43:34 SuperDeep systemd[1]: Started Intel(R) Architectural Enclave Service Manager.
Jul 20 17:43:34 SuperDeep aesm_service[180858]: Fail to start service.
Jul 20 17:43:34 SuperDeep systemd[1]: aesmd.service: Main process exited, code=exited, status=1/FAILURE
Jul 20 17:43:34 SuperDeep systemd[1]: aesmd.service: Failed with result 'exit-code'.
Jul 20 17:43:41 SuperDeep systemd[1]: Stopped Intel(R) Architectural Enclave Service Manager.
```

Can anyone help?

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.