All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] lsi53c895a lsi_do_dma assertion failure
@ 2015-03-16 15:59 Chris Takemura
  2015-03-16 17:21 ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Takemura @ 2015-03-16 15:59 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 727 bytes --]

Hi everyone,

We're using qemu as a device model for xen 4.4.  Lately we've been having qemu crashes with this output:


lsi_scsi: error: Unhandled writeb 0xff = 0x0

lsi_scsi: error: Unhandled writeb 0x100 = 0x0

lsi_scsi: error: Unhandled writeb 0x101 = 0x0

lsi_scsi: error: Unhandled writeb 0x102 = 0x0

qemu-system-i386: /home/chris/qemu/hw/scsi/lsi53c895a.c:541: lsi_do_dma: Assertion `s->current' failed.

This is with a clean qemu-2.1.0 tree, built for Xen.

I confirmed that commit d1d74664ea99cdc571afee12e31c8625595765b0 is present in our code.  (As described in the thread that begins with http://qemu-devel.nongnu.narkive.com/LtGj28sZ/win2k8-32-bit-mix-of-ide-and-scsi-assertion ).

Any ideas?

[-- Attachment #2: Type: text/html, Size: 1822 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] lsi53c895a lsi_do_dma assertion failure
  2015-03-16 15:59 [Qemu-devel] lsi53c895a lsi_do_dma assertion failure Chris Takemura
@ 2015-03-16 17:21 ` Paolo Bonzini
  2015-03-16 23:35   ` Chris Takemura
  2015-03-17  7:22   ` Markus Armbruster
  0 siblings, 2 replies; 4+ messages in thread
From: Paolo Bonzini @ 2015-03-16 17:21 UTC (permalink / raw)
  To: Chris Takemura, qemu-devel



On 16/03/2015 16:59, Chris Takemura wrote:
> Hi everyone,
> 
> We're using qemu as a device model for xen 4.4.  Lately we've been
> having qemu crashes with this output:
> 
> lsi_scsi: error: Unhandled writeb 0xff = 0x0
> 
> lsi_scsi: error: Unhandled writeb 0x100 = 0x0
> 
> lsi_scsi: error: Unhandled writeb 0x101 = 0x0
> 
> lsi_scsi: error: Unhandled writeb 0x102 = 0x0
> 
> qemu-system-i386: /home/chris/qemu/hw/scsi/lsi53c895a.c:541: lsi_do_dma:
> Assertion `s->current' failed.
> 
> 
> This is with a clean qemu-2.1.0 tree, built for Xen.
> 
> I confirmed that commit d1d74664ea99cdc571afee12e31c8625595765b0 is
> present in our code.  (As described in the thread that begins
> with http://qemu-devel.nongnu.narkive.com/LtGj28sZ/win2k8-32-bit-mix-of-ide-and-scsi-assertion ).

What guest is this?  The answer is basically "do not use this device
model", it is old and buggy and newer guests do not even ship the driver
anymore.

Paolo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] lsi53c895a lsi_do_dma assertion failure
  2015-03-16 17:21 ` Paolo Bonzini
@ 2015-03-16 23:35   ` Chris Takemura
  2015-03-17  7:22   ` Markus Armbruster
  1 sibling, 0 replies; 4+ messages in thread
From: Chris Takemura @ 2015-03-16 23:35 UTC (permalink / raw)
  To: Paolo Bonzini, qemu-devel

On 3/17/15, 2:21 AM, "Paolo Bonzini" <pbonzini@redhat.com> wrote:

>
>On 16/03/2015 16:59, Chris Takemura wrote:
>> Hi everyone,
>> 
>> We're using qemu as a device model for xen 4.4.  Lately we've been
>> having qemu crashes with this output:
>> 
>> lsi_scsi: error: Unhandled writeb 0xff = 0x0
>> 
>> lsi_scsi: error: Unhandled writeb 0x100 = 0x0
>> 
>> lsi_scsi: error: Unhandled writeb 0x101 = 0x0
>> 
>> lsi_scsi: error: Unhandled writeb 0x102 = 0x0
>> 
>> qemu-system-i386: /home/chris/qemu/hw/scsi/lsi53c895a.c:541: lsi_do_dma:
>> Assertion `s->current' failed.
>> 
>> 
>> This is with a clean qemu-2.1.0 tree, built for Xen.
>> 
>> I confirmed that commit d1d74664ea99cdc571afee12e31c8625595765b0 is
>> present in our code.  (As described in the thread that begins
>> with 
>>http://qemu-devel.nongnu.narkive.com/LtGj28sZ/win2k8-32-bit-mix-of-ide-an
>>d-scsi-assertion ).
>
>What guest is this?  The answer is basically "do not use this device
>model", it is old and buggy and newer guests do not even ship the driver
>anymore.

Windows 2008 R2.

I agree, but I don't know how to specify a different device emulation for
xen.  If you have some tips on that, I'd be grateful.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] lsi53c895a lsi_do_dma assertion failure
  2015-03-16 17:21 ` Paolo Bonzini
  2015-03-16 23:35   ` Chris Takemura
@ 2015-03-17  7:22   ` Markus Armbruster
  1 sibling, 0 replies; 4+ messages in thread
From: Markus Armbruster @ 2015-03-17  7:22 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Chris Takemura, qemu-devel

Paolo Bonzini <pbonzini@redhat.com> writes:

> On 16/03/2015 16:59, Chris Takemura wrote:
>> Hi everyone,
>> 
>> We're using qemu as a device model for xen 4.4.  Lately we've been
>> having qemu crashes with this output:
>> 
>> lsi_scsi: error: Unhandled writeb 0xff = 0x0
>> 
>> lsi_scsi: error: Unhandled writeb 0x100 = 0x0
>> 
>> lsi_scsi: error: Unhandled writeb 0x101 = 0x0
>> 
>> lsi_scsi: error: Unhandled writeb 0x102 = 0x0
>> 
>> qemu-system-i386: /home/chris/qemu/hw/scsi/lsi53c895a.c:541: lsi_do_dma:
>> Assertion `s->current' failed.
>> 
>> 
>> This is with a clean qemu-2.1.0 tree, built for Xen.
>> 
>> I confirmed that commit d1d74664ea99cdc571afee12e31c8625595765b0 is
>> present in our code.  (As described in the thread that begins
>> with
>> http://qemu-devel.nongnu.narkive.com/LtGj28sZ/win2k8-32-bit-mix-of-ide-and-scsi-assertion
>> ).
>
> What guest is this?  The answer is basically "do not use this device
> model", it is old and buggy and newer guests do not even ship the driver
> anymore.

I agree with the advice, but I can't help to notice we're not taking it
ourselves: -device if=scsi still creates lsi53c895a HBAs for many
machines.  I think we should fix that for new machine models.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-17  7:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-16 15:59 [Qemu-devel] lsi53c895a lsi_do_dma assertion failure Chris Takemura
2015-03-16 17:21 ` Paolo Bonzini
2015-03-16 23:35   ` Chris Takemura
2015-03-17  7:22   ` Markus Armbruster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.