From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QF4SM-0001Fl-RH for qemu-devel@nongnu.org; Wed, 27 Apr 2011 09:07:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QF4SJ-000236-1a for qemu-devel@nongnu.org; Wed, 27 Apr 2011 09:07:02 -0400 Received: from ssl.dlh.net ([91.198.192.8]:40692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QF4SI-000231-T5 for qemu-devel@nongnu.org; Wed, 27 Apr 2011 09:06:58 -0400 Message-ID: <4DB814EA.2070809@dlh.net> Date: Wed, 27 Apr 2011 15:06:50 +0200 From: Peter Lieven MIME-Version: 1.0 References: <1283784174-30436-1-git-send-email-bernhard.kohl@nsn.com> <4CADAE8E.2050405@redhat.com> <34941DDA-4ADD-478F-A529-2B48F4A64541@dlh.net> <4D773E9F.6060009@redhat.com> <4D77479D.9010903@nsn.com> <4DB6DAC8.9060101@dlh.net> <4DB6FB25.5080505@msgid.tls.msk.ru> In-Reply-To: <4DB6FB25.5080505@msgid.tls.msk.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] lsi53c895a: add support for ABORT messages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: ext Kevin Wolf , Bernhard Kohl , qemu-devel@nongnu.org, "Nicholas A. Bellinger" , Hannes Reinecke On 26.04.2011 19:04, Michael Tokarev wrote: > 26.04.2011 18:46, Peter Lieven wrote: > [] >> i recently saw some qemu-kvm 0.12.5 guests with scsi and this patch >> applies crashing when >> we updated our backend iscsi storages. (short interrupt in traffic flow, >> iscsi disconnect + reconnect) >> >> i always see: >> lsi_scsi: error: ORDERED queue not implemented >> >> and then either the maschine just hangs or it even aborts due to this >> assertion: >> qemu-kvm-0.12.5: /usr/src/qemu-kvm-0.12.5/hw/lsi53c895a.c:596: >> lsi_reselect: Assertion `s->current == ((void *)0)' failed. > http://bugs.debian.org/613413 talks about this very issue too ;) > >> any ideas? > Unfortunately, no, except that it looks like scsi support is > not of production quality still. Do you know a reliable way to reproduce the ORDERED queue not implemented error? I tried with 0.14.0, but I were not able to. I will now try with 0.12.5. However in 0.14.0 I manage to freeze a VM when copying data from an SCSI device and then temporarely interrupt the connection to my iSCSI storage which is used as backend on the host. Strangely, I cannot reprocude this when I run qemu-kvm in gdb. There I just see some SIGPIPE errors, but when I continue everything is fine. From what I read from the SCSI2 specs a target should either implement all tagged queue commands or none. If tagged queing is not supported it should send a reject message, but continue with the following command. http://ldkelley.com/SCSI2/SCSI2/SCSI2-06.html#6.6.17 Can somebody who is more familiar with SCSI look into this? SCSI drive support seems to be serverly broken. Peter > /mjt