From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atYNm-0001CQ-2E for qemu-devel@nongnu.org; Fri, 22 Apr 2016 06:32:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atYNj-00087X-CG for qemu-devel@nongnu.org; Fri, 22 Apr 2016 06:32:18 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 22 Apr 2016 11:32:06 +0100 From: joe@thunderbug.co.uk In-Reply-To: <1461319465.28204.85.camel@redhat.com> References: <5717F0E5.2090907@thunderbug.co.uk> <1461221063.28204.28.camel@redhat.com> <5718BFA2.4050101@thunderbug.co.uk> <1461248234.28204.31.camel@redhat.com> <5718F4BA.9020203@thunderbug.co.uk> <1461319465.28204.85.camel@redhat.com> Message-ID: <112a7dea40cb0418cae47e4172f6913f@thunderbug.co.uk> Subject: Re: [Qemu-devel] Bug (Regression?) in hw/usb/hcd-uhci.c causes failure of ICH9 host controller and attached Xbox 360 Wireless Receiver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org, Qemu-devel On 2016-04-22 11:04, Gerd Hoffmann wrote: > Hi, > >> Starting the guest VM with the UHCI debug patch and the device >> unplugged >> results in these two lines just after it starts: >> >> uhci_handle_td: invalid pid token 0x0, raising HCPERR >> uhci_handle_td: invalid pid token 0x0, raising HCPERR >> >> and then the same line repeated 18 times once the Windows desktop is >> reached and the device is plugged in. > > Think I've nailed it. Can you fetch the latest version of the git > branch (fyi: it's rebased) and try again? > > thanks, > Gerd Yep, you nailed it! I've applied https://www.kraxel.org/cgit/qemu/commit/?h=work/usb-uhci-usb-host-debug&id=c69e5efac15db4340b880c80f27ebe536acd1aeb to my local copy of current qemu git master and the problem no longer exists. The stderr debugging output is also beautifully silent :) Awesome work, many thanks. Joe