[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/55813: Erratic fault related to xhci/usb code "is not head of queue" KASSERTMSG
>Synopsis: Erratic fault related to xhci/usb code "is not head of queue" KASSERTMSG
>Arrival-Date: Wed Nov 18 21:05:00 +0000 2020
NetBSD 9.99.74 amd54
When xhci-connected devices (at least one microphone and one webcam) are used, the kernel may fault near line 1035 in usbdi.c at a KASSERTMSG:
KASSERTMSG(xfer == SIMPLEQ_FIRST(&pipe->up_queue) [...])
It's not clear how to get better data and the fault happens erratically (sometimes after a dozen seconds, sometimes after over an hour of use, etc.)
Perhaps this is related to xhci_clear_endpoint_stall_async, e.g. a timing issue between the async task it launches, which appears to clear states which may prevent further attempts to run usb_transfer_complete, and xhci_handle_events.
Use a device connected via xhci (probably easier if it streams data constantly) and hope it triggers.
Main Index |
Thread Index |