From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWSUE-0005C5-5z for qemu-devel@nongnu.org; Fri, 22 Aug 2008 04:59:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWSUD-0005BU-Jt for qemu-devel@nongnu.org; Fri, 22 Aug 2008 04:59:13 -0400 Received: from [199.232.76.173] (port=51554 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWSUD-0005BF-E5 for qemu-devel@nongnu.org; Fri, 22 Aug 2008 04:59:13 -0400 Received: from hall.aurel32.net ([91.121.138.14]:42447) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWSUD-0001kQ-5M for qemu-devel@nongnu.org; Fri, 22 Aug 2008 04:59:13 -0400 Received: from farad.aurel32.net ([82.232.2.251] helo=volta.aurel32.net) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KWSUB-0005IC-43 for qemu-devel@nongnu.org; Fri, 22 Aug 2008 10:59:11 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1KWSUA-0005ew-D1 for qemu-devel@nongnu.org; Fri, 22 Aug 2008 10:59:10 +0200 Date: Fri, 22 Aug 2008 10:59:10 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [5050] uhci: rewrite UHCI emulator, fully async operation with multiple outstanding transactions ( Max Krasnyansky) Message-ID: <20080822085910.GA21526@volta.aurel32.net> References: <20080821223205.GA15756@volta.aurel32.net> <48ADEF25.1050402@codemonkey.ws> <48AE07C9.20200@kernel.org> <20080822014650.GB2569@volta.aurel32.net> <48AE5787.9080308@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <48AE5787.9080308@kernel.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thu, Aug 21, 2008 at 11:07:03PM -0700, Max Krasnyansky wrote: > Aurelien Jarno wrote: > > I am using QEMU, from the SVN, without KQEMU. The problem does not > > depend of the console used (SDL, VNC or curses). The guest kernel > > outputs the following errors: > > usb 1-2: device not accepting address 2, error -71 > > usb 1-2: new full speed USB device using uhci_hcd and address 3 > > usb 1-2: device not accepting address 3, error -71 > > usb 1-2: new full speed USB device using uhci_hcd and address 4 > > usb 1-2: device not accepting address 4, error -71 > > usb 1-2: new full speed USB device using uhci_hcd and address 5 > > usb 1-2: device not accepting address 5, error -71 > > > > You can download the image from: > > http://people.debian.org/~aurel32/qemu/amd64/ > > > > It is reproducible with the following command line: > > qemu-system-x86_64 -hda debian_etch_amd64_small.qcow -usbdevice tablet > > > > The error can also be reproduced with -usbdevice mouse or -usbdevice > > disk:image. > Turns out I managed to screw up transaction length handling for control > transfers in certain scenarious. Looks like XP and newer kernels are not > sensitive to that. > > I just sent out a patch that fixes the regression. > > [PATCH] uhci: Fixed length handling for SETUP and OUT tokens > > Please confirm that it fixes your setup. I tested XP, your Debian image and > Fedora 9. Yes, I confirm it works with my setup. Thanks for your reactivity. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net