-
Notifications
You must be signed in to change notification settings - Fork 69
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
Run bochs failed with Segmentation fault #9
Comments
Did you try the Testing with Bochs section? Some of the errors happen if you use off the shell Bochs. |
Yes. Which version of bochs should I use? I just clone from the latest master branch. Is that right? |
No. You need to use the |
I try gcc branch and it works. Thank you for your reminding. However I still encountered the problem that bochs throws out a segmentation fault.
After I set bochs compile config to 'normal' I fix it and bochs runs properly. |
I'm tring to follow the instruction of https://github.com/tandasat/Hypervisor-101-in-Rust/blob/main/BUILDING.md to build and run hypervisor on bochs. But failed,
probelm 1: compiling bochs with default parameters causes arg '-rc' was not understood.
I tried to add --enable-debugger into bochs compile parameters and fixed it.
problem 2: core dump for getting plugin with 0 count.
PLUG_get_plugins_count returns 0 and config_interface_list[0] is null causes core dump.
I tried to set bochs config to 'normal' instead of 'plugin' to fix it.
problem 3: bochs still cores.
at 'memory_handler = BX_MEM_THIS memory_handlers[a20addr >> 20];'
I have no idea about it. Could you please help me with that?
The text was updated successfully, but these errors were encountered: