qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] New assertion failed for USB


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] New assertion failed for USB
Date: Wed, 07 Mar 2012 12:30:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

On 03/07/12 10:46, Erik Rull wrote:
>  Hi Gerd,
> 
> there are new assertion failed when plugging in a USB security dongle at
> guest runtime.
> They occur on the current GIT master  + your async patch.
> 
> /home/erik/qemu/hw/usb.c:352 usb_packet_complete: Assertion
> '((&ep->queue)->tqh_first) == p' failed.
> I got this only once and I'm currently not able to reproduce that.

Strange.

> Next one is:
> Same security dongle (I tested two different hardware versions, both show
> the same behaviour):
> - They get detected at runtime (beside this one crash above) but it takes
> quite long
> - When being plugged in before guest startup I get the following assertion
> - this seems to happen in BIOS before the guest OS actually boots:
> /home/erik/qemu/hw/usb-uhci.c:967: uhci_fill_queue: Assertion 'ret == 2'
> failed.

Might be related.  In both cases the packet queue somehow isn't in the
state we expecting it to be.

> If you need further information, just let me know how to produce it.

Enable tracing for these events ...

usb_packet_state_change
usb_host_req_*
usb_host_urb_*

... and try to reproduce.  Hopefully that gives a clue.

cheers,
  Gerd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]