sslab-gatech / opensgx

OpenSGX
Other
293 stars 80 forks source link

user/test/simple-hello tests failed #33

Open daichunkai opened 8 years ago

daichunkai commented 8 years ago

When I test user/test/simple-hello as following: $ cd user $ ./test.sh -i test/simple-hello The result is: root@ubuntu:~/opensgx/user# ./test.sh -i test/simple-hello make: “test/simple-hello”is newest。 kern in count : 2 kern out count : 2

encls count : 9471 ecreate count : 1 eadd count : 557 eextend count : 8912 einit count : 1 eaug count : 0

enclu count : 0 eenter count : 0 eresume count : 0 eexit count : 0 egetkey count : 0 ereport count : 0 eaccept count : 0

mode switch count : 0 tlb flush count : 0

TCS address : 4fffd000 Pre-allocated EPC SSA region : 0x2000 Pre-allocated EPC Heap region : 0x12c000 Later-Augmented EPC Heap region : 0x0 Total EPC Heap region : 0x12c000 hello sgx!

number of executed instructions on CPU #0 = 123488558

'enclu count'、'eenter count'、'eexit count'、'mode stitch count' and 'tlb fluch count' are zero.It is not same as the result in Opensgx_tutorial_v1.pdf(the last two page) shows. Now,I feel so confused and don't know the reason....

PS:Tested platform:Linux ubuntu 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Ubuntu runs on on VMware Workstation

daichunkai commented 8 years ago

If someone tests successful,could you please tell me your test platform?Whether your ubuntu runs on VMware Workstation?I am looking forward to a reply. (=・ω・=)

daichunkai commented 8 years ago

@jonhoo Hello,Do you meet the same question?

holmastoo commented 8 years ago

Hello, I meet the same problem as you, I test on Linux ubuntu 3.19.0-56-generic #62~14.04.1-Ubuntu SMP Fri Mar 11 11:03:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux on VMware workstation. Have you solved this problem? Thank you.

daichunkai commented 8 years ago

No,The question is still puzzling me .After I run OpenSgx on physical machine,I meet the same question......