Re: [Em28xx] ehci_hcd map_single: unable to map unsafe buffer on a standard NSLU2
Thierry Merle <[email protected]>
| Newsgroups | gmane.linux.usb.devel,gmane.linux.drivers.em28xx |
|---|---|
| Message-ID | <[email protected]> |
Thierry Merle a écrit : > Thierry Merle a écrit : >> Markus Rechberger a écrit : >> >>> can you test the device with a normal PC too? >>> this will give you an image how it should behave in a usual >>> environment.. >>> >>> Markus >>> >>> >> Right, tested OK in the same configuration. >> In fact the NSLU2 freezes only when a channel is tuned. I tried >> without plugging the antenna cable and scan did not freeze the >> kernel. All firmwares loaded OK. >> I tried to solder the serial console but my bad soldering iron made a >> bad work. I stopped before breaking definitely the NSLU2. >> >> > OK I succeeded in making the serial console work and got the USB problem. > I soldered a mobile phone data cable (containing a ark3116) on the > NSLU2 serial pinouts and it worked. > > Attached is the logs before the end. It is proven that this is a > memory allocation problem now... > minicom has truncated the lines to 80 chars in a curious way but the > information is here. > Thierry > Hello, another bad news ;) I tested today to lower the usb allocation in em2880-dvb.c EM2880_DVB_NUM_PACKETS set to 8 instead of 64. I have an infinite loop of messages on console as soon as scan starts and tries to tune a channel: BUG: warning at arch/arm/mm/consistent.c:363/dma_free_coherent() BUG: warning at arch/arm/mm/consistent.c:363/dma_free_coherent() BUG: warning at arch/arm/mm/consistent.c:363/dma_free_coherent() This warning is caused by: WARN_ON(irqs_disabled()); in dma_free_coherent. The function comment says: * Must not be called with IRQs disabled. I think that I have no more the memory problem, but now this is a dma_free_coherent that is called in a place where IRQ are disabled (like a locked section or other? just a supposition). Thierry ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel