qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter <pjcreath+openbios@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] sparc32 bug/misfeature
Date: Tue, 27 Feb 2007 10:02:12 -0500	[thread overview]
Message-ID: <d40b362a0702270702h188f7ab9p88f9152e5c7fa0e9@mail.gmail.com> (raw)

hw/sun4m.c, line 154:

    m48t59_write(nvram, i++, 0x80); /* Sun4m OBP */

This is not a machine type recognized by SunOS (and probably other
early versions of Solaris).  According to idprom.h (some which is
quoted at http://www.sunmanagers.org/archives/1993/0050.html), the
only recognized sun4m IDs are:

#define IDM_SUN4M_690	 0x71	/* SPARCsystem 600 series */
#define IDM_SUN4M_50	 0x72	/* Campus 2 */

A SparcStation 10 is IDM_SUN4M_50.  SunOS tries to print an error
message and panic() if the machine ID is neither 0x71 or 0x72.  (It
fails with a data access exception because some of the devices haven't
been mapped yet.)

So this either needs to be changed to 0x72 or there needs to be some
way to configure qemu to specify the machine ID from the command line
(or config file).

             reply	other threads:[~2007-02-27 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27 15:02 Peter [this message]
2007-02-27 21:01 ` [Qemu-devel] sparc32 bug/misfeature Blue Swirl
2007-02-28 14:54   ` Peter

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=d40b362a0702270702h188f7ab9p88f9152e5c7fa0e9@mail.gmail.com \
    --to=pjcreath+openbios@gmail.com \
    --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).