On Mon, Nov 02, 2009 at 04:51:47PM +0200, Gleb Natapov wrote: > On Mon, Nov 02, 2009 at 01:51:56PM +0100, Alexander Graf wrote: > > Anthony Liguori wrote: > > > Hi, > > > > > > I just wanted to let everyone know that I've switched the PC machine > > > type to SeaBIOS and gPXE. SeaBIOS is a port of the Bochs BIOS to GCC, > > > by Kevin O'Conner, along with quite a lot of clean up and new feature > > > work. > > > > > > gPXE is the new development tree of etherboot which is now > > > deprecated. We've done a lot of testing of and while there are a few > > > outstanding issues, almost everything seems to be working okay. > > > > > > Some known issues: > > > o e1000 pxe booting doesn't seem to work > > > o gPXE does not like the slirp tftp server > > > o SeaBIOS doesn't support CPU hotplug (not an issue for upstream qemu) > > > > > > I've renamed the old pcbios to pcbios.bin. If you suspect a bug in > > > SeaBIOS, you can use "-bios pcbios.bin" to try with the old BIOS in an > > > effort to debug. > > > > > > I want to thank everyone who helped make this all happen. It was a > > > big effort and I think it's going to be a really nice feature for the > > > 0.12.0 release! > > > > > > > -kernel (w/ Linux) breaks. > > > From you mail I don't understand if it works with Bochs BIOS. Does it? > Sorry. Disregard this. Saw discussion that follows.
> > > > With SeaBIOS: > > > > EAX=00001000 EBX=00000000 ECX=00000000 EDX=00000000 > > ESI=00000000 EDI=00000000 EBP=00000000 ESP=00007bae > > EIP=00000025 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 > > ES =1000 00010000 0000ffff 00009300 > > CS =c900 000c9000 0000ffff 00009b0f > > SS =1000 00010000 0000ffff 00009300 > > DS =0000 00000000 0000ffff 00009300 > > FS =0000 00000000 0000ffff 00009300 > > GS =0000 00000000 0000ffff 00009300 > > LDT=0000 00000000 0000ffff 00008200 > > TR =0000 00000000 0000ffff 00008b00 > > GDT= 000fcc00 00000037 > > IDT= 00000000 000003ff > > CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 > > DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 > > DR6=ffff0ff0 DR7=00000400 > > CCS=00000000 CCD=00000000 CCO=EFLAGS > > ---------------- > > IN: > > 0x00000000000c9025: mov %ax,%ds > > 0x00000000000c9027: mov $0x1000,%ax > > 0x00000000000c902a: mov %ax,%fs > > 0x00000000000c902c: mov $0xc1e0,%ax > > 0x00000000000c902f: mov %ax,%gs > > 0x00000000000c9031: mov $0x0,%eax > > 0x00000000000c9037: mov $0x0,%ecx > > 0x00000000000c903d: mov $0x0,%edx > > 0x00000000000c9043: mov $0x0,%ebx > > 0x00000000000c9049: mov $0xfff0,%esp > > 0x00000000000c904f: mov $0x0,%ebp > > 0x00000000000c9055: mov $0x0,%esi > > 0x00000000000c905b: mov $0x0,%edi > > 0x00000000000c9061: ljmp $0x1020,$0x0 > > > > EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000 > > ESI=00000000 EDI=00000000 EBP=00000000 ESP=0000fff0 > > EIP=00000000 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 > > ES =1000 00010000 0000ffff 00009300 > > CS =1020 00010200 0000ffff 00009b0f > > SS =1000 00010000 0000ffff 00009300 > > DS =1000 00010000 0000ffff 00009300 > > FS =1000 00010000 0000ffff 00009300 > > GS =c1e0 000c1e00 0000ffff 00009300 > > LDT=0000 00000000 0000ffff 00008200 > > TR =0000 00000000 0000ffff 00008b00 > > GDT= 000fcc00 00000037 > > IDT= 00000000 000003ff > > CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 > > DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 > > DR6=ffff0ff0 DR7=00000400 > > CCS=00000000 CCD=00000000 CCO=EFLAGS > > ---------------- > > IN: > > 0x0000000000010200: add %al,(%bx,%si) > > > > ############################################ > > ############################################ > > ############################################ > > > > With BochBIOS: > > > > EAX=00001000 EBX=00008e10 ECX=0009e080 EDX=00000000 > > ESI=000e0000 EDI=0000fdba EBP=0000fff2 ESP=0000fff8 > > EIP=00000025 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 > > ES =1000 00010000 0000ffff 00009300 > > CS =c900 000c9000 0000ffff 00009b0f > > SS =1000 00010000 0000ffff 00009300 > > DS =0000 00000000 0000ffff 00009300 > > FS =0000 00000000 0000ffff 00009300 > > GS =0000 00000000 0000ffff 00009300 > > LDT=0000 00000000 0000ffff 00008200 > > TR =0000 00000000 0000ffff 00008b00 > > GDT= 000fb867 00000030 > > IDT= 00000000 000003ff > > CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 > > DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 > > DR6=ffff0ff0 DR7=00000400 > > CCS=00000055 CCD=00000000 CCO=LOGICW > > ---------------- > > IN: > > 0x00000000000c9025: mov %ax,%ds > > 0x00000000000c9027: mov $0x1000,%ax > > 0x00000000000c902a: mov %ax,%fs > > 0x00000000000c902c: mov $0xa1d8,%ax > > 0x00000000000c902f: mov %ax,%gs > > 0x00000000000c9031: mov $0x0,%eax > > 0x00000000000c9037: mov $0x0,%ecx > > 0x00000000000c903d: mov $0x0,%edx > > 0x00000000000c9043: mov $0x0,%ebx > > 0x00000000000c9049: mov $0xfff0,%esp > > 0x00000000000c904f: mov $0x0,%ebp > > 0x00000000000c9055: mov $0x0,%esi > > 0x00000000000c905b: mov $0x0,%edi > > 0x00000000000c9061: ljmp $0x1020,$0x0 > > > > EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000 > > ESI=00000000 EDI=00000000 EBP=00000000 ESP=0000fff0 > > EIP=00000000 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 > > ES =1000 00010000 0000ffff 00009300 > > CS =1020 00010200 0000ffff 00009b0f > > SS =1000 00010000 0000ffff 00009300 > > DS =1000 00010000 0000ffff 00009300 > > FS =1000 00010000 0000ffff 00009300 > > GS =a1d8 000a1d80 0000ffff 00009300 > > LDT=0000 00000000 0000ffff 00008200 > > TR =0000 00000000 0000ffff 00008b00 > > GDT= 000fb867 00000030 > > IDT= 00000000 000003ff > > CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 > > DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 > > DR6=ffff0ff0 DR7=00000400 > > CCS=00000055 CCD=00000000 CCO=LOGICW > > ---------------- > > IN: > > 0x0000000000010200: jmp 0x10264 > > -- > Gleb. -- Gleb.