Comments (3)
Hi Neo,
I just tried to run bench project with your latest version of sgx-step on my new laptop. And when I compile the bench project, I got following warning:
Thanks for reporting the warnings,I fixed them in the above commit. I am also in the process of setting up continuous integration to automatically build SGX-Step on both Ubuntu 18.04/20.04. You can normally see the latest build here:
https://travis-ci.org/github/jovanbulck/sgx-step
Then my laptop was frozen and I had to restart my laptop.(This happens whenever I run the bench project)
Not sure what you mean? The above warnings are normally harmless, so I don't expect they're the cause why your laptop freezes. I suspect something goes wrong w the timer and you should configure the interval? Also make sure you pass all the kernel boot params etc. Did you run app/idt
and app/cpl
successfully to make sure the general setup works before running app/bench
? Did you get any error log?
Would it be the problem related to ubuntu 20 ? Could you gave me some suggestions on how to fix it ?
I don't have a machine with 20.04 atm (I'm running 18.04 myself), so cannot say for sure. Normally, I expect things to work similarly on 18.04 and 20.04 though.
Let me know how things work on your end, so we can hopefully fix and close this issue?
from sgx-step.
I was faced with the same issue, but now I have fixed it by adding new Linux kernel parameters. I didn't notice the project has been updated. The kernel parameters I was missing are nmi_watchdog=0 nosmap nosmep clearcpuid=514
. Hope that would help.
from sgx-step.
Hi bloaryth,
Are you using ubuntu 20.04 ? Currently sgx-step works fluently for me in the tty mode. When I was in the UI mode, my laptop sometimes will freeze when I am using browsers.
from sgx-step.
Related Issues (20)
- Hyperlink of the approach to bypass devmem_is_allowed checks is unavailable HOT 3
- ./app: undefined symbol: sgx_get_aep HOT 8
- undefined symbol : sgx_get_aep HOT 10
- kernel panics when single-stepping [SOLVED: KPTI #PF for kernel IRQ] HOT 12
- error when running bench: [file.c] assertion '(f = fopen(path, "w"))' failed: No such file or directory HOT 6
- Work-in-progress Gramine port HOT 17
- Could add some explanation for each test application under app/ to README? HOT 1
- /dev/sgx-step would be uninstalled after os reboot HOT 2
- foreshadow/lvi building error , memcmp running error HOT 2
- os would always hang after running cpl/idt/memcmp HOT 8
- Refactor: page-fault abstraction in libsgxstep
- Could sgx-step support SGX in-kernel/dcap driver? HOT 2
- victim.base && "no enclave found in /proc/self/maps HOT 4
- Support multithreaded enclaves
- ./install_SGX_SDK.sh can't find python2 HOT 3
- Trying to run app/memcmp but gives assertion error HOT 5
- Questions regarding the use of unmap_alias and sim_reload HOT 3
- Questions regarding fs_reload_threshold in foreshadow HOT 1
- Refactor build system
- More questions regarding unmap_alias() and leaking data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sgx-step.