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

Invalid SGX device #11

Open
CanYouGiveMeAName opened this issue Jan 30, 2021 · 2 comments
Open

Invalid SGX device #11

CanYouGiveMeAName opened this issue Jan 30, 2021 · 2 comments

Comments

@CanYouGiveMeAName
Copy link

CanYouGiveMeAName commented Jan 30, 2021

I run docker with cmd:
docker run -d -it --device=/dev/isgx -v aesmd-socket:/var/run/aesmd --name test-sgx sgx_sample
And get error:
Info: Please make sure SGX module is enabled in the BIOS, and install SGX driver afterwards.
Error: Invalid SGX device.
Enter a character before exit ...

Can you help? Thanks

@sbellem
Copy link
Contributor

sbellem commented Feb 3, 2021

Hi, sorry for not answering sooner. These images are a bit different than the ones provided by Intel. I wonder whether you are trying to follow an example from Intel's linux-sgx repo, but using one of the images under this repo ... Could tell me a bit more information about how for instance you built the image, which exact image you are using, and whether you are following an example or tutorial.

@CanYouGiveMeAName
Copy link
Author

Hi, sorry for not answering sooner. These images are a bit different than the ones provided by Intel. I wonder whether you are trying to follow an example from Intel's linux-sgx repo, but using one of the images under this repo ... Could tell me a bit more information about how for instance you built the image, which exact image you are using, and whether you are following an example or tutorial.

Thanks for your answer.
I build images with intel's Dockerfile. Intel's install PSW after sdk but not here. I think you must very good at this. So I tried to ask this question.

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

No branches or pull requests

2 participants