All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] What happened to linuxppc-img from Freeoszoo
@ 2005-06-24 21:52 Tero Kaarlela
  2005-06-24 19:21 ` jeebs
  0 siblings, 1 reply; 9+ messages in thread
From: Tero Kaarlela @ 2005-06-24 21:52 UTC (permalink / raw)
  To: qemu-devel

Hi,

    I tried to boot linuxppc image from freeoszoo with QemuCVS. kernel 
boots ok but then I get errors that it cant read filesystem from dev hda.
    Also tried with 0.7.0 and it freezes at: Freeing unused kernel memory

  my boot command line was: 0.7.0 qemu-system-ppc -prep -kernel 
zimage.prep linuxppc.img
                                                CVS qemu-system-ppc M 
prep -kernel zimage.prep linuxppc.img

So am I doing something wrong or is it broken currently?


Tero

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [Qemu-devel] What happened to linuxppc-img from Freeoszoo
@ 2005-06-27 14:46 Jim C. Brown
  2005-06-27 17:12 ` jeebs
  0 siblings, 1 reply; 9+ messages in thread
From: Jim C. Brown @ 2005-06-27 14:46 UTC (permalink / raw)
  To: qemu-devel

> >    I tried to boot linuxppc image from freeoszoo with QemuCVS. kernel
> > boots ok but then I get errors that it cant read filesystem from dev hda.
> >    Also tried with 0.7.0 and it freezes at: Freeing unused kernel memory
> 
> Late last year, QEMU reworked the disk geometry, and that can confuse old
> disk images.  The images expect an old style and the newer qemu offers a
> different geometry.

No, the geometry reported by 0.7.0 (which sees the disk properly and can mount
partition) and CVS (which can't see the partition table) are the same.

For the record, images I've used since qemu 0.5.2 still work fine with CVS.
(I only use raw images though.)

> qemu now more closely does what a real system does.  But I think somebody in
> the qemu user forum came across a situation where it wasn't true.  Don't
> remember the details, but I think it was for 512m sizes.  I don't remember
> well, so I could be wrong.  Anyway, it works better now than it did before.
> 

Actually, the reason that linux-ppc.img broke was due to a hack for darwin/ppc.

I have yet to determine why (i'm not that familiar with PPC or IDE) but the
folllowing patch will fix it. I'm not sure why this small change caused things
to break in the first place.

--- ide.c.old   Sun Jun 26 23:13:40 2005
+++ ide.c       Sun Jun 26 23:13:25 2005
@@ -1491,7 +1491,7 @@
#ifdef TARGET_PPC
         /* XXX: currently a workaround for Darwin/PPC. Need to check
            the IDE spec to see if it is correct */
-        ide_set_signature(s);
+        //ide_set_signature(s);
 #endif
         break;
      default:

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

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

end of thread, other threads:[~2005-06-27 18:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-24 21:52 [Qemu-devel] What happened to linuxppc-img from Freeoszoo Tero Kaarlela
2005-06-24 19:21 ` jeebs
2005-06-25 11:19   ` [Qemu-devel] " Stefano Marinelli
2005-06-25 16:23     ` Tero Kaarlela
2005-06-25 15:45       ` Stefano Marinelli
2005-06-25 19:58         ` Tero Kaarlela
2005-06-27 14:46 [Qemu-devel] " Jim C. Brown
2005-06-27 17:12 ` jeebs
2005-06-27 18:24   ` Jim C. Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.