Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Thiemo Seufer <ths@networkno.de>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: linux-mips@linux-mips.org
Subject: Re: kernel patch for QEMU ?
Date: Sun, 14 May 2006 19:21:51 +0100	[thread overview]
Message-ID: <20060514182151.GB800@networkno.de> (raw)
In-Reply-To: <20060515.010846.25910142.anemo@mba.ocn.ne.jp>

Atsushi Nemoto wrote:
> Now I'm trying QEMU 0.8.1 on mips.
> 
> I found mips-test-0.1.tar.gz on QEMU download page and can run it
> (thanks ths!), but I still can not run a kernel (current lmo git)
> compiled by myself.  My kernel stops after the famous "Checking for
> 'wait' instruction...  available." message.
> 
> The mips-test-0.1 contains kernel 2.6.16-rc6.  Is this a stock
> kernel.org's kernel or lmo's kernel?  Or is there any patch to make
> kernel run on QEMU?

This kernel is stock lmo except for a small patch which allows clean
system shutdown (qemu 0.8.1 does not have the counterpart to it).
The patch should be completely irrelevant otherwise.

However, later kernels try to access the CP0 pagemask register which
is R10000 specific, IIRC Qemu throws an Reserved Instruction exception
on accessing it.

I use a heavily patched version of Qemu which mostly supports mips32r2,
it also has better decoding of CP0 accesses. My current patchset is
available at http://people.debian.org/~ths/qemu/qemu-patches-bogus2,
it needs more work before it is ready for inclusion, and may be
completely useless for anybody else, since it works ATM only on powerpc
hosts.


Thiemo

  parent reply	other threads:[~2006-05-14 18:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-14 16:08 kernel patch for QEMU ? Atsushi Nemoto
2006-05-14 17:52 ` Ralf Baechle
2006-05-14 18:21 ` Thiemo Seufer [this message]
2006-05-15  1:55   ` Atsushi Nemoto
2006-05-15 14:23     ` Atsushi Nemoto

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=20060514182151.GB800@networkno.de \
    --to=ths@networkno.de \
    --cc=anemo@mba.ocn.ne.jp \
    --cc=linux-mips@linux-mips.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