qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Jim C. Brown" <jma5@umd.edu>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] What happened to linuxppc-img from Freeoszoo
Date: Mon, 27 Jun 2005 10:46:08 -0400	[thread overview]
Message-ID: <20050627144608.GA16320@jbrown.mylinuxbox.org> (raw)

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

             reply	other threads:[~2005-06-27 15:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-27 14:46 Jim C. Brown [this message]
2005-06-27 17:12 ` [Qemu-devel] What happened to linuxppc-img from Freeoszoo jeebs
2005-06-27 18:24   ` Jim C. Brown
  -- strict thread matches above, loose matches on Subject: below --
2005-06-24 21:52 Tero Kaarlela
2005-06-24 19:21 ` jeebs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050627144608.GA16320@jbrown.mylinuxbox.org \
    --to=jma5@umd.edu \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).