Here is a qtest reproducer: cat << EOF | ./i386-softmmu/qemu-system-i386 -nographic -M q35,accel=qtest -qtest stdio -drive if=none,id=drive0,file=null-co://,file.read-zeroes=on,format=raw -device lsi53c895a,id=scsi0 -device scsi-hd,drive=drive0,bus=scsi0.0,channel=0,scsi-id=0,lun=0 -monitor none -serial none outl 0xcf8 0x80001814 outl 0xcfc 0xe1068000 outl 0xcf8 0x80001818 outl 0xcf8 0x80001804 outw 0xcfc 0x7 outl 0xcf8 0x80002010 write 0xe106802e 0x1 0xff write 0xe106802f 0x1 0xff EOF
With -trace lsi\*: ... [R +0.037396] write 0xe106802e 0x1 0xff 15257@1594419708.889733:lsi_reg_write Write reg DSP2 0x2e = 0xff OK [S +0.037420] OK [R +0.037434] write 0xe106802f 0x1 0xff 15257@1594419708.889814:lsi_reg_write Write reg DSP3 0x2f = 0xff 15257@1594419708.889862:lsi_execute_script SCRIPTS dsp=0xffff0000 opcode 0x105e8b06 arg 0x89084e8b qemu-system-i386: /home/alxndr/Development/qemu/hw/scsi/lsi53c895a.c:624: void lsi_do_dma(LSIState *, int): Assertion `s->current' failed. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/697510 Title: Machine shut off after tons of lsi_scsi: error: MSG IN data too long Status in QEMU: New Bug description: The problem mostly happens during our backup, syslog does not have any problematic messages. Host is Ubuntu 10.10 x86 64 bits Guest is Windows 2003 Server 32 bits Using Virtio and Red Hat driver I get a STOP screen 0x100000d1 and machine either reboot, stay frozen or shut off. Using SCSI the machine shuts off and I get tons of message on stdout; LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 3500 -smp 4,sockets=4,cores=1,threads=1 -name BMSRV0101 -uuid 6ccbb5fa-5880-a1ab-3b7a-fb7ccc7c8ccf -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/BMSRV0101.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=localtime -boot c -device lsi,id=scsi0,bus=pci.0,addr=0x4 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=/dev/vgUbuntu/vmBMSRV0101,if=none,id=drive-scsi0-0-0,boot=on,format=raw -device scsi-disk,bus=scsi0.0,scsi-id=0,drive=drive-scsi0-0-0,id=scsi0-0-0 -device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:5d:7b:07,bus=pci.0,addr=0x3 -net tap,fd=63,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vnc 127.0.0.1:0 -vga cirrus -device usb-host,hostbus=002,hostaddr=005,id=hostdev0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 char device redirected to /dev/pts/0 pci_add_option_rom: failed to find romfile "pxe-virtio.bin" husb: open device 2.5 husb: config #1 need -1 husb: 1 interfaces claimed for configuration 1 husb: grabbed usb device 2.5 husb: config #1 need 1 husb: 1 interfaces claimed for configuration 1 lsi_scsi: error: Unimplemented message 0x00 (x8) lsi_scsi: error: MSG IN data too long lsi_scsi: error: Unimplemented message 0x00 (x760) lsi_scsi: error: MSG IN data too long lsi_scsi: error: MSG IN data too long kvm: /build/buildd/qemu-kvm-0.12.5+noroms/hw/lsi53c895a.c:512: lsi_do_dma: Assertion `s->current' failed. I can include minidump file if needed. I am currently using IDE and it seems OK. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/697510/+subscriptions