From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWPo3-0008B5-G3 for qemu-devel@nongnu.org; Fri, 22 Aug 2008 02:07:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWPo2-0008At-Ql for qemu-devel@nongnu.org; Fri, 22 Aug 2008 02:07:31 -0400 Received: from [199.232.76.173] (port=43786 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWPo2-0008Aq-5I for qemu-devel@nongnu.org; Fri, 22 Aug 2008 02:07:30 -0400 Received: from hera.kernel.org ([140.211.167.34]:42277) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWPo1-0000yH-Ip for qemu-devel@nongnu.org; Fri, 22 Aug 2008 02:07:29 -0400 Message-ID: <48AE5787.9080308@kernel.org> Date: Thu, 21 Aug 2008 23:07:03 -0700 From: Max Krasnyansky MIME-Version: 1.0 Subject: Re: [Qemu-devel] [5050] uhci: rewrite UHCI emulator, fully async operation with multiple outstanding transactions ( Max Krasnyansky) References: <20080821223205.GA15756@volta.aurel32.net> <48ADEF25.1050402@codemonkey.ws> <48AE07C9.20200@kernel.org> <20080822014650.GB2569@volta.aurel32.net> In-Reply-To: <20080822014650.GB2569@volta.aurel32.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org 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. Max