Skip to contentSkip to conversation

using qemu to boot Fedora

Qemu-devel David Woodhouse 3 participants 4 messages Jul 27, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20070726194719.6bd148db@ender

#1 lore raw
Quoted 4 lines · Jesse Keating

So I'd really really like to be able to use qemu to test my just composed PPC trees. Alas I can't seem to find the magic key combos to make this happen. Have any of you had any luck doing this? There seems to be scarce documentation on the net about this as well.

Qemu's "Open Hackware" firmware doesn't really run FORTH scripts properly -- it just looks at the CRC32 of the script and then does a predefined action, if it recognises it. Last time I looked, it didn't recognise the FORTH script we use on the Fedora boot media to test for 32-bit vs. 64-bit hardware. I think I sent a patch to remedy that.

I'm not sure if it's supposed to be able to run yaboot, but it doesn't seem to. I've tried running the netboot images (which are just a zImage containing kernel+initrd) and I think I had problems with that too -- but at least that was a qemu thing not firmware. It may be fixed now.

Signature · 1 line
dwmw2
#2 lore raw
Quoted 5 lines · On Fri, 27 Jul 2007 10:17:01 +0100 David Woodhouse <[email protected]> wrote:

I'm not sure if it's supposed to be able to run yaboot, but it doesn't seem to. I've tried running the netboot images (which are just a zImage containing kernel+initrd) and I think I had problems with that too -- but at least that was a qemu thing not firmware. It may be fixed now.

That would potentially work, I just want to try getting the install env up and running. What syntax did you use to boot the netboot image?

Signature · 3 lines
Jesse Keating RHCE      (geek.j2solutions.net)
Fedora Legacy Team      (www.fedoralegacy.org)
GPG Public Key          (geek.j2solutions.net/jkeating.j2solutions.pub)
#3 lore raw
Quoted 3 lines · Jesse Keating

That would potentially work, I just want to try getting the install env up and running. What syntax did you use to boot the netboot image?

I don't remember -- I think I may have built a hacked version of OpenHackware which just interprets the crc32 of the Fedora ofboot.b to mean "load images/netboot/ppc32.img".

I'll have another go at getting it to run.

Signature · 1 line
dwmw2
#4 lore raw
In reply to David Woodhouse
Quoted 4 lines · David Woodhouse

I'm not sure if it's supposed to be able to run yaboot, but it doesn't seem to. I've tried running the netboot images (which are just a zImage containing kernel+initrd) and I think I had problems with that too -- but at least that was a qemu thing not firmware. It may be fixed now.

When I tried to boot Fedora 6 a few months ago, qemu was able to run yaboot and start the install CD, using the mac99 system model. Unfortunately it required some hacking on OpenHackware to get to that point, and I never got the emulated IDE controller to work. Something in the interrupt controller emulation was apparently broken sometime in 2006 and never fixed.

I would be glad to participate in a group effort to get Fedora booting on qemu. Reasonable PowerPC server hardware is getting harder and harder to find (and I don't consider $4000 for a dual-core IBM box reasonable).

--Ed