RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 846933 - [virtio-win][scsi] core dump when hotunplug in-used virtio scsi disks
Summary: [virtio-win][scsi] core dump when hotunplug in-used virtio scsi disks
Keywords:
Status: CLOSED DUPLICATE of bug 805501
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Vadim Rozenfeld
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-09 07:26 UTC by Mike Cao
Modified: 2012-08-19 13:24 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-19 13:24:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mike Cao 2012-08-09 07:26:10 UTC
Description of problem:


Version-Release number of selected component (if applicable):
2.6.32-294.el6.x86_64
qemu-kvm-0.12.1.2-2.302.el6.x86_64
virtio-win-prewhql-32

How reproducible:
2/2

Steps to Reproduce:
1.Start VM w/ virtio-scsi-pci
/usr/libexec/qemu-kvm -boot dc -m 4G -smp 2 -cpu Westmere -usb -device usb-tablet -netdev tap,sndbuf=0,id=hostnet2,script=/etc/qemu-ifup,downscript=no -device e1000,netdev=hostnet2,mac=00:52:13:20:F5:22,bus=pci.0,addr=0x6 -uuid 7976cd92-6557-493d-86a3-7e2055a2d4cd -no-kvm-pit-reinjection -monitor stdio -rtc base=localtime,clock=host,driftfix=slew -device virtio-scsi-pci,id=bus1 -drive file=/home/win2k8-64.qcow2,if=none,media=disk,format=qcow2,rerror=stop,werror=stop,cache=none,aio=native,id=scsi-disk0 -device scsi-disk,drive=scsi-disk0,id=disk,bus=bus1.0,serial=miketest -spice port=5910,disable-ticketing -vga qxl  -fda /home/virtio-win.vfd -bios /usr/share/seabios/bios-pm.bin  -drive file=/home/hotadd2.qcow2,format=qcow2,if=none,id=drive-test,serial=test,werror=stop,rerror=stop,cache=none -device virtio-scsi-pci,id=hotaddscsi -device scsi-hd,drive=drive-test,id=test,bus=hotaddscsi.0
2.run crystal benchmark on the data image 
3.during step hotplug data image 
(qemu)device_del test
  
Actual results:
Core dumped occurs

Expected results:

Additional info:
(gdb) bt
#0  0x00007f6ea3f24e89 in scsi_req_cancel (req=0x7f6e8c011010) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/scsi-bus.c:1392
#1  0x00007f6ea3f24ed5 in scsi_device_purge_requests (sdev=0x7f6ea6736d20, sense=...) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/scsi-bus.c:1419
#2  0x00007f6ea3f28b93 in scsi_destroy (dev=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/scsi-disk.c:1531
#3  0x00007f6ea3f26417 in scsi_qdev_exit (qdev=0x7f6ea6736d20) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/scsi-bus.c:158
#4  0x00007f6ea3f3538c in qdev_free (dev=0x7f6ea6736d20) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/qdev.c:366
#5  0x00007f6ea3f35439 in qdev_simple_unplug_cb (dev=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/qdev.c:330
#6  0x00007f6ea3ebabb0 in monitor_call_handler (mon=0x7f6ea673b470, cmd=0x7f6ea43861a0, params=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:4178
#7  0x00007f6ea3ebfecf in handle_user_command (mon=0x7f6ea673b470, cmdline=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:4215
#8  0x00007f6ea3ec000a in monitor_command_cb (mon=0x7f6ea673b470, cmdline=<value optimized out>, opaque=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:4838
#9  0x00007f6ea3f1801d in readline_handle_byte (rs=0x7f6ea7b6ec50, ch=<value optimized out>) at readline.c:369
#10 0x00007f6ea3ec0230 in monitor_read (opaque=<value optimized out>, buf=0x7fff402272b0 "\r", size=1) at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:4824
#11 0x00007f6ea3f2d64b in qemu_chr_read (opaque=0x7f6ea63d8e50) at qemu-char.c:180
#12 fd_chr_read (opaque=0x7f6ea63d8e50) at qemu-char.c:688
#13 0x00007f6ea3eb34af in main_loop_wait (timeout=1000) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:3990
#14 0x00007f6ea3ed4d5a in kvm_main_loop () at /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2244
#15 0x00007f6ea3eb5ffc in main_loop (argc=20, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4202
#16 main (argc=20, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:6430

Comment 2 Ademar Reis 2012-08-10 18:18:14 UTC
Relatively similar: Bug 846920

Comment 3 Paolo Bonzini 2012-08-19 13:24:09 UTC
Yes, the root cause is the same.

*** This bug has been marked as a duplicate of bug 805501 ***


Note You need to log in before you can comment on or make changes to this bug.