[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] XP install cores with SCSI LSI 53C895A disks - follow u
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] XP install cores with SCSI LSI 53C895A disks - follow up |
Date: |
Mon, 05 Nov 2012 13:54:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 |
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