All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1
@ 2012-08-07  1:20 Klaus Hochlehnert
  2012-08-07 13:35 ` [Qemu-devel] [Bug 1033727] " Klaus Hochlehnert
                   ` (27 more replies)
  0 siblings, 28 replies; 37+ messages in thread
From: Klaus Hochlehnert @ 2012-08-07  1:20 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Hi,

I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port whitch I make available to a Windows XP guest.
This worked fine with every older qemu-kvm version I've used so far.

But since 1.1.0 it doesn't work anymore.
The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

On the host I get every 2 seconds this message:
[ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

Command line options are:
/usr/bin/kvm
...
-device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
...

When I switch back to qemu-kvm 1.0.1 everything works fine again.
Any idea what the problem could be?

Thanks
Klaus

** Affects: qemu
     Importance: Undecided
         Status: New

** Description changed:

  Hi,
  
- I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port witch I make available to a Windows XP guest.
+ I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port whitch I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.
  
  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).
  
  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd
  
  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...
  
  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?
  
  Thanks
  Klaus

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port whitch I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
@ 2012-08-07 13:35 ` Klaus Hochlehnert
  2012-08-07 15:17 ` Iggy
                   ` (26 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Klaus Hochlehnert @ 2012-08-07 13:35 UTC (permalink / raw)
  To: qemu-devel

** Description changed:

  Hi,
  
- I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port whitch I make available to a Windows XP guest.
+ I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.
  
  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).
  
  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd
  
  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...
  
  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?
  
  Thanks
  Klaus

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
  2012-08-07 13:35 ` [Qemu-devel] [Bug 1033727] " Klaus Hochlehnert
@ 2012-08-07 15:17 ` Iggy
  2012-08-08  8:25 ` Michael Tokarev
                   ` (25 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Iggy @ 2012-08-07 15:17 UTC (permalink / raw)
  To: qemu-devel

You should use git to bisect (the qemu tree) where it broke.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
  2012-08-07 13:35 ` [Qemu-devel] [Bug 1033727] " Klaus Hochlehnert
  2012-08-07 15:17 ` Iggy
@ 2012-08-08  8:25 ` Michael Tokarev
  2012-08-08  9:55 ` Michael Tokarev
                   ` (24 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Michael Tokarev @ 2012-08-08  8:25 UTC (permalink / raw)
  To: qemu-devel

I think similar bug has been filed against qemu-kvm debian package
(http://bugs.debian.org/683983).  Will try to reproduce/bisect as time
permits.  Note the debian bugreport also mentions segfault on usb_del in
monitor.

** Bug watch added: Debian Bug tracker #683983
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683983

** Also affects: qemu-kvm (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683983
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Debian:
  Unknown

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (2 preceding siblings ...)
  2012-08-08  8:25 ` Michael Tokarev
@ 2012-08-08  9:55 ` Michael Tokarev
  2012-08-15  8:54 ` Bug Watch Updater
                   ` (23 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Michael Tokarev @ 2012-08-08  9:55 UTC (permalink / raw)
  To: qemu-devel

Ok.  I tried to bisect this, but it appears to be not so easy.  The
problem is that between 1.0 and 1.1, there's a lot of usb breakage, and
bisection leads to segfaults or assertion failures.


(qemu) usb_add host:003.002
usb_create: no bus specified, using "usb.0" for "usb-host"
(qemu) Segmentation fault

This is fixed in 8db36e9dddb1b6fab3554a8c00d92268b33a487b.


(qemu) usb_add host:003.002
(qemu) qemu-system-x86_64: /build/kvm/git/hw/usb.c:358: usb_packet_complete: Assertion `p->state == USB_PACKET_QUEUED' failed.


I skipped this commit, which lead to:


(qemu) usb_add host:003.002
(qemu) qemu-system-x86_64: /build/kvm/git/hw/usb.c:410: usb_packet_complete: Assertion `((&ep->queue)->tqh_first) == p' failed.


I'm continuing, but I've no much hope this will lead to anything useful at this rate.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Debian:
  Unknown

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (3 preceding siblings ...)
  2012-08-08  9:55 ` Michael Tokarev
@ 2012-08-15  8:54 ` Bug Watch Updater
  2012-09-14 23:43 ` Klaus Hochlehnert
                   ` (22 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Bug Watch Updater @ 2012-08-15  8:54 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu-kvm (Debian)
       Status: Unknown => Confirmed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (4 preceding siblings ...)
  2012-08-15  8:54 ` Bug Watch Updater
@ 2012-09-14 23:43 ` Klaus Hochlehnert
  2012-09-16 11:21 ` Michael Tokarev
                   ` (21 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Klaus Hochlehnert @ 2012-09-14 23:43 UTC (permalink / raw)
  To: qemu-devel

I just tested with qemu-kvm 1.2.0
But basically still the same problem. Device shows up in the guest, but the software can't access it anymore.

Just the guest isn't unresponsive anymore.
And the dmesg message happens now only once in a while (but always two very close together):
[ 4066.239358] usb 6-1: reset full-speed USB device number 2 using uhci_hcd
[ 4066.498921] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (5 preceding siblings ...)
  2012-09-14 23:43 ` Klaus Hochlehnert
@ 2012-09-16 11:21 ` Michael Tokarev
  2012-09-16 11:21 ` Michael Tokarev
                   ` (20 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Michael Tokarev @ 2012-09-16 11:21 UTC (permalink / raw)
  To: qemu-devel

FWIW, Gerd

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (6 preceding siblings ...)
  2012-09-16 11:21 ` Michael Tokarev
@ 2012-09-16 11:21 ` Michael Tokarev
  2012-09-16 11:30 ` Michael Tokarev
                   ` (19 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Michael Tokarev @ 2012-09-16 11:21 UTC (permalink / raw)
  To: qemu-devel

FWIW, Gerd Hoffmann suggested to enable all usb_host_* tracepoints &
send log.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (7 preceding siblings ...)
  2012-09-16 11:21 ` Michael Tokarev
@ 2012-09-16 11:30 ` Michael Tokarev
  2012-11-03 17:56 ` Uwe
                   ` (18 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Michael Tokarev @ 2012-09-16 11:30 UTC (permalink / raw)
  To: qemu-devel

I guess he is referring to --enable-trace-backend configure option.  See
docs/tracing.txt in the qemu source for more details
(http://git.qemu.org/?p=qemu.git;a=blob;f=docs/tracing.txt)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (8 preceding siblings ...)
  2012-09-16 11:30 ` Michael Tokarev
@ 2012-11-03 17:56 ` Uwe
  2012-11-03 18:02 ` Uwe
                   ` (17 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Uwe @ 2012-11-03 17:56 UTC (permalink / raw)
  To: qemu-devel

** Also affects: qemu-kvm (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  New
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (9 preceding siblings ...)
  2012-11-03 17:56 ` Uwe
@ 2012-11-03 18:02 ` Uwe
  2012-11-11 19:25 ` Tristan Schmelcher
                   ` (16 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Uwe @ 2012-11-03 18:02 UTC (permalink / raw)
  To: qemu-devel

I have made the same experiences with Ubuntu 12.10 (qemu-kvm 1.2.0). My
SmartCard reader Omnikey 3121 shows up in the guest but no card can be
found. No problem with quemu-kvm 1.0 under Ubuntu 12.04. See also my
report Bug #1073815.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  New
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (10 preceding siblings ...)
  2012-11-03 18:02 ` Uwe
@ 2012-11-11 19:25 ` Tristan Schmelcher
  2012-11-14 14:23 ` Serge Hallyn
                   ` (15 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Tristan Schmelcher @ 2012-11-11 19:25 UTC (permalink / raw)
  To: qemu-devel

Just an FYI for people that come across this bug: not all USB devices
are affected. USB passthrough is working for me with a Logitech C920
webcam in Ubuntu 12.10 (qemu-kvm 1.2.0), albeit with some video
freezing.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  New
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (11 preceding siblings ...)
  2012-11-11 19:25 ` Tristan Schmelcher
@ 2012-11-14 14:23 ` Serge Hallyn
  2012-11-30  9:11 ` Beastyvoid
                   ` (14 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Serge Hallyn @ 2012-11-14 14:23 UTC (permalink / raw)
  To: qemu-devel

Can someone go ahead and follow up on comment #6?  (Marking incomplete
in the meantime)

I'll mark as affecting the QEMU project since it has been confirmed
against 1.2.0 per comment #4.

** Changed in: qemu-kvm (Ubuntu)
   Importance: Undecided => Medium

** Changed in: qemu-kvm (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (12 preceding siblings ...)
  2012-11-14 14:23 ` Serge Hallyn
@ 2012-11-30  9:11 ` Beastyvoid
  2012-12-29 14:59 ` Peter Schaefer
                   ` (13 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Beastyvoid @ 2012-11-30  9:11 UTC (permalink / raw)
  To: qemu-devel

Same here as what Uwe is experiencing : my SmartCard reader Omnikey 3121 shows up in the guest but no card can be found.
With qemu-kvm 1.2.0. Was working great with previous versions.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (13 preceding siblings ...)
  2012-11-30  9:11 ` Beastyvoid
@ 2012-12-29 14:59 ` Peter Schaefer
  2012-12-29 15:12 ` Peter Schaefer
                   ` (12 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Peter Schaefer @ 2012-12-29 14:59 UTC (permalink / raw)
  To: qemu-devel

Just confirming the bug. I'm having the same issues with the same USB
smart card reader as the submitter (Kobil mIDentity) on Debian Squeeze
using the qemu-kvm version 1.2.0 from debian-backports. Going back to
1.0 fixes the problem (http://snapshot.debian.org/package/qemu-
kvm/1.0%2Bdfsg-8~bpo60%2B1).

Since I can easily toggle between versions i could provide more support,
if wanted and instructions provided...

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (14 preceding siblings ...)
  2012-12-29 14:59 ` Peter Schaefer
@ 2012-12-29 15:12 ` Peter Schaefer
  2012-12-31 13:13 ` Falk Seyboldt
                   ` (11 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Peter Schaefer @ 2012-12-29 15:12 UTC (permalink / raw)
  To: qemu-devel

Referring to my last comment: The URL does only work if you add a
backslash at the end, sorry about that.

One last note: In Germany, the Kobil USB Reader is/was supplied by DATEV
(see http://www.datev.com/) to their members/partners. So, anybody who's
running DATEV software on kvm-virtualized systems will run into this
problem.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (15 preceding siblings ...)
  2012-12-29 15:12 ` Peter Schaefer
@ 2012-12-31 13:13 ` Falk Seyboldt
  2013-01-03 16:14 ` daniel pecka
                   ` (10 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Falk Seyboldt @ 2012-12-31 13:13 UTC (permalink / raw)
  To: qemu-devel

same here with AVM ISDN-Controller FRITZ!Card v2.1 on openSUSE 12.2.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (16 preceding siblings ...)
  2012-12-31 13:13 ` Falk Seyboldt
@ 2013-01-03 16:14 ` daniel pecka
  2013-01-08 17:08 ` Serge Hallyn
                   ` (9 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: daniel pecka @ 2013-01-03 16:14 UTC (permalink / raw)
  To: qemu-devel

same here with:
Bus 002 Device 006: ID 16d5:6603 AnyDATA Corporation

^^ it is modem and my qemu-kvm version is:
QEMU emulator version 1.2.0 (kvm-1.2.0-178.2)

i can also confirm freezing in previous version ..

regards, d

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (17 preceding siblings ...)
  2013-01-03 16:14 ` daniel pecka
@ 2013-01-08 17:08 ` Serge Hallyn
  2013-01-09 22:45   ` Peter Schaefer
  2013-01-10 21:59 ` Peter Schaefer
                   ` (8 subsequent siblings)
  27 siblings, 1 reply; 37+ messages in thread
From: Serge Hallyn @ 2013-01-08 17:08 UTC (permalink / raw)
  To: qemu-devel

@Peter Schaefer,

(replying to comment #12) could you please follow up on comments #6 and
#7?

It also would be worthwhile, at this point, checking whether latest
upstream (1.3) is still broken.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2013-01-08 17:08 ` Serge Hallyn
@ 2013-01-09 22:45   ` Peter Schaefer
  0 siblings, 0 replies; 37+ messages in thread
From: Peter Schaefer @ 2013-01-09 22:45 UTC (permalink / raw)
  To: qemu-devel

Am 1/8/2013 6:08 PM, Serge Hallyn wrote:
>
> (replying to comment #12) could you please follow up on comments #6 and
> #7?
>
> It also would be worthwhile, at this point, checking whether latest
> upstream (1.3) is still broken.

Just a short note: I somehow produced a backported *.deb for 1.3.0 and
i managed to recompile the debs of 1.1.2 and 1.0 from debian backports
with "--enable-trace-backend=simple". The problematic box runs Debian
Squeeze with Kernel 3.2.35 (and some other packages) from backports.

Tomorrow evening i'm going to make test runs on the system. I'll keep
you posted.

Regards,
   Peter

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (18 preceding siblings ...)
  2013-01-08 17:08 ` Serge Hallyn
@ 2013-01-10 21:59 ` Peter Schaefer
  2013-01-12  8:20   ` Michael Tokarev
  2013-01-12 12:24 ` Michael Tokarev
                   ` (7 subsequent siblings)
  27 siblings, 1 reply; 37+ messages in thread
From: Peter Schaefer @ 2013-01-10 21:59 UTC (permalink / raw)
  To: qemu-devel

Hi again!

The good news: 1.3.0 works (at least with my setup). The bad news is
that this might lower the motivation to fix 1.1.2 ;-) ...

Attached is the USB trace file from the non-working case with V 1.1.2.

If decompressed, it's an 185 MB text file and - honestly - i cannot make
any sense of it, but here you have it... ;-)

There's two USB devices passed-through:

1) vendor=0x529 product=0x1 -> Hardlock USB Dongle
2) vendor=0xd46 product=0x3003 -> Kobil USB Smartcard Reader

HTH,
  Peter


** Attachment added: "Trace of the non-working case"
   https://bugs.launchpad.net/qemu/+bug/1033727/+attachment/3479688/+files/usb_trace.txt.bz2

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2013-01-10 21:59 ` Peter Schaefer
@ 2013-01-12  8:20   ` Michael Tokarev
  2013-01-14  9:18     ` Gerd Hoffmann
  0 siblings, 1 reply; 37+ messages in thread
From: Michael Tokarev @ 2013-01-12  8:20 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

Gerd, can you take a (maybe quick) look please?

This bug is quite old and, as Peter notes, may be fixed in 1.3
so there's no goo motivation to fix it for older version...
I tried to reproduce (to be able to get a trace, or bisect) it
several times on my machine but can't, even with devices other
people reported as triggering it.  Please give some advice for
Debian users ;)

Thank you!

/mjt

11.01.2013 01:59, Peter Schaefer wrote:
> Hi again!
>
> The good news: 1.3.0 works (at least with my setup). The bad news is
> that this might lower the motivation to fix 1.1.2 ;-) ...
>
> Attached is the USB trace file from the non-working case with V 1.1.2.
>
> If decompressed, it's an 185 MB text file and - honestly - i cannot make
> any sense of it, but here you have it... ;-)
>
> There's two USB devices passed-through:
>
> 1) vendor=0x529 product=0x1 -> Hardlock USB Dongle
> 2) vendor=0xd46 product=0x3003 -> Kobil USB Smartcard Reader
>
> HTH,
>    Peter
>
>
> ** Attachment added: "Trace of the non-working case"
>     https://bugs.launchpad.net/qemu/+bug/1033727/+attachment/3479688/+files/usb_trace.txt.bz2
>

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (19 preceding siblings ...)
  2013-01-10 21:59 ` Peter Schaefer
@ 2013-01-12 12:24 ` Michael Tokarev
  2013-01-13 11:07   ` Peter Schaefer
  2013-01-14  2:20 ` Nikolaus Rath
                   ` (6 subsequent siblings)
  27 siblings, 1 reply; 37+ messages in thread
From: Michael Tokarev @ 2013-01-12 12:24 UTC (permalink / raw)
  To: qemu-devel

Peter, are you able to run git bisect or something like that, to try to
pinpoint either the commit which introduced this issue or which fixed
it?

I tried to reproduce this issue several times with various devices, but
I can't do it reliable, it always more or less works on my machine.  If
I were able to, I'd bisect it long time ago.

Now, to clarify things, I've no idea how USB works internally and how it
is implemented in qemu, for this issue I can only do a bisection to find
the changes which change the issue.

You can ping me by email or hit me on IRC (I'm mjt at freenode.net and
oftc.net) if you're willing to debug it further and need help in doing
that.

Besides, what are the sympthoms of the device non-working?  Does it
happen with linux guest too?  Have you tried re-running the guest again
when the problem occur, using the same problematic version of qemu - I
mean, is it 100% reproducible or happens at random?

Thank you!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2013-01-12 12:24 ` Michael Tokarev
@ 2013-01-13 11:07   ` Peter Schaefer
  2013-01-13 22:12     ` Peter Schaefer
  0 siblings, 1 reply; 37+ messages in thread
From: Peter Schaefer @ 2013-01-13 11:07 UTC (permalink / raw)
  To: qemu-devel

Hello Michael,

Am 1/12/2013 1:24 PM, Michael Tokarev wrote:

> Peter, are you able to run git bisect or something like that, to try to
> pinpoint either the commit which introduced this issue or which fixed
> it?

Well, i'm no expert at git, but i made some progress, see below.

> Besides, what are the sympthoms of the device non-working?  Does it
> happen with linux guest too?  Have you tried re-running the guest again
> when the problem occur, using the same problematic version of qemu - I
> mean, is it 100% reproducible or happens at random?

In my case it's the SmartCard-Reader that's not working, i.e. the DATEV Software called "Sicherheitspaket" does not 
work. The background process called "SiPaHost.exe" just hangs; any client program trying to display SmartCard 
information does also just hang forever. That behaviour is 100% reproducible and persists over reboots of the Linux host 
and/or the Windows guest (Windows XP SP3). I did not try Linux guests.

Yesterday, i used git to checkout all qemu-kvm versions from kernel.org and build Debian packets from it (source kept 
vanilla, i just applied the two patches that rename paths from 'qemuXXX' to 'kvmXXX').

The findings were:

- v1.0   -> ok
- v1.0.1 -> ok
- v1.1.0 -> not ok
- v1.1.1 -> not ok
- v1.1.2 -> not ok
- v1.2.0 -> not ok

So far, this is consistent with the findings in this bug report.

BUT: The latest HEAD from kernel.org (called "v1.2.50") also does work
again!

So, i'm now learning about git bisect (however, today i won't have time
for this).

Regards,
Peter

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2013-01-13 11:07   ` Peter Schaefer
@ 2013-01-13 22:12     ` Peter Schaefer
  0 siblings, 0 replies; 37+ messages in thread
From: Peter Schaefer @ 2013-01-13 22:12 UTC (permalink / raw)
  To: qemu-devel

Hi,

well - it's probably only for historic interest, but if i made no bisecting mistake, this commit has fixed it (note that 
the meaning of 'good' and 'bad' is swapped due to how git bisect works):

root@debian:~/qemu_git/qemu-kvm# git bisect good
Bisecting: 87 revisions left to test after this (roughly 7 steps)
[c26032b2c91721245bfec542d94f37a0238e986e] target-xtensa: don't emit extra tcg_gen_goto_tb
root@debian:~/qemu_git/qemu-kvm# git bisect good
Bisecting: 43 revisions left to test after this (roughly 6 steps)
[1fd959466574c3d46f4898f2e27cd3b1060338e4] tcg-sparc: Mask shift immediates to avoid illegal insns.
root@debian:~/qemu_git/qemu-kvm# git bisect bad
Bisecting: 24 revisions left to test after this (roughly 5 steps)
[e55f523d7977480462151d8abb0ebb4b1747eabf] tcg-hppa: Fix broken load/store helpers
root@debian:~/qemu_git/qemu-kvm# git bisect good
Bisecting: 12 revisions left to test after this (roughly 4 steps)
[09054d19e72f6991cd359d41c479badd92f62a06] usb-redir: Add chardev open / close debug logging
root@debian:~/qemu_git/qemu-kvm# git bisect good
Bisecting: 6 revisions left to test after this (roughly 3 steps)
[a221ae3fcc55fcc3911587bc572af88eed3342dd] tcg-sparc: Fix ADDX opcode.
root@debian:~/qemu_git/qemu-kvm# git bisect bad
Bisecting: 2 revisions left to test after this (roughly 2 steps)
[cfb75cb9807463ebe18b127096b48b5d0db1ce03] Merge branch 'usb.65' of git://git.kraxel.org/qemu
root@debian:~/qemu_git/qemu-kvm# git bisect bad
Bisecting: 0 revisions left to test after this (roughly 1 step)
[72a04d0c178f01908d74539230d9de64ffc6da19] uhci: Don't queue up packets after one with the SPD flag set
root@debian:~/qemu_git/qemu-kvm# git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[35efba2cc6812dc980c336d7b9bf81dbfb5daf00] usb-redir: Revert usb-redir part of commit 93bfef4c
root@debian:~/qemu_git/qemu-kvm# git bisect good
72a04d0c178f01908d74539230d9de64ffc6da19 is the first bad commit
commit 72a04d0c178f01908d74539230d9de64ffc6da19
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Wed Sep 12 15:08:40 2012 +0200

     uhci: Don't queue up packets after one with the SPD flag set

     Don't queue up packets after a packet with the SPD (short packet detect)
     flag set. Since we won't know if the packet will actually be short until it
     has completed, and if it is short we should stop the queue.

     This fixes a miniature photoframe emulating a USB cdrom with the windows
     software for it not working.

     Signed-off-by: Hans de Goede <hdegoede@redhat.com>
     Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

:040000 040000 18e7490171762dec04cb8ce49fd21e0b685b53b2 86f7cb33d8b77828e671c5fb39c9d137d39eca06 M	hw
root@debian:~/qemu_git/qemu-kvm#

HTH.

Regards,
  Peter

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (20 preceding siblings ...)
  2013-01-12 12:24 ` Michael Tokarev
@ 2013-01-14  2:20 ` Nikolaus Rath
  2013-01-14  2:26 ` Nikolaus Rath
                   ` (5 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Nikolaus Rath @ 2013-01-14  2:20 UTC (permalink / raw)
  To: qemu-devel

Thanks a lot Peter! I can confirm that this patch fixes the problems
when added on top of Debian's qemu-kvm 1.1.2+dfsg-4 package. I have
attached a patch against the Debian git tree.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (21 preceding siblings ...)
  2013-01-14  2:20 ` Nikolaus Rath
@ 2013-01-14  2:26 ` Nikolaus Rath
  2013-01-14  4:16 ` Ubuntu Foundations Team Bug Bot
                   ` (4 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Nikolaus Rath @ 2013-01-14  2:26 UTC (permalink / raw)
  To: qemu-devel

** Patch added: "Patch against debian package"
   https://bugs.launchpad.net/qemu/+bug/1033727/+attachment/3482404/+files/qemu-debian.diff

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (22 preceding siblings ...)
  2013-01-14  2:26 ` Nikolaus Rath
@ 2013-01-14  4:16 ` Ubuntu Foundations Team Bug Bot
  2013-01-14  8:40 ` Michael Tokarev
                   ` (3 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Ubuntu Foundations Team Bug Bot @ 2013-01-14  4:16 UTC (permalink / raw)
  To: qemu-devel

The attachment "Patch against debian package" of this bug report has
been identified as being a patch in the form of a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  In the event that this is in
fact not a patch you can resolve this situation by removing the tag
'patch' from the bug report and editing the attachment so that it is not
flagged as a patch.  Additionally, if you are member of the ubuntu-
sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  New
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (23 preceding siblings ...)
  2013-01-14  4:16 ` Ubuntu Foundations Team Bug Bot
@ 2013-01-14  8:40 ` Michael Tokarev
  2013-01-15 15:29 ` Bug Watch Updater
                   ` (2 subsequent siblings)
  27 siblings, 0 replies; 37+ messages in thread
From: Michael Tokarev @ 2013-01-14  8:40 UTC (permalink / raw)
  To: qemu-devel

Thank you very much Peter for the work you did.  That is not of historic
interest, not at all - it is of a good value for Debian users!

And thank you Nikolaus for the testing, as well!

I take your (both of you!) words that the problem is now solved, and am
uploading new release to debian archives right now. At least it didn't
break things for me, -- I tested the resulting build and it works with
my usb devices, there's no immediately visible regression.  So hopefully
the bug is now fixed and I'm closing it in Debian.

Thank you again!

** Changed in: qemu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  Fix Released
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Confirmed

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2013-01-12  8:20   ` Michael Tokarev
@ 2013-01-14  9:18     ` Gerd Hoffmann
  2013-01-14  9:35       ` Michael Tokarev
  0 siblings, 1 reply; 37+ messages in thread
From: Gerd Hoffmann @ 2013-01-14  9:18 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: qemu-devel

On 01/12/13 09:20, Michael Tokarev wrote:
> Gerd, can you take a (maybe quick) look please?
> 
> This bug is quite old and, as Peter notes, may be fixed in 1.3
> so there's no goo motivation to fix it for older version...
> I tried to reproduce (to be able to get a trace, or bisect) it
> several times on my machine but can't, even with devices other
> people reported as triggering it.  Please give some advice for
> Debian users ;)

Given the amount of fixes which went into usb (not just usb-host, but
also uhci/ehic emulation) since 1.1 there is nothing but upgrading I can
seriously suggest ...

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2013-01-14  9:18     ` Gerd Hoffmann
@ 2013-01-14  9:35       ` Michael Tokarev
  2013-01-14 20:02         ` Doug Goldstein
  0 siblings, 1 reply; 37+ messages in thread
From: Michael Tokarev @ 2013-01-14  9:35 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel

14.01.2013 13:18, Gerd Hoffmann пишет:
> On 01/12/13 09:20, Michael Tokarev wrote:
>> Gerd, can you take a (maybe quick) look please?
>>
>> This bug is quite old and, as Peter notes, may be fixed in 1.3
>> so there's no goo motivation to fix it for older version...
>> I tried to reproduce (to be able to get a trace, or bisect) it
>> several times on my machine but can't, even with devices other
>> people reported as triggering it.  Please give some advice for
>> Debian users ;)
>
> Given the amount of fixes which went into usb (not just usb-host, but
> also uhci/ehic emulation) since 1.1 there is nothing but upgrading I can
> seriously suggest ...

Well.  Big share of these fixes are in the new async code which
were added for 1.2.  There aren't really much fixes for the original
wrong behavour.

I were looking at all usb-related changes since 1.1 up to current 1.3,
and there aren't really many fixes in there which are not already
picked for -stable.

But ofcourse I overlooked the actual fix for this problem, which
appears to be this commit:

commit 72a04d0c178f01908d74539230d9de64ffc6da19
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Wed Sep 12 15:08:40 2012 +0200

      uhci: Don't queue up packets after one with the SPD flag set

      Don't queue up packets after a packet with the SPD (short packet detect)
      flag set. Since we won't know if the packet will actually be short until it
      has completed, and if it is short we should stop the queue.

      This fixes a miniature photoframe emulating a USB cdrom with the windows
      software for it not working.

      Signed-off-by: Hans de Goede <hdegoede@redhat.com>
      Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

which I wanted to queue for 1.1-stable too, initially, but decided
it isn't really needed ;)

Thank you!

/mjt

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2013-01-14  9:35       ` Michael Tokarev
@ 2013-01-14 20:02         ` Doug Goldstein
  2013-01-15  8:17           ` Michael Tokarev
  0 siblings, 1 reply; 37+ messages in thread
From: Doug Goldstein @ 2013-01-14 20:02 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: Gerd Hoffmann, qemu-devel

On Mon, Jan 14, 2013 at 3:35 AM, Michael Tokarev <mjt@tls.msk.ru> wrote:
> 14.01.2013 13:18, Gerd Hoffmann пишет:
>
>> On 01/12/13 09:20, Michael Tokarev wrote:
>>>
>>> Gerd, can you take a (maybe quick) look please?
>>>
>>> This bug is quite old and, as Peter notes, may be fixed in 1.3
>>> so there's no goo motivation to fix it for older version...
>>> I tried to reproduce (to be able to get a trace, or bisect) it
>>> several times on my machine but can't, even with devices other
>>> people reported as triggering it.  Please give some advice for
>>> Debian users ;)
>>
>>
>> Given the amount of fixes which went into usb (not just usb-host, but
>> also uhci/ehic emulation) since 1.1 there is nothing but upgrading I can
>> seriously suggest ...
>
>
> Well.  Big share of these fixes are in the new async code which
> were added for 1.2.  There aren't really much fixes for the original
> wrong behavour.
>
> I were looking at all usb-related changes since 1.1 up to current 1.3,
> and there aren't really many fixes in there which are not already
> picked for -stable.
>
> But ofcourse I overlooked the actual fix for this problem, which
> appears to be this commit:
>
>
> commit 72a04d0c178f01908d74539230d9de64ffc6da19
> Author: Hans de Goede <hdegoede@redhat.com>
> Date:   Wed Sep 12 15:08:40 2012 +0200
>
>      uhci: Don't queue up packets after one with the SPD flag set
>
>      Don't queue up packets after a packet with the SPD (short packet
> detect)
>      flag set. Since we won't know if the packet will actually be short
> until it
>      has completed, and if it is short we should stop the queue.
>
>      This fixes a miniature photoframe emulating a USB cdrom with the
> windows
>      software for it not working.
>
>      Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>      Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
>
> which I wanted to queue for 1.1-stable too, initially, but decided
> it isn't really needed ;)
>
> Thank you!
>
> /mjt
>

Can you go ahead and push this into the 1.1-stable repo then? I'd
rather see things that are accepted pushed into the various stable
repos than languish in someone's personal repo/list and then pushed
right before a new stable tarball is released.

-- 
Doug Goldstein

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2013-01-14 20:02         ` Doug Goldstein
@ 2013-01-15  8:17           ` Michael Tokarev
  0 siblings, 0 replies; 37+ messages in thread
From: Michael Tokarev @ 2013-01-15  8:17 UTC (permalink / raw)
  To: Doug Goldstein; +Cc: qemu-devel

15.01.2013 00:02, Doug Goldstein wrote:
>> commit 72a04d0c178f01908d74539230d9de64ffc6da19
>> Author: Hans de Goede <hdegoede@redhat.com>
>> Date:   Wed Sep 12 15:08:40 2012 +0200
>>
>>       uhci: Don't queue up packets after one with the SPD flag set

>> which I wanted to queue for 1.1-stable too, initially, but decided
>> it isn't really needed ;)

> Can you go ahead and push this into the 1.1-stable repo then? I'd
> rather see things that are accepted pushed into the various stable
> repos than languish in someone's personal repo/list and then pushed
> right before a new stable tarball is released.

   http://git.corpit.ru/?p=qemu.git;a=shortlog;h=refs/heads/stable-1.1-queue

I now updated the 1.1-queue tree, adding a few other things I picked
from various places, but it is still far from "complete' in any way.
(Note that I removed a few not-so-relevant changes from there, --
like "tools: initialize main loop before block layer" which isn't needed
since it fixes things broken after 1.2, so I had to rebase and force-push
it).  And I think we shuold release 1.1.3 finally.  But that's a different
topic.

Thanks,

/mjt
>

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (24 preceding siblings ...)
  2013-01-14  8:40 ` Michael Tokarev
@ 2013-01-15 15:29 ` Bug Watch Updater
  2013-03-07 19:24 ` Brian Murray
  2013-03-07 19:25 ` Launchpad Bug Tracker
  27 siblings, 0 replies; 37+ messages in thread
From: Bug Watch Updater @ 2013-01-15 15:29 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu-kvm (Debian)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  Fix Released
Status in “qemu-kvm” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Debian:
  Fix Released

Bug description:
  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (25 preceding siblings ...)
  2013-01-15 15:29 ` Bug Watch Updater
@ 2013-03-07 19:24 ` Brian Murray
  2013-03-07 19:25 ` Launchpad Bug Tracker
  27 siblings, 0 replies; 37+ messages in thread
From: Brian Murray @ 2013-03-07 19:24 UTC (permalink / raw)
  To: qemu-devel

The verification of this Stable Release Update has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regresssions.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  Fix Released
Status in “qemu” package in Ubuntu:
  Fix Released
Status in “qemu-kvm” package in Ubuntu:
  Invalid
Status in “qemu-kvm” source package in Quantal:
  Fix Released
Status in “qemu” source package in Raring:
  Fix Released
Status in “qemu-kvm” package in Debian:
  Fix Released

Bug description:
  ====================================
  SRU Justification:
  1. Impact: usb devices which worked with qemu previously stop working
  2. Development fix: a patch upstream entitled uhci: Don't queue up packets after one with the SPD flag set fixes the problem
  3. Stable fix: same patch as development fix.
  4. Test case: you must test with certain usb devices - see below for the exact kvm arguments to use.
  5. Regression potential: this patch is cherrypicked from upstream so should be safe.
  ====================================

  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1
  2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
                   ` (26 preceding siblings ...)
  2013-03-07 19:24 ` Brian Murray
@ 2013-03-07 19:25 ` Launchpad Bug Tracker
  27 siblings, 0 replies; 37+ messages in thread
From: Launchpad Bug Tracker @ 2013-03-07 19:25 UTC (permalink / raw)
  To: qemu-devel

This bug was fixed in the package qemu-kvm - 1.2.0+noroms-
0ubuntu2.12.10.3

---------------
qemu-kvm (1.2.0+noroms-0ubuntu2.12.10.3) quantal-proposed; urgency=low

  [ Nikolaus Rath ]
  * fix-usb-passthrough.patch: fix problems with accessing some host
    USB devices (Closes: 683983) (LP: #1033727)
 -- Serge Hallyn <serge.hallyn@ubuntu.com>   Tue, 29 Jan 2013 22:26:54 -0600

** Changed in: qemu-kvm (Ubuntu Quantal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1033727

Title:
  USB passthrough doesn't work anymore with qemu-kvm 1.1.1

Status in QEMU:
  Fix Released
Status in “qemu” package in Ubuntu:
  Fix Released
Status in “qemu-kvm” package in Ubuntu:
  Invalid
Status in “qemu-kvm” source package in Quantal:
  Fix Released
Status in “qemu” source package in Raring:
  Fix Released
Status in “qemu-kvm” package in Debian:
  Fix Released

Bug description:
  ====================================
  SRU Justification:
  1. Impact: usb devices which worked with qemu previously stop working
  2. Development fix: a patch upstream entitled uhci: Don't queue up packets after one with the SPD flag set fixes the problem
  3. Stable fix: same patch as development fix.
  4. Test case: you must test with certain usb devices - see below for the exact kvm arguments to use.
  5. Regression potential: this patch is cherrypicked from upstream so should be safe.
  ====================================

  Hi,

  I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity Light / KAAN SIM III" (kind of smart card) in an USB port which I make available to a Windows XP guest.
  This worked fine with every older qemu-kvm version I've used so far.

  But since 1.1.0 it doesn't work anymore.
  The device shows up in the guest, but the software can't access it anymore (and the guest is pretty unresponsive).

  On the host I get every 2 seconds this message:
  [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_hcd

  Command line options are:
  /usr/bin/kvm
  ...
  -device usb-host,vendorid=0x0d46,productid=0x3003,bus=usb.0,port=3
  ...

  When I switch back to qemu-kvm 1.0.1 everything works fine again.
  Any idea what the problem could be?

  Thanks
  Klaus

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2013-03-07 19:31 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-07  1:20 [Qemu-devel] [Bug 1033727] [NEW] USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Klaus Hochlehnert
2012-08-07 13:35 ` [Qemu-devel] [Bug 1033727] " Klaus Hochlehnert
2012-08-07 15:17 ` Iggy
2012-08-08  8:25 ` Michael Tokarev
2012-08-08  9:55 ` Michael Tokarev
2012-08-15  8:54 ` Bug Watch Updater
2012-09-14 23:43 ` Klaus Hochlehnert
2012-09-16 11:21 ` Michael Tokarev
2012-09-16 11:21 ` Michael Tokarev
2012-09-16 11:30 ` Michael Tokarev
2012-11-03 17:56 ` Uwe
2012-11-03 18:02 ` Uwe
2012-11-11 19:25 ` Tristan Schmelcher
2012-11-14 14:23 ` Serge Hallyn
2012-11-30  9:11 ` Beastyvoid
2012-12-29 14:59 ` Peter Schaefer
2012-12-29 15:12 ` Peter Schaefer
2012-12-31 13:13 ` Falk Seyboldt
2013-01-03 16:14 ` daniel pecka
2013-01-08 17:08 ` Serge Hallyn
2013-01-09 22:45   ` Peter Schaefer
2013-01-10 21:59 ` Peter Schaefer
2013-01-12  8:20   ` Michael Tokarev
2013-01-14  9:18     ` Gerd Hoffmann
2013-01-14  9:35       ` Michael Tokarev
2013-01-14 20:02         ` Doug Goldstein
2013-01-15  8:17           ` Michael Tokarev
2013-01-12 12:24 ` Michael Tokarev
2013-01-13 11:07   ` Peter Schaefer
2013-01-13 22:12     ` Peter Schaefer
2013-01-14  2:20 ` Nikolaus Rath
2013-01-14  2:26 ` Nikolaus Rath
2013-01-14  4:16 ` Ubuntu Foundations Team Bug Bot
2013-01-14  8:40 ` Michael Tokarev
2013-01-15 15:29 ` Bug Watch Updater
2013-03-07 19:24 ` Brian Murray
2013-03-07 19:25 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.