qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Max Krasnyansky <maxk@kernel.org>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [5050] uhci: rewrite UHCI emulator, fully async operation with multiple outstanding transactions ( Max Krasnyansky)
Date: Thu, 21 Aug 2008 23:07:03 -0700	[thread overview]
Message-ID: <48AE5787.9080308@kernel.org> (raw)
In-Reply-To: <20080822014650.GB2569@volta.aurel32.net>

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

  parent reply	other threads:[~2008-08-22  6:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21 19:30 [Qemu-devel] [5050] uhci: rewrite UHCI emulator, fully async operation with multiple outstanding transactions ( Max Krasnyansky) Anthony Liguori
2008-08-21 22:32 ` Aurelien Jarno
2008-08-21 22:38   ` Anthony Liguori
2008-08-21 22:43     ` Aurelien Jarno
2008-08-21 22:41   ` Anthony Liguori
2008-08-22  0:26     ` Max Krasnyansky
2008-08-22  1:46       ` Aurelien Jarno
2008-08-22  3:34         ` Max Krasnyansky
2008-08-22  6:07         ` Max Krasnyansky [this message]
2008-08-22  8:59           ` Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48AE5787.9080308@kernel.org \
    --to=maxk@kernel.org \
    --cc=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).