Red Hat Bugzilla – Bug 890011
flooding with 'scsi-generic: execute_command: read failed !' error if eject the pass-through SCSI CD-ROM
Last modified: 2013-11-21 01:27:23 EST
Description of problem: If eject the pass-through SCSI CD-ROM in monitor, there is flooding with 'scsi-generic: execute_command: read failed !' errors, both linux and windows guest can hit it. btw, emulated SCSI CD-ROM did not have this issue. Version-Release number of selected component (if applicable): host info: # uname -r && rpm -q qemu-kvm 2.6.32-348.el6.x86_64 qemu-kvm-0.12.1.2-2.348.el6.x86_64 guest info: linux: kernel-2.6.32-348.el6.x86_64 windows: win7 64bit How reproducible: always Steps to Reproduce: 1.insert a cdrom in host. 2.boot guest with pass-through SCSI CD-ROM. eg:...-drive file=/dev/cdrom,if=none,id=drive-cd-disk,media=cdrom,format=raw,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,bus=pci.0,addr=0x6,id=scsi0 -device scsi-block,drive=drive-cd-disk,bus=scsi0.0,id=scsi_cd (qemu) info block drive-virtio-disk: removable=0 io-status=ok file=/mnt/windows_7_ultimate_sp1_x64.raw ro=0 drv=raw encrypted=0 drive-cd-disk: removable=1 locked=0 tray-open=0 io-status=ok file=/dev/cdrom ro=1 drv=raw encrypted=0 ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok [not inserted] floppy0: removable=1 locked=0 tray-open=0 [not inserted] sd0: removable=1 locked=0 tray-open=0 [not inserted] 3.eject the CD-ROM. (qemu) eject drive-cd-disk Actual results: after step 3, (qemu) eject drive-cd-disk (qemu) scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! scsi-generic: execute_command: read failed ! ... (qemu) info block drive-virtio-disk: removable=0 io-status=ok file=/mnt/RHEL6.4-20121212.1-Server-x86_64.raw ro=0 drv=raw encrypted=0 drive-cd-disk: removable=1 locked=0 tray-open=1 io-status=ok [not inserted] ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok [not inserted] floppy0: removable=1 locked=0 tray-open=0 [not inserted] sd0: removable=1 locked=0 tray-open=0 [not inserted] Expected results: Eject the pass-through SCSI CD-ROM should successfully without any problem. Additional info:
I also tried the qemu-kvm-0.12.1.2-2.295.el6.x86_64, it also can hit it, so this issue not regression bug. host info: # uname -r && rpm -q qemu-kvm 2.6.32-348.el6.x86_64 qemu-kvm-0.12.1.2-2.295.el6.x86_64 Best Regards. sluo
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux.
Ejecting the pass-through SCSI CD-ROM should fail, but anyway yes---this is a bug.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-1553.html