Bug 672720

Summary: getting 'ctrl buffer too small' error on USB passthrough
Product: Red Hat Enterprise Linux 6 Reporter: Henry Maine <hmaine>
Component: qemu-kvmAssignee: Alex Williamson <alex.williamson>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0CC: ehabkost, lihuang, mkenneth, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.134.el6 Doc Type: Bug Fix
Doc Text:
Cause: qemu-kvm buffer for USB control requests was too small for some devices (e.g. some USB cameras) when using USB passthrough. Consequence: some devices made qemu-kvm show a message like: "'husb: ctrl buffer too small (3273 > 2048)'" Fix: increased buffer for USB control requests from 2048 bytes to 8192 bytes. Consequence: some devices that didn't work using USB passthrough now work.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 11:20:55 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: 580954    

Description Henry Maine 2011-01-26 01:14:55 UTC
Description of problem:

When trying to connect a USB camera to a Windows 7 VM running on RHEL6, Windows reports an error on the USB device and the following error shows up in the VM
log file:

'husb: ctrl buffer too small (3273 > 2048)'

This appears to be the exact same issue as BZ# 627343 which was fixed for RHEL5.
Any chance we can get the patch into RHEL6?

Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.113.el6_0.6.x86_64

How reproducible:

Always

Comment 6 Henry Maine 2011-02-15 00:17:49 UTC
Hi Li,

I tested the updated qemu-kvm package on the system we were working with earlier when we filed the bug and it seems to have fixed the problem.

Thanks,
Henry

Comment 8 Eduardo Habkost 2011-05-03 18:57:11 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: qemu-kvm buffer for USB control requests was too small for some devices (e.g. some USB cameras) when using USB passthrough.

Consequence: some devices made qemu-kvm show a message like: "'husb: ctrl buffer too small (3273 > 2048)'"

Fix: increased buffer for USB control requests from 2048 bytes to 8192 bytes.

Consequence: some devices that didn't work using USB passthrough now work.

Comment 9 errata-xmlrpc 2011-05-19 11:20:55 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html

Comment 10 errata-xmlrpc 2011-05-19 13:01:24 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html