From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0dTa-0000Oy-IA for qemu-devel@nongnu.org; Thu, 23 Feb 2012 13:33:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0dTW-0004Sj-GU for qemu-devel@nongnu.org; Thu, 23 Feb 2012 13:33:10 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:63552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0dTW-0004Se-68 for qemu-devel@nongnu.org; Thu, 23 Feb 2012 13:33:06 -0500 Message-ID: <4F468660.1010006@rdsoftware.de> Date: Thu, 23 Feb 2012 19:33:04 +0100 From: Erik Rull MIME-Version: 1.0 References: <390007896.172233.1329997133650.JavaMail.open-xchange@email.1und1.de> <4F465748.8050605@redhat.com> In-Reply-To: <4F465748.8050605@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu assertion failed with usb on current git master! List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "qemu-devel@nongnu.org" Gerd Hoffmann wrote: > On 02/23/12 12:38, Erik Rull wrote: >> When running qemu with -device usb-host an assertion failed caused by >> attaching a new usb device to the host that gets routed to the guest. >> >> The assertion that fails is: >> >> qemu-system-x86_64: /home/erik/qemu/hw/usb.c:358 usb_packet_complete: >> Assertion 'p->state == USB_PACKET_QUEUED' failed. > > Stacktrace? > What kind of device? > > Can you enable the debug logging code in usb_packet_set_state() and send > a log? > > thanks, > Gerd > > I don't have gdb installed on my target system. May take some time until I have the backtrace, maybe remote debugging will work. I just plugged in a USB key with 8 Gig, but happens with another USB key with 2 Gig from another manufacturer as well. Both are USB 2.0 devices. Best regards, Erik