On Tue, Jul 8, 2008 at 7:41 PM, Kevin O'Connor kevin@koconnor.net wrote:
Hi,
On Tue, Jul 08, 2008 at 03:26:45PM -0600, Myles Watson wrote:
When I increase the debug level in SeaBIOS, I see the enter handle_10 messages in hardware, but not in qemu. Do you see that as well?
Okay - if you're seeing handle_10 messages then this means the vga bios did not init properly. (Normally, the vga bios takes over int 0x10.)
Did you have coreboot init the vga option rom first? If so, you probably want to disable that.
That lets me get farther, which begs the question why it's not reentrant. Does your code register your handlers over the existing ones? Should it?
I'm concerned that in a payload chooser you'll want to have graphical output to allow the user to choose SeaBIOS. If you can't run the VGA BIOS first ... that seems like a problem.
Now I can boot the Linux CDs and here's the trace from XP. It gets to the "Setup is inspecting your computer's hardware configuration..." and hangs. I was surprised at the "sendmouse: keyboard input buffer full" message, because I didn't press any keys.
One step closer...
Thanks, Myles
sectors=296508 579MB medium detected await_ide: (TIMEOUT,BSY,!BSY,!BSY_DRQ,!BSY_!DRQ,!BSY_RDY) 3 time= 32 timeout= 32000 await_ide: (TIMEOUT,BSY,!BSY,!BSY_DRQ,!BSY_!DRQ,!BSY_RDY) 3 time= 64 timeout= 32000 Booting from 00000000:00007c00 await_ide: (TIMEOUT,BSY,!BSY,!BSY_DRQ,!BSY_!DRQ,!BSY_RDY) 3 time= 32 timeout= 32000 await_ide: (TIMEOUT,BSY,!BSY,!BSY_DRQ,!BSY_!DRQ,!BSY_RDY) 3 time= 32 timeout= 32000 await_ide: (TIMEOUT,BSY,!BSY,!BSY_DRQ,!BSY_!DRQ,!BSY_RDY) 3 time= 32 timeout= 32000 await_ide: (TIMEOUT,BSY,!BSY,!BSY_DRQ,!BSY_!DRQ,!BSY_RDY) 3 time= 64 timeout= 32000 enter handle_10: a=00002000 b=00000000 c=00000000 d=00020000 si=00000000 di=000014ea ds=000022f3 es=000022f3 ip=000016dc cs=0000c000 f=00000216 r=000014a6 await_ide: (TIMEOUT,BSY,!BSY,!BSY_DRQ,!BSY_!DRQ,!BSY_RDY) 3 time= 32 timeout= 32000 await_ide: (TIMEOUT,BSY,!BSY,!BSY_DRQ,!BSY_!DRQ,!BSY_RDY) 3 time= 64 timeout= 32000 await_ide: (TIMEOUT,BSY,!BSY,!BSY_DRQ,!BSY_!DRQ,!BSY_RDY) 3 time= 32 timeout= 32000 fail handle_1ab10e: a=4153b10e b=00000000 c=00000000 d=20491a49 si=00000000 di=00000d34 ds=0000f000 es=00001a49 ip=000077dd cs=00001000 f=00000246 r=00000cea fail get_device: a=0000153f b=0000000e c=00000002 d=00040082 si=0000146a di=00000000 ds=00001a49 es=000051da ip=00005dd4 cs=00001000 f=00000216 r=00000d0e enter handle_11: a=00000000 b=0000000c c=00000040 d=00040000 si=00001338 di=00000000 ds=00001a49 es=00000040 ip=0000412e cs=00001000 f=00000246 r=00000d06 sendmouse: keyboard input buffer full