qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Problem with SCSI emulation
@ 2008-07-25 15:31 Henrik Holst
  0 siblings, 0 replies; only message in thread
From: Henrik Holst @ 2008-07-25 15:31 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-25 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-25 15:31 [Qemu-devel] Problem with SCSI emulation Henrik Holst

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