All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] scsi: lsi problems since "unit attention on reset"
Date: Mon, 26 Sep 2011 09:50:13 +0200	[thread overview]
Message-ID: <4E802EB5.3000800@redhat.com> (raw)
In-Reply-To: <4E802979.9060707@siemens.com>

On 09/26/2011 09:27 AM, Jan Kiszka wrote:
> Hi Paolo,
>
> I'm facing problems over latest qemu with our special guest OS that is
> using the LSI controller. It hangs during boot now. This can be resolved
> by reverting commit c7b488721d (scsi: report unit attention on reset).
>
> I cannot exclude a bug in the guest driver at this point, but maybe you
> also have some idea what could go wrong in the SCSI stack or the LSI
> emulation. Any suggestions where to look at would be welcome.

It works for me under Linux, so I suspect it is a bug in the guest OS or 
the BIOS, which should send TEST UNIT READY before trying to communicate 
to the HBA.  You can use tracing to detect that, it probably sends 
something like READ CAPACITY and fails because it does not expect that 
command to fail.

That said, since there are 3 out of 3 BIOSes that couldn't cope with 
that change---Linux and Windows work of course---it makes sense to 
revert it even though the patch by itself is correct.  If you send it 
out, I'll gladly add my Acked-by.

Paolo

  reply	other threads:[~2011-09-26  7:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26  7:27 [Qemu-devel] scsi: lsi problems since "unit attention on reset" Jan Kiszka
2011-09-26  7:50 ` Paolo Bonzini [this message]
2011-09-26  9:23   ` Jan Kiszka
2011-09-26  9:49     ` Paolo Bonzini
2011-09-26 10:26       ` Jan Kiszka
2011-09-26 11:00         ` Paolo Bonzini
2011-09-26 15:10         ` Jan Kiszka
2011-09-26 15:22           ` Paolo Bonzini
2011-09-26 16:12             ` Jan Kiszka

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=4E802EB5.3000800@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=jan.kiszka@siemens.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 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.