qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: cbley@av-test.de (Claudio Bley)
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] lsi_soft_reset: Assertion `!s->current' failed with Windows XP setup
Date: Fri, 12 Apr 2013 16:02:33 +0200	[thread overview]
Message-ID: <87li8nn8xy.wl%cbley@av-test.de> (raw)

Hi.

I'm using the latest qemu release 1.4.0 and libvirt 1.0.4.

The host system is a Ubuntu 12.04 LTS system, Intel Xeon processor,
4GB RAM.

When trying to install Windows XP I constantly receive this error
(usually right before the graphical Setup is started). Once, I've seen
this error too:

hw/lsi53c895a.c:351: lsi_soft_reset: Assertion `((&s->queue)->tqh_first == ((void *)0))' failed.

I found the thread here
http://lists.gnu.org/archive/html/qemu-devel/2012-11/msg00518.html but
it didn't led me nowhere. 

I recompiled with DEBUG_SCSI and DEBUG_LSI enabled. Here's the command
libvirt put together and the last few lines of output. I can provide
the complete log if you need it.

LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/root USER=root LOGNAME=root QEMU_AUDIO_DRV=none \
/home/build/qemu/x86_64-softmmu/qemu-system-x86_64 -name WindowsXP-pro-xp3-sp3 -S -M pc-1.0 -cpu coreduo -enable-kvm -m 1024 \
-smp 1,sockets=1,cores=1,threads=1 -uuid e54b0ce1-fb1e-3faf-d05e-cfa2ed1837ab -no-user-config -nodefaults \
-chardev socket,id=charmonitor,path=/usr/local/var/lib/libvirt/qemu/WindowsXP-pro-xp3-sp3.monitor,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -no-reboot -no-shutdown \
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
-device lsi,id=scsi0,bus=pci.0,addr=0x4 \
-drive file=/dev/vm-storage/winxpro-de,if=none,id=drive-scsi0-0-0,format=raw \
-device scsi-hd,bus=scsi0.0,scsi-id=0,drive=drive-scsi0-0-0,id=scsi0-0-0,bootindex=2 \
-drive file=/var/lib/libvirt/images/winxpprosp3-de.iso,if=none,id=drive-scsi0-0-1,readonly=on,format=raw \
-device scsi-cd,bus=scsi0.0,scsi-id=1,drive=drive-scsi0-0-1,id=scsi0-0-1,bootindex=1 \
-netdev tap,fd=20,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:05:4f:1b,bus=pci.0,addr=0x3 \
-chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 \
-device usb-tablet,id=input0 -vnc 127.0.0.1:1 -k de -vga std -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5

[...]
lsi_scsi: SCRIPTS dsp=febf0588 opcode e2100004 arg febf0044
lsi_scsi: Store reg 0x10 size 4 addr 0xfebf0044
lsi_scsi: SCRIPTS dsp=febf0590 opcode e1100004 arg febf0048
lsi_scsi: Load reg 0x10 size 4 addr 0xfebf0048 = 0676e308
lsi_scsi: SCRIPTS dsp=febf0598 opcode f25c0004 arg 00000000
lsi_scsi: Load reg 0x10 size 4 addr 0xfebf0048 = 0676e308
lsi_scsi: SCRIPTS dsp=febf0598 opcode f25c0004 arg 00000000
lsi_scsi: Store reg 0x5c size 4 addr 0x0676e308
lsi_scsi: SCRIPTS dsp=febf05a0 opcode f11c0004 arg 00000004
lsi_scsi: Load reg 0x1c size 4 addr 0x0676e30c = 0676e310
lsi_scsi: SCRIPTS dsp=febf05a8 opcode e21c0004 arg febf0048
lsi_scsi: Store reg 0x1c size 4 addr 0xfebf0048
lsi_scsi: SCRIPTS dsp=febf05b0 opcode e1100004 arg febf0044
lsi_scsi: Load reg 0x10 size 4 addr 0xfebf0044 = 0676fe80
lsi_scsi: SCRIPTS dsp=febf05b8 opcode e1dc0004 arg febf0cb8
lsi_scsi: Load reg 0xdc size 4 addr 0xfebf0cb8 = 00000000
lsi_scsi: SCRIPTS dsp=febf05c0 opcode 1e000000 arg 00000028
lsi_scsi: MSG out len=3
lsi_scsi: Select LUN 0
lsi_scsi: SIMPLE queue tag=0x8f
lsi_scsi: SCRIPTS dsp=febf05c8 opcode 828b0000 arg 00000018
lsi_scsi: Compare phase 2 == 2
lsi_scsi: Jump to 0xfebf05e8
lsi_scsi: SCRIPTS dsp=febf05e8 opcode 1a000000 arg 00000020
lsi_scsi: Send command len=10
scsi-disk: Command: lun=0 tag=0x1008f data=0x2a
scsi-disk: Write (sector 418919, count 8)
scsi-disk: Write complete tag=0x1008f more=4096
lsi_scsi: Data ready tag=0x1008f len=4096
lsi_scsi: SCRIPTS dsp=febf05f0 opcode 818b0000 arg 00000020
lsi_scsi: Data ready tag=0x1008f len=4096
lsi_scsi: SCRIPTS dsp=febf05f0 opcode 818b0000 arg 00000020
lsi_scsi: Compare phase 0 == 1
lsi_scsi: Control condition failed
lsi_scsi: SCRIPTS dsp=febf05f8 opcode 808a0000 arg 00000018
lsi_scsi: Compare phase 0 == 0
lsi_scsi: Jump to 0xfebf0618
lsi_scsi: SCRIPTS dsp=febf0618 opcode f11c0004 arg 00000004
lsi_scsi: Load reg 0x1c size 4 addr 0x0676fe84 = 0676feb0
lsi_scsi: SCRIPTS dsp=febf0620 opcode e01c0004 arg febf0634
lsi_scsi: Store reg 0x1c size 4 addr 0xfebf0634
lsi_scsi: SCRIPTS dsp=febf0628 opcode 80000000 arg 00000000
lsi_scsi: NOP
lsi_scsi: SCRIPTS dsp=febf0630 opcode 88080000 arg 0676feb0
lsi_scsi: Call 0x0676feb0
lsi_scsi: SCRIPTS dsp=0676feb0 opcode 98020000 arg 00000020
lsi_scsi: Compare phase 0 != 0
lsi_scsi: Control condition failed
lsi_scsi: SCRIPTS dsp=0676feb8 opcode 08001000 arg 0675b000
lsi_scsi: DMA addr=0x675b000 len=4096
lsi_scsi: SCRIPTS execution stopped
lsi_scsi: Reset
qemu-system-x86_64: hw/lsi53c895a.c:352: lsi_soft_reset: Assertion `!s->current' failed.
2013-04-12 13:13:21.196+0000: shutting down

BTW, I also tried the megasas controller, which gave me a blue screen.

Any directions on how to go about solving this would be great. TIA!

Claudio
-- 
AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany
Phone: +49 341 265 310 19
Web:<http://www.av-test.org>

Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076)
Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern

             reply	other threads:[~2013-04-12 14:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-12 14:02 Claudio Bley [this message]
2013-04-29 15:54 ` [Qemu-devel] lsi_soft_reset: Assertion `!s->current' failed with Windows XP setup Paolo Bonzini
2013-04-30 12:59   ` Claudio Bley
2013-04-30 13:44     ` Paolo Bonzini
2013-05-02 17:20     ` Paolo Bonzini
2013-07-29 13:31       ` Claudio Bley
     [not found]         ` <51F6797F.9060007@redhat.com>
2013-10-10 13:41           ` Claudio Bley
2013-10-10 13:42             ` Paolo Bonzini

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=87li8nn8xy.wl%cbley@av-test.de \
    --to=cbley@av-test.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).