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 890011 - flooding with 'scsi-generic: execute_command: read failed !' error if eject the pass-through SCSI CD-ROM
Summary: flooding with 'scsi-generic: execute_command: read failed !' error if eject t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-24 10:44 UTC by Sibiao Luo
Modified: 2023-09-14 01:39 UTC (History)
16 users (show)

Fixed In Version: qemu-kvm-0.12.1.2-2.380.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-21 06:27:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1553 0 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2013-11-20 21:40:29 UTC

Description Sibiao Luo 2012-12-24 10:44:12 UTC
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:

Comment 2 Sibiao Luo 2012-12-24 11:03:27 UTC
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

Comment 3 RHEL Program Management 2012-12-28 06:47:46 UTC
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.

Comment 4 Paolo Bonzini 2013-01-09 13:34:24 UTC
Ejecting the pass-through SCSI CD-ROM should fail, but anyway yes---this is a bug.

Comment 16 errata-xmlrpc 2013-11-21 06:27:23 UTC
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

Comment 17 Red Hat Bugzilla 2023-09-14 01:39:46 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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