airix
airix copied to clipboard
Running airix on qemu
Running airix on qemu on both Mac and Linux currently doesn't work. I did quite a bit of sleuthing and it appears that the qemu IDE controller gets stuck in a busy state when attempting to execute the read command. I dug into airix and qemu and wasn't able to resolve the issue. It might be that you could point me in the right direction and I could try and resolve the issue but as it stands I am stuck.
Somewhat related I was able to get airix running on Bochs on the Mac so it is at least compiling fine as far as testing goes when running on Mac and qemu.
I have never tested airix on QEMU before. I tried to test it on QEMU, I got the same problem, It appears that the Interrupt bit and the Active bit of the QEMU Bus Master IDE Status Register are both '1', which means the size of the physical memory regions was larger than the IDE device transfer size(According to http://www.bswd.com/idems100.pdf). I tried to fix it, but failed :(
For some reason I really wanted to get airix working on QEMU so I changed it to use PIO instead of DMA and it now works on both Bochs and QEMU. I can provide a pull request if you are interested. I was thinking I could use defines to allow the default to be DMA and it could be switched to PIO. If you don't want to include it that is fine.
Pull Request is welcome:)