From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWLk4-0003TH-P5 for qemu-devel@nongnu.org; Thu, 21 Aug 2008 21:47:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWLk3-0003St-3q for qemu-devel@nongnu.org; Thu, 21 Aug 2008 21:47:08 -0400 Received: from [199.232.76.173] (port=41885 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWLk2-0003So-RU for qemu-devel@nongnu.org; Thu, 21 Aug 2008 21:47:06 -0400 Received: from hall.aurel32.net ([91.121.138.14]:60944) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWLk2-0000Kj-3D for qemu-devel@nongnu.org; Thu, 21 Aug 2008 21:47:06 -0400 Date: Fri, 22 Aug 2008 03:46:50 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [5050] uhci: rewrite UHCI emulator, fully async operation with multiple outstanding transactions ( Max Krasnyansky) Message-ID: <20080822014650.GB2569@volta.aurel32.net> References: <20080821223205.GA15756@volta.aurel32.net> <48ADEF25.1050402@codemonkey.ws> <48AE07C9.20200@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <48AE07C9.20200@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: Max Krasnyansky Cc: qemu-devel@nongnu.org On Thu, Aug 21, 2008 at 05:26:49PM -0700, Max Krasnyansky wrote: > Anthony Liguori wrote: >> Aurelien Jarno wrote: >>> On Thu, Aug 21, 2008 at 07:30:32PM +0000, Anthony Liguori wrote: >>> >>>> Revision: 5050 >>>> http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5050 >>>> Author: aliguori >>>> Date: 2008-08-21 19:30:31 +0000 (Thu, 21 Aug 2008) >>>> >>>> Log Message: >>>> ----------- >>>> uhci: rewrite UHCI emulator, fully async operation with multiple >>>> outstanding transactions (Max Krasnyansky) >>>> >>> >>> Please note that this commit has broken the -usbdevice option (at least >>> disk, tablet and mouse) for a GNU/Linux guest running a 2.6.18 kernel. >>> >> Well, reverting is going to be painful since this is the 4th patch in a >> series of 8, so I'll try to fix this tonight, otherwise, I'll revert. > > I've done all my testing so far with XP as a guest, and the -usbdevice > tablet is working just fine. In fact nothing should have changed in that > area since builtin devices are synchronous. > > I'll setup Linux guest right now and check things out. > > Aurelien, can you provide a bit more details on your setup. Do use KQEMU > or KVM ? Since you mentioned table & mouse I'm assuming that you're > using a graphic console. Is it VNC or SDL ?. In fact why don't you just > send me your qemu command like. So that I can replicated the problem > better. > 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. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net