All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Gerhard Wiesinger <lists@wiesinger.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] XP install cores with SCSI LSI 53C895A disks - follow up
Date: Mon, 05 Nov 2012 13:54:49 +0100	[thread overview]
Message-ID: <5097B719.9040504@redhat.com> (raw)
In-Reply-To: <5096415A.2000202@wiesinger.com>

Il 04/11/2012 11:20, Gerhard Wiesinger ha scritto:
> Hello,
> 
> Clean XP install cores with SCSI LSI 53C89A disk when copying files.
> Isn't on the same file, so looks like a timing problem. Reproduceable.
> Driver used is sym_hi. Details are below.

Hmm, why is XP resetting the HBA while copying files?  Can you get
logging output when compiling with hw/lsi53c895a.c with DEBUG_LSI defined?

> See also:
> https://lists.gnu.org/archive/html/qemu-devel/2012-03/msg00523.html
> 
> Looks like problem is from Paolo's commit:
> 2f0772c5b4818d4b2078be9dace0036d1030faee
> qemu-system-x86_64: hw/lsi53c895a.c:351: lsi_soft_reset: Assertion
> `((&s->queue)->tqh_first == ((void *)0))' failed.
> 
> So SCSI queue isn't empty (was an assumption and asserted), so
> qdev_reset_all(&s->dev.qdev); might not work or some other timing
> related issues.

Even before that commit, it probably would result in a use-after-free or
similar problem.

Thanks!

Paolo

      reply	other threads:[~2012-11-05 12:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-04 10:20 [Qemu-devel] XP install cores with SCSI LSI 53C895A disks - follow up Gerhard Wiesinger
2012-11-05 12:54 ` Paolo Bonzini [this message]

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=5097B719.9040504@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=lists@wiesinger.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.