On Wed, Aug 28, 2013 at 02:28:09PM +0100, Richard W.M. Jones wrote:
Does anyone have a working recipe for installing Fedora on
qemu-system-ppc64 (host is x86-64)? I've been trying it for about a
day now, and just keep hitting bugs.
I can get the Fedora 19 netinst and DVD to boot fine using upstream
qemu from git and the following command:
./ppc64-softmmu/qemu-system-ppc64 \
-cpu POWER7 \
-M pseries \
-m 4096 \
-hda /dev/fedora/f20ppc64 \
-cdrom /tmp/Fedora-19-ppc64-DVD.iso \
-netdev user,id=usernet,net=169.254.0.0/16 \
-device virtio-net-pci,netdev=usernet
You can try chaning the -cpu to 970 or other options. F19 installed on
my G5 so 970 /should/ work.
However X11 cannot render anything:
https://bugzilla.redhat.com/show_bug.cgi?id=1002030
What graphics device does qemu emulate? Are there alternatives
I could try?
I think you're best option is a vnc install. As I understand it it's
just a simple OpenFirmware FB (OFFB) and the appropriate xorg driver.
Using a text-mode non-LVM Anaconda install proceeds a little
further,
although is still buggy:
https://bugzilla.redhat.com/show_bug.cgi?id=1001792
https://bugzilla.redhat.com/show_bug.cgi?id=966289#c37
Finally it fails with "script error with package [some package name]":
https://bugzilla.redhat.com/show_bug.cgi?id=1002077
I'm pretty sure this will come down to the gcc in Ferdora is generating
VSX instructions but qemu doesn't emulate them. Short of writing that
emulation code I think you're sunk with the std. images.
Yours Tony