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