You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/05/18 08:31:05 UTC

[GitHub] [incubator-teaclave] xinuo opened a new issue #300: Failing to run simulation mode.

xinuo opened a new issue #300:
URL: https://github.com/apache/incubator-teaclave/issues/300


   I had built Teaclave in simulation mode
   `
   docker run --rm -v $(pwd):/teaclave -w /teaclave   -it teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:latest    bash -c ". /root/.cargo/env && \
        mkdir -p build && cd build && \
        . /opt/sgxsdk/environment && \
        cmake -DTEST_MODE=ON -DSGX_SIM_MODE=ON .. && \
        make   --trace"
   `
   
   I want to launch all services after building Teaclave.
   
   But when i run this code 
   `
    (cd docker && docker-compose -f docker-compose-ubuntu-1804.yml up --build)
   `
   and it show
   `
   ERROR: for 1d54dc72d75f_teaclave-storage-service  Cannot start service teaclave-storage-service: linux runtime spec devices: error gathering device information while adding custom device "/dev/isgx": no such file or director
   `
   
   So,why the simulation mode is not work.May be i do wrong step?
   
   My os : Ubuntu 18.04.4 LTS
   My CPU:Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
   There is no sgx tech in the CPU.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] xinuo commented on issue #300: Failing to run simulation mode.

Posted by GitBox <gi...@apache.org>.
xinuo commented on issue #300:
URL: https://github.com/apache/incubator-teaclave/issues/300#issuecomment-630037791


   It works!
   Thank you very much.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun commented on issue #300: Failing to run simulation mode.

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #300:
URL: https://github.com/apache/incubator-teaclave/issues/300#issuecomment-630033065


   Under simulation mode, you also need to change the `docker-compose-ubuntu-1804.yml` file accordingly to remove unused device/volume mappings.
   
   That is, comment out these lines:
   
   ```
         - type: bind
           source: /var/run/aesmd/aesm.socket
           target: /var/run/aesmd/aesm.socket
       devices:
         - /dev/isgx
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] xinuo closed issue #300: Failing to run simulation mode.

Posted by GitBox <gi...@apache.org>.
xinuo closed issue #300:
URL: https://github.com/apache/incubator-teaclave/issues/300


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun edited a comment on issue #300: Failing to run simulation mode.

Posted by GitBox <gi...@apache.org>.
mssun edited a comment on issue #300:
URL: https://github.com/apache/incubator-teaclave/issues/300#issuecomment-630033065


   Under simulation mode, you also need to change the `docker-compose-ubuntu-1804.yml` file accordingly to remove unused device/volume mappings.
   
   That is, comment out these lines:
   
   ```
         - type: bind
           source: /var/run/aesmd/aesm.socket
           target: /var/run/aesmd/aesm.socket
       devices:
         - /dev/isgx
   ```
   
   I’ll update the doc later.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org