-
Notifications
You must be signed in to change notification settings - Fork 64
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
Some experience running xv6 on Marss?? #50
Comments
https://github.com/phf/xv6/blob/master/ioapic.c I'm not sure if this is an issue with xv6 or marss, but the code above is from xv6. I have no experience with xv6, so I'm not sure where to start. Sorry |
Yep, is xv6 who gives the panic. The problem is if there is some change in the qemu used by Marss that breaks the qemu emulation of the I/O APIC 82093AA (which is assumed to be "there" by xv6). I'll keep digging a bit more. Thanks anyway. |
The qemu version that MARSS uses is 0.14.1 so it's possible that xv6 wasn't implemented. You could try the qemu branch, which I believe has qemu version 1.0. We are trying to get an updated qemu pushed, but there are lots of changes that need to be made, and SMT is broken currently, which is a pain to track down. |
Yep... looks like the qemu is too old for xv6. I saw a couple of patches in the qemu/hw/ioapic.c not applied (didn't fix the problem). Ok... not an easy task. Rebasing over v1.0 gives 100 conflicts that automatic merge can't deal with. Some are easy... some are impossible for me. In these files.:
|
Sorry, I think you misunderstood me. There is a branch in this repo that has qemu version 1.1, you don't need to try and rebase a new version qemu. It's tricky to checkout since the branch name is the same as a folder. I forget how to do it, but there is a command to choose the 'qemu' branch. |
Yep I misunderstood you :) In any case that branch is not properly merged and currently is no possible to compile it. |
This might be a winner for teaching. Both Xv6 and PTLsim are nifty but great for class-ro0m. Although gem5/linux might be more advanced but both are way overkill for this purpose. With this mindset I tried to run both with no success. xv6 x86_64 implementation enter in panic with:
There is any experience on this? ioapicinit xv6 error seems a bit scary. Makes sense to keep exploring this path or is better to take some alternate route. I have little experience with MARSS, so any suggestion will be welcomed...
The text was updated successfully, but these errors were encountered: