Hi,
since Qemu can't boot Windows Vista reliably and Bochs can, I wondered whether Bochs can run LinuxBIOS v3. Patrick Georgi tried it and even got to the GRUB2 welcome screen, where it crashed with a triple fault.
This is what Patrick wrote in IRC:
http://openbios.org/~oxygene/lbv3.bochs is the config I used (to be started from lbv3's root directory) it's configured to send serial0 to /dev/stdout I get "Welcome to GRUB!" now, but then it crashes on a triple fault :) http://pastebin.com/m749c3e36 bochs output
Will we try to get LBv3 running in Bochs? Benefits would be: * One more soft hardware platform to test code with (although the emulated hardware is very similar to that of Qemu) * Bochs seems to support Vista and we may have success running Vista with LBv3 in Bochs
Regards, Carl-Daniel
Carl-Daniel Hailfinger schrieb:
This is what Patrick wrote in IRC:
http://openbios.org/~oxygene/lbv3.bochs is the config I used (to be started from lbv3's root directory) it's configured to send serial0 to /dev/stdout I get "Welcome to GRUB!" now, but then it crashes on a triple fault :) http://pastebin.com/m749c3e36 bochs output
Will we try to get LBv3 running in Bochs?
Some more information (Thanks to Peter, who found that piece): (excerpt from the paste bin above):
00027185764i[CPU0 ] | CS:0010( 0002| 0| 0) 00000000 000fffff 1 1 00027185764i[CPU0 ] | DS:0018( 0003| 0| 0) 00000000 000fffff 1 1 00027185764i[CPU0 ] | SS:0018( 0003| 0| 0) 00000000 000fffff 1 1 00027185764i[CPU0 ] | ES:0018( 0003| 0| 0) 00000000 000fffff 1 1 00027185764i[CPU0 ] | FS:0018( 0003| 0| 0) 00000000 000fffff 1 1 00027185764i[CPU0 ] | GS:0018( 0003| 0| 0) 00000000 000fffff 1 1
Those should be (00000000,ffffffff), but aren't on bochs. On qemu they _are_ all set to (00000000,ffffffff). But I have no idea what the reason could be and no time to debug it at the moment.
Regards, Patrick Georgi
I used to boot just fine on bochs and in fact I think I did today, but am not certain :-)
Yes, booting under bochs is really valuable!
ron
On 09.08.2007 23:27, ron minnich wrote:
I used to boot just fine on bochs and in fact I think I did today, but am not certain :-)
Hm. Can you post your bochs config? And was this with v2 or v3?
Yes, booting under bochs is really valuable!
I'll prepare a patch to say so in Kconfig in v3.
Regards, Carl-Daniel