Bug 1021788 - the error message "scsi generic interface too old" is wrong more often than not
Summary: the error message "scsi generic interface too old" is wrong more often than not
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Fam Zheng
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1021785
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-22 06:16 UTC by Sibiao Luo
Modified: 2015-03-05 08:01 UTC (History)
13 users (show)

Fixed In Version: qemu-kvm-1.5.3-66.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1021785
Environment:
Last Closed: 2015-03-05 08:01:50 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0349 0 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2015-03-05 12:27:34 UTC

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


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