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.
链接已复制
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
