Bug 672720 - getting 'ctrl buffer too small' error on USB passthrough
Summary: getting 'ctrl buffer too small' error on USB passthrough
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Alex Williamson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 580954
TreeView+ depends on / blocked
 
Reported: 2011-01-26 01:14 UTC by Henry Maine
Modified: 2011-05-19 13:01 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed: 2011-05-19 11:20:55 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0534 0 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2011-05-19 11:20:36 UTC

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


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