Received: from [140.186.70.92] (port=36090 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6Dgm-0007O9-S1 for qemu-devel@nongnu.org; Sat, 02 Apr 2011 23:09:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6Dgh-0000BB-SS for qemu-devel@nongnu.org; Sat, 02 Apr 2011 23:09:20 -0400 Received: from nm26.bullet.mail.ne1.yahoo.com ([98.138.90.89]:25319) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q6Dgh-0000B7-MU for qemu-devel@nongnu.org; Sat, 02 Apr 2011 23:09:15 -0400 Message-ID: <78679.4237.qm@web110410.mail.gq1.yahoo.com> Date: Sat, 2 Apr 2011 20:09:13 -0700 (PDT) From: Kenneth Salerno MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Help Debugging AIX boot on qemu-system-ppc (it reads bootfile.exe now) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi,=0A=0AI have been using QEMU for a few years and periodically tested AIX= V6.1 with qemu-system-ppc and read the various threads in the mailing list= knowing not to expect it to work just yet. However, with OpenBIOS v1.0 I w= as surprised to find how far it gets now. Please see below and I would appr= eciate any advice on how to debug further:=0A=0A>> =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0A>> OpenBIOS 1.0 [Jan 30 2011 08:46]=0A>> Configuration device i= d QEMU version 1 machine id 2=0A>> CPUs: 1=0A>> Memory: 2047M=0A>> UUID: 17= 202d0a-45f8-4159-a8e1-78b866f50aa7=0A>> CPU type PowerPC,750=0AWelcome to O= penBIOS v1.0 built on Jan 30 2011 08:46=0ATrying cd:,\\:tbxi...=0ATrying cd= :,\ppc\bootinfo.txt...=0A=0A=0A=0A-----------------------------------------= --------------------------------------=0A=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0Welcome to AIX.=0A=A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0=A0=A0boot image timestamp: 00:39 35/2D=0A=A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0=A0=A0The current time and date: 23:00:50 04/02/2011= =0A=A0 =A0 =A0 =A0 processor count: 1;=A0 memory size: 2047MB;=A0 kernel si= ze: 2293829=0A=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 boot device: cd:\ppc\= chrp\bootfile.exe=0A=0Aqemu>=0Ainfo cpus=0A* CPU #0: nip=3D0xfff0fcdc threa= d_id=3D2527=0A=0Ainfo registers=0ANIP fff0fcec=A0=A0=A0LR fff0fcc4 CTR fff1= 1558 XER 20000000=0AMSR 00003032 HID0 00000000=A0 HF 00002000 idx 1=0ATB 00= 000000 1542797983 DECR 2752169338=0AGPR00 000000007fb9f0d0 000000007fcf7790= 0000000000000000 000000007fba29e4=0AGPR04 00000000fffb403c 000000000004420= 0 00000000fff02464 0000000000044200=0AGPR08 0000000000000000 000000007fba29= e4 000000000000000c 0000000000000820=0AGPR12 00000000000088ac 0000000000000= 000 00000000fff305f5 00000000fff30dac=0AGPR16 00000000fff2f14e 000000000400= 0000 00000000fffb36c4 00000000fffb3ec4=0AGPR20 00000000000030ec 00000000fff= 2ef4a 00000000fff2ef38 00000000fff2eeb8=0AGPR24 00000000fff2ef40 00000000ff= fb3628 0000000000044204 00000000fffffff8=0AGPR28 0000000000000036 00000000f= ffb0000 00000000fffb0000 000000007fb9f0d8=0ACR 48000084=A0 [ G=A0 L=A0 -=A0= -=A0 -=A0 -=A0 L=A0 G=A0 ]=A0 =A0 =A0 =A0 =A0 =A0=A0=A0RES ffffffff=0AFPR0= 0 0000000000000000 0000000000000000 0000000000000000 0000000000000000=0AFPR= 04 0000000000000000 0000000000000000 0000000000000000 0000000000000000=0AFP= R08 0000000000000000 0000000000000000 0000000000000000 0000000000000000=0AF= PR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000=0A= FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000= =0AFPR20 0000000000000000 0000000000000000 0000000000000000 000000000000000= 0=0AFPR24 0000000000000000 0000000000000000 0000000000000000 00000000000000= 00=0AFPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000= 000=0AFPSCR 00000000=0ASRR0 000042c0 SRR1 00003032 SDR1 7fd00000=0A=0Ax/20i= $pc-10=0A0xfff0fcd2:=A0 fnmadd. f31,f24,f4,f18=0A0xfff0fcd6:=A0 .long 0xff= f84800=0A0xfff0fcda:=A0 .long 0x87d23=0A0xfff0fcde:=A0 bla=A0 =A0=A0=A00xff= 788120=0A0xfff0fce2:=A0 .long 0x2f89=0A0xfff0fce6:=A0 .long 0x419e=0A0xfff0= fcea:=A0 .long 0x148149=0A0xfff0fcee:=A0 .long 0x4817f=0A0xfff0fcf2:=A0 .lo= ng 0xfffc7f8a=0A0xfff0fcf6:=A0 rlmi=A0 =A0 r0,r2,r8,6,14=0A0xfff0fcfa:=A0 f= nmadd. f31,f4,f4,f18=0A0xfff0fcfe:=A0 .long 0xfff89003=0A0xfff0fd02:=A0 .lo= ng 0x3961=0A0xfff0fd06:=A0 .long 0x104801=0A0xfff0fd0a:=A0 ori=A0 =A0=A0=A0= r24,r11,37921=0A0xfff0fd0e:=A0 .long 0xffe07c08=0A0xfff0fd12:=A0 .long 0x2a= 6bfa1=0A0xfff0fd16:=A0 .long 0x147c7e=0A0xfff0fd1a:=A0 .long 0x1b799001=0A0= xfff0fd1e:=A0 .long 0x247c9d=0A=0Alast entry from out_asm:=0AOUT: [size=3D2= 56]=0A0x4157ae90: mov 0x100(%r14),%ebp=0A0x4157ae97: mov 0x4(%r14),= %ebx=0A0x4157ae9b: lea -0x10(%rbx),%r12d=0A0x4157ae9f: mov %ebp,(%r= 14)=0A0x4157aea2: mov $0x20,%ebp=0A0x4157aea7: mov %ebp,0x260(%r14)= =0A0x4157aeae: mov %r12d,%esi=0A0x4157aeb1: mov %r12d,%edi=0A0x4157= aeb4: shr $0x7,%esi=0A0x4157aeb7: and $0xfffff003,%edi=0A0x4157aebd= : and $0x1fe0,%esi=0A0x4157aec3: lea 0x228c(%r14,%rsi,1),%rsi=0A0x4= 157aecb: cmp (%rsi),%edi=0A0x4157aecd: mov %r12d,%edi=0A0x4157aed0:= jne 0x4157aede=0A0x4157aed2: add 0xc(%rsi),%rdi=0A0x4157aed6: mov= %ebx,%esi=0A0x4157aed8: bswap %esi=0A0x4157aeda: mov %esi,(%rdi)= =0A0x4157aedc: jmp 0x4157aeea=0A0x4157aede: mov %ebx,%esi=0A0x4157a= ee0: mov $0x1,%edx=0A0x4157aee5: callq 0x57f0f5=0A0x4157aeea: lea = 0x14(%r12),%ebp=0A0x4157aeef: mov (%r14),%ebx=0A0x4157aef2: mov %r= 12d,0x4(%r14)=0A0x4157aef6: mov %ebp,%esi=0A0x4157aef8: mov %ebp,%e= di=0A0x4157aefa: shr $0x7,%esi=0A0x4157aefd: and $0xfffff003,%edi= =0A0x4157af03: and $0x1fe0,%esi=0A0x4157af09: lea 0x228c(%r14,%rsi,= 1),%rsi=0A0x4157af11: cmp (%rsi),%edi=0A0x4157af13: mov %ebp,%edi= =0A0x4157af15: jne 0x4157af23=0A0x4157af17: add 0xc(%rsi),%rdi=0A0x= 4157af1b: mov %ebx,%esi=0A0x4157af1d: bswap %esi=0A0x4157af1f: mov = %esi,(%rdi)=0A0x4157af21: jmp 0x4157af2f=0A0x4157af23: mov %ebx,%= esi=0A0x4157af25: mov $0x1,%edx=0A0x4157af2a: callq 0x57f0f5=0A0x4157= af2f: mov 0xc(%r14),%ebp=0A0x4157af33: lea 0x18(%rbp),%ebx=0A0x4157= af36: mov %ebx,%esi=0A0x4157af38: mov %ebx,%edi=0A0x4157af3a: shr = $0x7,%esi=0A0x4157af3d: and $0xfffff003,%edi=0A0x4157af43: and $= 0x1fe0,%esi=0A0x4157af49: lea 0x2288(%r14,%rsi,1),%rsi=0A0x4157af51: c= mp (%rsi),%edi=0A0x4157af53: mov %ebx,%edi=0A0x4157af55: jne 0x4= 157af61=0A0x4157af57: add 0x10(%rsi),%rdi=0A0x4157af5b: mov (%rdi),= %ebp=0A0x4157af5d: bswap %ebp=0A0x4157af5f: jmp 0x4157af6d=0A0x4157af= 61: mov $0x1,%esi=0A0x4157af66: callq 0x57ecde=0A0x4157af6b: mov = %eax,%ebp=0A0x4157af6d: mov %ebp,0xc(%r14)=0A0x4157af71: mov $0xfff= 084ac,%ebp=0A0x4157af76: mov %ebp,0x25c(%r14)=0A0x4157af7d: mov $0x= fff1156c,%ebp=0A0x4157af82: mov %ebp,0x100(%r14)=0A0x4157af89: xor = %eax,%eax=0A0x4157af8b: jmpq 0x11babee=0A=0AThank you,=0AKen