On 30 November 2014 at 15:12, Michael S. Tsirkin <m...@redhat.com> wrote: > On Sat, Nov 29, 2014 at 05:39:01PM +0000, Peter Maydell wrote: >> On 29 November 2014 at 17:36, Michael S. Tsirkin <m...@redhat.com> wrote: >> > My guess is VM fails to boot from disk for some reason. >> > Could you trigger a screenshot after this happens? >> >> Sure, if you can provide instructions (this is all from >> "make check" so there's no display by default and >> extracting a standalone qemu command line from "make >> check" is pretty tedious IME).
> It's probably easiest to simply drop -nographic > from test code to run with a display. OK, I did this, and the result is that there is just a black screen with no graphic output ever. The guest seems to be stuck in a loop: Trace 0x74e38bc0 [00000000000f1076] Trace 0x74e3f430 [00000000000f1141] Trace 0x74e38a80 [00000000000f1064] Trace 0x74e38bc0 [00000000000f1076] Trace 0x74e3f430 [00000000000f1141] Trace 0x74e38a80 [00000000000f1064] which I think is: 0x00000000000f1064: mov %edx,%eax 0x00000000000f1066: mov 0xf68fc,%dx 0x00000000000f106d: out %al,(%dx) 0x00000000000f106e: ret 0x00000000000f1076: ret 0x00000000000f1141: dec %ebp 0x00000000000f1142: jmp 0xf1133 0x00000000000f1133: test %ebp,%ebp 0x00000000000f1135: jle 0xf1144 [not taken] 0x00000000000f1137: mov (%esp),%edx 0x00000000000f113a: mov %esi,%eax 0x00000000000f113c: call 0xf106f ...but I don't see why that "call 0xf106f" takes us to f1064, which the trace says it does: Trace 0x74e3f300 [00000000000f1137] EAX=00000030 EBX=00000007 ECX=000f64c0 EDX=00000402 ESI=000f64c0 EDI=08000000 EBP=5b207800 ESP=00006f4c EIP=000f1137 EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] CS =0008 00000000 ffffffff 00cf9b00 DPL=0 CS32 [-RA] SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy GDT= 000f6be8 6be80037 IDT= 000f6c26 6c260000 CR0=60000011 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000004 CCD=5b207800 CCO=EFLAGS EFER=0000000000000000 Trace 0x74e38a80 [00000000000f1064] EAX=000f64c0 EBX=00000007 ECX=000f64c0 EDX=00000030 ESI=000f64c0 EDI=08000000 EBP=5b207800 ESP=00006f44 EIP=000f1064 EFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] CS =0008 00000000 ffffffff 00cf9b00 DPL=0 CS32 [-RA] SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS [-WA] LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy GDT= 000f6be8 6be80037 IDT= 000f6c26 6c260000 CR0=60000011 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000004 CCD=5b207800 CCO=EFLAGS EFER=0000000000000000 Full trace (300MB!) at: http://people.linaro.org/~peter.maydell/bios-test.log -- PMM