Bug 711354

Summary: Fix and enable enough of SCSI to make usb-storage work
Product: Red Hat Enterprise Linux 6 Reporter: Gerd Hoffmann <kraxel>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 6.1CC: armbru, bcao, ddutile, ehabkost, gcosta, juzhang, kwolf, mkenneth, qzhang, shu, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.183.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:52:13 UTC Type: ---
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:    
Bug Blocks: 561414    

Description Gerd Hoffmann 2011-06-07 09:46:37 UTC
Description of problem:
usb-storage depends on scsi (just scsi-bus and scsi-disk to be exact).
scsi is disabled in RHEL-6.1 qemu-kvm.  It must be enabled and
fixed (doesn't build right now).

Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.160.el6.x86_64

Comment 3 Gerd Hoffmann 2011-06-07 12:40:32 UTC
I just need enougth scsi bits to make usb-storage work.
The lsi host adapter can be left disabled.

On QA: autotest support for usb storage has been submitted and merged upstream.

Comment 5 Markus Armbruster 2011-06-08 07:24:24 UTC
Updating summary to restrict scope as per comment#3.

Comment 6 Markus Armbruster 2011-06-08 07:33:12 UTC
We better do what we can to limit the test and support matrix.

Can we keep qdev "scsi-generic" disabled?

Can we restrict qdev "scsi-disk" to disks, and keep CD-ROMs disabeled?

Comment 7 Gerd Hoffmann 2011-06-08 08:25:29 UTC
scsi-generic can be kept disabled.  Can be used in with usb-storage in theory, but I certainly don't feel like testing and supporting that combination.

scsi-disk emulating a cdrom works just fine with usb-storage.  autotest also excercises installations from a virtual usb cdroms, so I'd leave that enabled.

Comment 13 juzhang 2011-06-13 09:15:21 UTC
Combined with bz561414, mark qa_ack+

Comment 14 Gerd Hoffmann 2011-06-15 11:06:57 UTC
Updated priority and servity to match bz561414 which depends on this bug.

Comment 24 Shaolong Hu 2011-09-02 03:27:21 UTC
Hi Gerd,

During usb device functional test, we have two new bugs about usb-storage:

Bug 733010 - core dump when issue fdisk -l in guest which has two usb-storage attached

Bug 735018 - qemu-kvm will be aborted with core dumped when boot guest has ehci and uhci storage attached simultaneous


Please have a look if they are trouble, thanks.

Comment 25 Gerd Hoffmann 2011-09-02 07:28:00 UTC
735018 is a known issue, fix underway.
733010 needs investigation.  Looks like a real bug on a quick check.

Comment 26 juzhang 2011-10-09 03:48:59 UTC
According to comment24,we did usb device functional test,basically works well.
we found two bugs(bz733010 and bz734995),we close this issue and continue track and verify these two bugs.

Comment 28 errata-xmlrpc 2011-12-06 15:52:13 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-2011-1531.html