qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Henrik Holst" <henrik@witsbits.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Problem with SCSI emulation
Date: Fri, 25 Jul 2008 17:31:41 +0200	[thread overview]
Message-ID: <4e9085270807250831n53de87eel4bb06b3fc9a8018d@mail.gmail.com> (raw)

There seams to be a problem with the SCSI emulation in qemu. I
originally tripped over this using KVM but have since confirmed the
same behavior in qemu-trunk.

I have also tested on both an debian amd64 host and an ubuntu i386
host with the very same results.

Trying to install OpenBSD 4.3 as:
  qemu -drive file=test.img,if=scsi,media=disk -cdrom install43.iso -m
256 -boot d

yields continous lines of "lsi_scsi: error: Reselect with pending DMA"
from qemu and the OpenBSD installer complaints about problems to
write. I have tested with both the i386 and amd64 version of OpenBSD
with the very same problem.

If booting a linux guest such as ubuntu 8.04 the SCSI emulation seams
to work just fine until one starts qemu with -m 4096 (or higher), if
one does so the guest sees either a 512B sized drive or a drive
without a partition table (and fdisk fails to write a new partition
table in the guest).

The test.img is a 10G qcow2 file.

Since there is no direct speed difference between the ide and scsi
emulations (according to my small bonnie+++ tests) this would not
normally be a problem, but since the ide emulation is locked to a
maximum of 4 devices and we happen to have to use 5 devices :(...

I will try to go through the code my self, but would appreciate if any
one would have any ideas to what this might be due to (since I am
completely new to scsi emulation).

Sincerely, Henrik Holst

                 reply	other threads:[~2008-07-25 15:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4e9085270807250831n53de87eel4bb06b3fc9a8018d@mail.gmail.com \
    --to=henrik@witsbits.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).