Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1021788

Summary: the error message "scsi generic interface too old" is wrong more often than not
Product: Red Hat Enterprise Linux 7 Reporter: Sibiao Luo <sluo>
Component: qemu-kvmAssignee: Fam Zheng <famz>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 7.0CC: bsarathy, chayang, famz, hhuang, juzhang, michen, mkenneth, mrezanin, pbonzini, qzhang, rbalakri, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-66.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1021785 Environment:
Last Closed: 2015-03-05 08:01:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1021785    
Bug Blocks:    

Comment 1 Paolo Bonzini 2013-10-24 23:16:53 UTC
The command line is incorrect, so I am changing the subject.

Comment 3 Ademar Reis 2014-05-28 17:55:51 UTC
Fam has posted a patch upstream:
http://lists.nongnu.org/archive/html/qemu-devel/2014-04/msg02404.html

Comment 4 Miroslav Rezanina 2014-07-09 12:17:38 UTC
Fix included in qemu-kvm-1.5.3-66.el7

Comment 5 FuXiangChun 2014-08-06 07:09:26 UTC
reproduced this bug with qemu-kvm-1.5.3-60.el7.x86_64 & 3.10.0-140.el7.x86_64

/usr/libexec/qemu-kvm -M pc -smp 2 -m 4G  -monitor stdio -drive file=/dev/disk/by-path/ip-10.66.8.240:3260-iscsi-iqn.2013-11.com.example:storage.disk1.juli.xyz-lun-2,format=raw,aio=native,snapshot=on,id=drive-data-disk,if=none -device virtio-scsi-pci,id=scsi0 -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0 -net none -vnc :10

QEMU 1.5.3 monitor - type 'help' for more information
(qemu) qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: scsi-block: scsi generic interface too old
qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: Device initialization failed.
qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: Device 'scsi-block' could not be initialized

verify bug with qemu-kvm-1.5.3-66.el7.x86_64 on AMD host.

result:
/usr/libexec/qemu-kvm -M pc -smp 2 -m 4G  -monitor stdio -drive file=/dev/disk/by-path/ip-10.66.8.240:3260-iscsi-iqn.2013-11.com.example:storage.disk1.juli.xyz-lun-2,format=raw,aio=native,snapshot=on,id=drive-data-disk,if=none -device virtio-scsi-pci,id=scsi0 -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0 -net none -vnc :10

(qemu) qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: cannot get SG_IO version number: Operation not supported.  Is this a SCSI device?
qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: Device initialization failed.
qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: Device 'scsi-block' could not be initialized

Verify bug with qemu-kvm-rhev-2.1.0-3.el7ev.preview.x86_64 on Intel host.

/usr/libexec/qemu-kvm -M pc -smp 2 -m 4G  -monitor stdio -drive file=/dev/disk/by-path/ip-10.66.8.240:3260-iscsi-iqn.2013-11.com.example:storage.disk1.juli.xyz-lun-2,format=raw,aio=native,snapshot=on,id=drive-data-disk,if=none -device virtio-scsi-pci,id=scsi0 -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0 -net none -vnc :10

QEMU 2.0.92 monitor - type 'help' for more information
(qemu) qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: cannot get SG_IO version number: Operation not supported.  Is this a SCSI device?
qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: Device initialization failed.
qemu-kvm: -device scsi-block,drive=drive-data-disk,id=data-disk,bus=scsi0.0: Device 'scsi-block' could not be initialized


Fam,

Can you have a look at this test result?  Is it expect?

Comment 6 Fam Zheng 2014-08-06 10:43:01 UTC
Yes.

Comment 10 errata-xmlrpc 2015-03-05 08:01:50 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.

https://rhn.redhat.com/errata/RHSA-2015-0349.html