Re: Oops in UHCI when encountering "host controller process error"

From: Alan Stern
Date: Wed Dec 10 2008 - 10:10:37 EST


On Tue, 9 Dec 2008, Jeremy Fitzhardinge wrote:

> OK. If the controller is idle and the kernel wants to submit it some
> new work, where does that happen? Can I stick a uhci_sprint_schedule()
> there to see the state of the structures before it starts to work on them?

The entry point is uhci_urb_enqueue(). You can do whatever you like
there, but bear in mind that it may be called in interrupt context.
uhci_sprint_schedule() should be fine.

However I don't really see the point. If the DMA pool allocations are
so badly messed up that the initial setup is wrong, why bother to
search any further?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/