** Description changed:

+ SRU justification:
+ 1. Impact: USB devices which use large control buffers (like some PDAs) 
cannot be used with a VM.
+ 2. How bug was addressed: A one-line patch was taken from upstream, 
increasing the size of the control buffer.
+ 3. patch: see patch in the description
+ 4. TEST CASE: connect a usb device which uses control buffers > 2k.
+ 5. Regression potential: the size of a buffer is increased, with no other 
changes.  The only potential for regression, therefore, would be due to kvm 
consuming more memory. 
+ 
  Binary package hint: qemu-kvm
  
  I would like to connect my PDA to kvm virtual machine with the following 
command:
  kvm -m 1024 -k hu -usb --usbdevice host:2.4 VM.img
  
  It finds my USB device, but after throws:
  husb: 2 interfaces claimed for configuration 1
  husb: grabbed usb device 2.4
  husb: config #1 need 1
  husb: 2 interfaces claimed for configuration 1
  husb: config #1 need 1
  husb: 2 interfaces claimed for configuration 1
  husb: config #1 need 1
  husb: 2 interfaces claimed for configuration 1
  husb: config #1 need 1
  husb: 2 interfaces claimed for configuration 1
  husb: config #1 need 1
  husb: 2 interfaces claimed for configuration 1
  husb: config #1 need 1
  husb: 2 interfaces claimed for configuration 1
  husb: ctrl buffer too small (4104 > 2048)
  
  VM starts but without USB device. :-(
  
  I've found similar problem on Redhat bugs, and they solved it with a patch.
  https://bugzilla.redhat.com/show_bug.cgi?id=672720
  
  thx
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: kvm 1:84+dfsg-0ubuntu16+0.12.3+noroms+0ubuntu9.7
  ProcVersionSignature: Ubuntu 2.6.32-30.59-generic 2.6.32.29+drm33.13
  Uname: Linux 2.6.32-30-generic i686
  Architecture: i386
  Date: Mon May 30 11:56:40 2011
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
  KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: 
UID        PID  PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
  Lsusb:
-  Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
-  Bus 002 Device 002: ID 046d:c05f Logitech, Inc. 
-  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
+  Bus 002 Device 002: ID 046d:c05f Logitech, Inc.
+  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc Dimension E521
  ProcCmdLine: root=/dev/md1 ro quiet splash
  ProcEnviron:
-  LANGUAGE=hu_HU:en
-  PATH=(custom, user)
-  LANG=hu_HU.utf8
-  SHELL=/bin/bash
+  LANGUAGE=hu_HU:en
+  PATH=(custom, user)
+  LANG=hu_HU.utf8
+  SHELL=/bin/bash
  SourcePackage: qemu-kvm
  dmi.bios.date: 04/07/2007
  dmi.bios.vendor: Dell Inc
  dmi.bios.version: 1.1.6
  dmi.board.name: 0UW457
  dmi.board.vendor: Dell Inc
  dmi.board.version: A03
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc
  dmi.modalias: 
dmi:bvnDellInc:bvr1.1.6:bd04/07/2007:svnDellInc:pnDimensionE521:pvr:rvnDellInc:rn0UW457:rvrA03:cvnDellInc:ct3:cvr:
  dmi.product.name: Dimension E521
  dmi.sys.vendor: Dell Inc

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/790145

Title:
  kvm husb: ctrl buffer too small

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to