crete-dev
crete-dev copied to clipboard
waiting for port connection, then shows illegal instruction
Hi, I tried to build crete locally. I did all the steps using the manual. When I ran crete-run, the following error shows up- [CRETE] Waiting for port.. Illegal Instruction (Core dumped) What should I do now? Please help out.
If memory serves, one'll get an Illegal Instruction from CRETE custom instructions executed from the Guest OS (done automatically via crete-run
) if using QEMU "native" or "kvm" mode. You must rather use QEMU "interpreted" mode.
Native: crete-native-qemu-system-x86_64
Interpreted: crete-qemu-2.3-system-x86_64
I used the following command : qemu-system-x86_64 -hda crete.img -m 2048 -k en-us It is still showing crete-run as illegal instruction
Ensure it's crete-qemu-2.3-system-x86_64
. Note the special crete-
prefix derived from a CRETE-QEMU build.
If I put Crete as prefix in the host OS, it shows command not found
Assuming you've successfully built it, you'll need to get it into your $PATH, or provide a path to it. It should be in your build/bin directory.
My build/bin directory is empty although it shows total 8. Is it not built correctly?
I don't know what you mean by "shows a total of 8" while being empty. If the binaries are not showing up in the crete-build/bin
directory described as a result of this step, something isn't right with the build.
Hi, I rebuilt crete and I hope it built correctly. When I tried to invoke guest OS by using crete-qemu command, this error shows up:
VNC server running on 127.0.0.1:5900' crete-qemu-2.3-system-x86_64: /home/tashfia/crete/crete-dev/front-end/qemu-2.3/runtime-dump/runtime-dump.cpp:1791: void crete_pre_cpu_tb_exec(void*, TranslationBlock*): Assertion
!crete_pre_post_flag' failed.
Aborted (core dumped)