From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcZ57-0001Bf-Vv for qemu-devel@nongnu.org; Mon, 19 Dec 2011 04:00:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcZ53-000545-Mr for qemu-devel@nongnu.org; Mon, 19 Dec 2011 04:00:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcZ53-000540-Eq for qemu-devel@nongnu.org; Mon, 19 Dec 2011 04:00:21 -0500 Message-ID: <4EEEFD20.9000506@redhat.com> Date: Mon, 19 Dec 2011 10:00:16 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <0N8zjs-1QswR10QHR-00iSes@icpu819.kundenserver.de> In-Reply-To: <0N8zjs-1QswR10QHR-00iSes@icpu819.kundenserver.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] USB continuous reset / unplug cleanup not done properly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: erik.rull@rdsoftware.de Cc: qemu-devel@nongnu.org Hi, > 1) Devices get resetted again and again on the host side and do not work > properly on the guest side - they work fine on the host side outside qemu. I see those too. Not clear what is going on here. usbfs requests seem to get stuck now and then for not-yet known reasons. Sometimes they finish after a few seconds. Sometimes they get stuck long enougth that some timeout within the guest fires and the guest resets the device. I see those with a F16 guest which polls the usb stick with test-unit-ready requests. Letting it run idle produces a ... usb 1-6: reset high speed USB device number 3 using ehci_hcd ... log line line in the guest now and then. Tried to write a small reproducer (tool constantly sending test-unit-ready via usbfs), but that one works just fine without any hangs. cheers, Gerd