qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Blue Swirl" <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] sparc dma length bug(and fix) seen with NetBSD
Date: Tue, 1 Jul 2008 21:00:18 +0300	[thread overview]
Message-ID: <f43fc5580807011100h28d5378bw584685eeb08379d1@mail.gmail.com> (raw)
In-Reply-To: <20080701102338.e756a168.cliff@snipe444.org>

On 7/1/08, Cliff Wright <cliff@snipe444.org> wrote:
> Using QEMU 0.9.1 for sparc emulation, a dma length bug is seen with NetBSD.
>  When an 8192 byte block is read to memory using dma into non-contiguous
>  memory, the 2nd 4k block of contiguous memory is also written to.
>  This is due to an incorrect variable being used for length.
>  See the attached patch. I see the same bug on subversion trunk.

Excellent, with the patch in place I was able to install NetBSD 4.0 to
hard disk and boot to the installed system! The only wart was that
installer could not reboot the system, but that's probably a bug in
OpenBIOS (need to make reboot HW MMIO mapping more robust).

      reply	other threads:[~2008-07-01 18:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01 17:23 [Qemu-devel] sparc dma length bug(and fix) seen with NetBSD Cliff Wright
2008-07-01 18:00 ` Blue Swirl [this message]

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=f43fc5580807011100h28d5378bw584685eeb08379d1@mail.gmail.com \
    --to=blauwirbel@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).