On Monday 14 March 2005 12:35 pm, Petr Nejedly wrote:

> The "problem" was that the buffer passed in URBs was allocated using
> pci_alloc_consistent(). When I changed this to kmalloced buffer, it started
> working reliably. I'll notify DVB developers about this.
> I still don't know why does it *really* oops as the return value of 
> pci_alloc_consistent
> was checked and even clearing memset worked OK on it.

See if using usb_buffer_alloc() works better.  You could very
well have been confusing the DMA mapping infrastructure ... among
other things, the USB host controller isn't necessarily on a PCI
bus, and even if it is one you don't have a supported way to get
the relevant PCI device from the USB device.

- Dave


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to