qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-system-ppc on a pc
@ 2005-03-04 14:26 marco
  2005-03-05  0:14 ` J. Mayer
  0 siblings, 1 reply; 3+ messages in thread
From: marco @ 2005-03-04 14:26 UTC (permalink / raw)
  To: qemu-devel

Hello,

I'm trying to run linux-ppc on an x86 pc host (Gentoo). I downloaded the 
disk image and kernel from freeoszoo and, when trying to run it, I get:

pink qemu # qemu-system-ppc -prep -localtime -kernel ./zImage.prep ./linux-ppc.img
*** ERROR: opcode 57 already assigned in opcode table 80
*** ERROR: unable to insert opcode [00-80-57]
*** ERROR initializing PPC instruction 0x00 0x80 0x57
invalid/unsupported opcode: 12 - 02 - 18 (4bfffe05) 0xfffffffc 0
Segmentation fault


and it doesn't even come up ...
Qemu has been compiled with gcc 3.4.3 and binutils 2.15.92.0.2.

Any hints, suggestions?
Let me know if more info is needed.

Thanks,
marco



---
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] qemu-system-ppc on a pc
  2005-03-04 14:26 [Qemu-devel] qemu-system-ppc on a pc marco
@ 2005-03-05  0:14 ` J. Mayer
  2005-03-07 13:58   ` marco
  0 siblings, 1 reply; 3+ messages in thread
From: J. Mayer @ 2005-03-05  0:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: marco

On Fri, 2005-03-04 at 15:26, marco wrote:
> Hello,
> 
> I'm trying to run linux-ppc on an x86 pc host (Gentoo). I downloaded the 
> disk image and kernel from freeoszoo and, when trying to run it, I get:
> 
> pink qemu # qemu-system-ppc -prep -localtime -kernel ./zImage.prep ./linux-ppc.img
> *** ERROR: opcode 57 already assigned in opcode table 80
> *** ERROR: unable to insert opcode [00-80-57]
> *** ERROR initializing PPC instruction 0x00 0x80 0x57
> invalid/unsupported opcode: 12 - 02 - 18 (4bfffe05) 0xfffffffc 0
> Segmentation fault

Seems to me that you don't use qemu from CVS, but 0.6.1, am I right ?
Qemu PPC has long been broken when compiled with gcc 3.4.x.
Then, it seems you have two solutions:
- use gcc 3.3.x
- or use current qemu CVS repository.

-- 
J. Mayer <l_indien@magic.fr>
Never organized

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] qemu-system-ppc on a pc
  2005-03-05  0:14 ` J. Mayer
@ 2005-03-07 13:58   ` marco
  0 siblings, 0 replies; 3+ messages in thread
From: marco @ 2005-03-07 13:58 UTC (permalink / raw)
  To: qemu-devel

You are right, I'm using 0.6.1 from gentoo's packages. I'll try the CVS 
version ... Thank you!

marco

---
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan


On Sat, 5 Mar 2005, J. Mayer wrote:

> On Fri, 2005-03-04 at 15:26, marco wrote:
>> Hello,
>>
>> I'm trying to run linux-ppc on an x86 pc host (Gentoo). I downloaded the
>> disk image and kernel from freeoszoo and, when trying to run it, I get:
>>
>> pink qemu # qemu-system-ppc -prep -localtime -kernel ./zImage.prep ./linux-ppc.img
>> *** ERROR: opcode 57 already assigned in opcode table 80
>> *** ERROR: unable to insert opcode [00-80-57]
>> *** ERROR initializing PPC instruction 0x00 0x80 0x57
>> invalid/unsupported opcode: 12 - 02 - 18 (4bfffe05) 0xfffffffc 0
>> Segmentation fault
>
> Seems to me that you don't use qemu from CVS, but 0.6.1, am I right ?
> Qemu PPC has long been broken when compiled with gcc 3.4.x.
> Then, it seems you have two solutions:
> - use gcc 3.3.x
> - or use current qemu CVS repository.
>
> -- 
> J. Mayer <l_indien@magic.fr>
> Never organized
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-07 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-04 14:26 [Qemu-devel] qemu-system-ppc on a pc marco
2005-03-05  0:14 ` J. Mayer
2005-03-07 13:58   ` marco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).