[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] New assertion failed for USB
From: |
Erik Rull |
Subject: |
Re: [Qemu-devel] New assertion failed for USB |
Date: |
Wed, 7 Mar 2012 13:06:30 +0100 (CET) |
On March 7, 2012 at 12:30 PM Gerd Hoffmann <address@hidden> wrote:
> 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
Hi Gerd,
thanks for the quick reply.
File is attached.
Best regards,
Erik
usb-trace-assert.txt
Description: Text document