qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-system-ppc64 fails (invalid/unsupported opcode: 1e - 03 - 0f)
@ 2009-06-10 17:48 Richard W.M. Jones
  2009-06-11 10:07 ` [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything? Richard W.M. Jones
  0 siblings, 1 reply; 15+ messages in thread
From: Richard W.M. Jones @ 2009-06-10 17:48 UTC (permalink / raw)
  To: qemu-devel

[Does qemu have a bug tracker?  I couldn't find one.]

I have a problem booting a Linux appliance on an x86-64 host using
qemu-system-ppc64 (this is with qemu from git).  The command which
fails is:

$ ~/d/qemu/ppc64-softmmu/qemu-system-ppc64 \
    -L ~/d/qemu/pc-bios \
    -hda /dev/null \
    -kernel vmlinuz.fedora-12.powerpc64 \
    -initrd initramfs.fedora-12.powerpc64.img \
    -append console=ttyS0 -nographic -serial stdio
>> =============================================================
>> OpenBIOS 1.0 [Mar 31 2009 15:35]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on Mar 31 2009 15:35

>> [ppc] Kernel already loaded (0x01000000 + 0x00fa5be4) (initrd 0x01800000 + 0x01cfdf36)
>> [ppc] Kernel command line: console=ttyS0
invalid/unsupported opcode: 1e - 03 - 0f (798c83c6) 00000000010082ec 1
invalid bits: 00400000 for opcode: 0b - 19 - 15 (2d746572) 0000000000009230

(at this point qemu hangs until I kill it).

I am currently uploading the kernel & initrd which I'm using here, in
case anyone wants to try reproducing this:

http://et.redhat.com/~rjones/tmp/

f025eb7950653d2581199161668e95ef  initramfs.fedora-12.powerpc64.img
1c22078a5954ff0964b405a7dfecf7e8  vmlinuz.fedora-12.powerpc64

                  30400310 bytes  initramfs.fedora-12.powerpc64.img
                  15392296 bytes  vmlinuz.fedora-12.powerpc64

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything?
@ 2009-06-11 11:18 Laurent Vivier
  2009-06-11 12:26 ` Richard W.M. Jones
  0 siblings, 1 reply; 15+ messages in thread
From: Laurent Vivier @ 2009-06-11 11:18 UTC (permalink / raw)
  To: rjones, qemu-devel

[...]
>So has _anyone_ got an example of qemu-system-ppc{,64} booting an OS
>that they can share with us?

qemu-system-ppc boots fine the lenny debian install CD:

http://gensho.acc.umu.se/debian-cd/5.0.1/powerpc/iso-cd/debian-501-powerpc-netinst.iso

(commit abc0754527e30acf278765f66d2157b6c75dc549)

command line:

./ppc-softmmu/qemu-system-ppc -L ./pc-bios/ -cdrom debian-501-powerpc-netinst.iso

OpenFirmware command:

boot cd:

Boot a debian, it makes you happy ;-)

BTW, I guess you doesn't the good openfirmware... try a make install.

Regards,
Laurent
-- 
--------------------- Laurent@vivier.eu  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything?
@ 2009-06-11 13:28 Laurent Vivier
  2009-06-11 14:12 ` Richard W.M. Jones
  0 siblings, 1 reply; 15+ messages in thread
From: Laurent Vivier @ 2009-06-11 13:28 UTC (permalink / raw)
  To: rjones; +Cc: qemu-devel

>On Thu, Jun 11, 2009 at 01:18:01PM +0200, Laurent Vivier wrote:
>> [...]
>> >So has _anyone_ got an example of qemu-system-ppc{,64} booting an OS
>> >that they can share with us?
>> 
>> qemu-system-ppc boots fine the lenny debian install CD:
>> 
>> 
>http://gensho.acc.umu.se/debian-cd/5.0.1/powerpc/iso-cd/debian-501-powerpc-neti
>nst.iso
>> 
>> (commit abc0754527e30acf278765f66d2157b6c75dc549)
>> 
>> command line:
>> 
>> ./ppc-softmmu/qemu-system-ppc -L ./pc-bios/ -cdrom 
>debian-501-powerpc-netinst.iso
>
>Excellent, and using the same technique I also managed to boot my own
>appliance.  The problem, it turned out, was the serial console doesn't
>work, ie:
>
>  -append "console=ttyS0" -serial stdio
>

try "console=ttyPZ0".

Laurent
-- 
--------------------- Laurent@vivier.eu  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

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

end of thread, other threads:[~2009-07-02 10:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-10 17:48 [Qemu-devel] qemu-system-ppc64 fails (invalid/unsupported opcode: 1e - 03 - 0f) Richard W.M. Jones
2009-06-11 10:07 ` [Qemu-devel] Anyone got qemu-system-ppc{,64} to boot anything? Richard W.M. Jones
2009-06-11 10:35   ` Andreas Färber
2009-06-11 18:15   ` Stefan Weil
2009-06-11 20:21   ` Blue Swirl
2009-06-12  5:09     ` Alexander Graf
2009-07-02 10:11   ` Rob Landley
  -- strict thread matches above, loose matches on Subject: below --
2009-06-11 11:18 Laurent Vivier
2009-06-11 12:26 ` Richard W.M. Jones
2009-06-11 12:35   ` Baojun Wang
2009-06-12 15:48     ` Blue Swirl
2009-06-13 17:47       ` Hollis Blanchard
2009-06-14  3:47         ` Baojun Wang
2009-06-11 13:28 Laurent Vivier
2009-06-11 14:12 ` Richard W.M. Jones

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).