Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

Ubuntu 18.04.1 LTS ,aesm service didn't start

yang__zhe
Beginner
789 Views

I input the commands 'service aesmd start' and 'service --status-all',but asem service wasn't shown in the screen.

I ran the sample code[Sealed Data] in hardware mode,this is part of log printed in the screen:

 

 

Replay Protected DRM operation:
cannot create enclave, error code = 0x2006
cannot get platform service capability, error code = 0x4001
Initialization the DRM failed.

0 Kudos
2 Replies
Scott_R_Intel
Employee
789 Views

Hello.

Error code 0x2006 means SGX_ERROR_NO_DEVICE, which usually means the SGX driver hasn't been loaded. Did you install the SGX driver?  If it's installed and loaded you should see the /dev/isgx device.  The AESM will not start if the driver is not properly loaded.

You can build and install the driver from here:  https://github.com/intel/linux-sgx-driver

Or install the pre-built binary from here:  https://01.org/intel-software-guard-extensions/downloads

Regards.

Scott

yang__zhe
Beginner
789 Views

Hello,Scott.

Thank you very much for your help.But actually,I have already installed the driver.Is the reason that my computer's BIOS just has 'Software Control' option causing the problem?

 

Zhe

Reply