qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/4] tcg-ppc: Convert to helper_ret_ld/st_mmu


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 3/4] tcg-ppc: Convert to helper_ret_ld/st_mmu
Date: Mon, 09 Sep 2013 19:49:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

Il 09/09/2013 19:42, Richard Henderson ha scritto:
> On 08/19/2013 12:42 PM, Paolo Bonzini wrote:
>> Bad news... with this patch, either with or without patch 2, trying to 
>> execute
>> sieve.flat from kvm-unit-tests (it doesn't matter if it is compiled as 32-bit
>> or 64-bit, and with both i386-softmmu and x86_64-softmmu targets) fails as
>> follows on my PowerBook:
>>
>> qemu: fatal: Trying to execute code outside RAM or ROM at 0x70360000
> 
> Hum.  Are you sure it's anything related to the ppc backend at all?  This
> test doesn't work with an x86_64 host either.
> 
> qemu: fatal: Trying to execute code outside RAM or ROM at 0x004001ba
> 
> EAX=80000011 EBX=00009500 ECX=c0000080 EDX=00000000
> ESI=00000000 EDI=00542000 EBP=00000000 ESP=0044abbc
> EIP=004001ba EFL=00000046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
> ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
> CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-]
> 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=     0040800a 00000447
> IDT=     00000000 000003ff
> CR0=80000011 CR2=00000000 CR3=00407000 CR4=00000020
> DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
> DR6=ffff0ff0 DR7=00000400
> CCS=00000000 CCD=00000000 CCO=SARL
> EFER=0000000000000000
> FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
> FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
> FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
> FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
> FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
> XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
> XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
> XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
> XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
> Aborted (core dumped)
> 
> This happens after one of the writes to %cr0.  Of course, the test works with
> kvm enabled, so I don't blame the test so much as the target-i386 front end...
> 
> This is not new breakage, either.  I've checked back through 1.4.0 and I can't
> make it work with any version of TCG.

Strange... works here with 1.6.0 from Fedora

$ time qemu-system-x86_64 -device isa-debug-exit,iobase=0xf4 -serial
stdio -kernel sieve64.flat
enabling apic
starting sieve
static:78498 out of 1000000
paging enabled
cr0 = 80010011
cr3 = 7fff000
cr4 = 20
mapped:78498 out of 1000000
virtual:5761455 out of 100000000
virtual:5761455 out of 100000000
virtual:5761455 out of 100000000

real    0m50.056s
user    0m49.467s
sys     0m0.415s

I sent you my binaries offlist.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]