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 : > 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 ------------------------------------------------------------------------- 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
console.log
(text/x-log, 8.1 KB)
DIGITAL TV REQUEST udevd: page allocation failure. order:4, mode:0x21 Mem-info: DMA per-cpu: cpu 0 hot: high 6, batch 1 used:5 cpu 0 cold: high 2, batch 1 used:0 DMA32 per-cpu: empty Normal per-cpu: empty HighMem per-cpu: empty Free pages: 4880kB (0kB HighMem) Active:2665 inactive:1487 dirty:9 writeback:0 unstable:0 free:1220 slab:816 map2 DMA free:4880kB min:724kB low:904kB high:1084kB active:10660kB inactive:5948kB o lowmem_reserve[]: 0 0 0 0 DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pago lowmem_reserve[]: 0 0 0 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pao lowmem_reserve[]: 0 0 0 0 HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB presento lowmem_reserve[]: 0 0 0 0 DMA: 170*4kB 155*8kB 85*16kB 48*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*B DMA32: empty Normal: empty HighMem: empty Swap cache: add 0, delete 0, find 0/0, race 0+0 Free swap = 72284kB Total swap = 72284kB Free swap: 72284kB 8192 pages of RAM 1303 free pages 797 reserved pages 816 slab pages 2040 pages shared 0 pages swap cached ehci_hcd 0000:00:01.2: alloc_safe_buffer: could not alloc dma memory (size=3609) ehci_hcd 0000:00:01.2: map_single: unable to map unsafe buffer ffc13000! udevd: page allocation failure. order:4, mode:0x21 Mem-info: DMA per-cpu: cpu 0 hot: high 6, batch 1 used:5 cpu 0 cold: high 2, batch 1 used:0 DMA32 per-cpu: empty Normal per-cpu: empty HighMem per-cpu: empty Free pages: 4916kB (0kB HighMem) Active:2665 inactive:1487 dirty:9 writeback:0 unstable:0 free:1229 slab:816 map2 DMA free:4916kB min:724kB low:904kB high:1084kB active:10660kB inactive:5948kB o lowmem_reserve[]: 0 0 0 0 DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pago lowmem_reserve[]: 0 0 0 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pao lowmem_reserve[]: 0 0 0 0 HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB presento lowmem_reserve[]: 0 0 0 0 DMA: 169*4kB 154*8kB 86*16kB 49*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*B DMA32: empty Normal: empty HighMem: empty Swap cache: add 0, delete 0, find 0/0, race 0+0 Free swap = 72284kB Total swap = 72284kB Free swap: 72284kB 8192 pages of RAM 1312 free pages 788 reserved pages 816 slab pages 2040 pages shared 0 pages swap cached ehci_hcd 0000:00:01.2: alloc_safe_buffer: could not alloc dma memory (size=3609) ehci_hcd 0000:00:01.2: map_single: unable to map unsafe buffer ffc25000! udevd: page allocation failure. order:4, mode:0x21 Mem-info: DMA per-cpu: cpu 0 hot: high 6, batch 1 used:5 cpu 0 cold: high 2, batch 1 used:0 DMA32 per-cpu: empty Normal per-cpu: empty HighMem per-cpu: empty Free pages: 4952kB (0kB HighMem) Active:2665 inactive:1487 dirty:9 writeback:0 unstable:0 free:1238 slab:816 map2 DMA free:4952kB min:724kB low:904kB high:1084kB active:10660kB inactive:5948kB o lowmem_reserve[]: 0 0 0 0 DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pago lowmem_reserve[]: 0 0 0 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pao lowmem_reserve[]: 0 0 0 0 HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB presento lowmem_reserve[]: 0 0 0 0 DMA: 168*4kB 155*8kB 86*16kB 50*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*B DMA32: empty Normal: empty HighMem: empty Swap cache: add 0, delete 0, find 0/0, race 0+0 Free swap = 72284kB Total swap = 72284kB Free swap: 72284kB 8192 pages of RAM 1321 free pages 779 reserved pages 816 slab pages 2040 pages shared 0 pages swap cached ehci_hcd 0000:00:01.2: alloc_safe_buffer: could not alloc dma memory (size=3609) ehci_hcd 0000:00:01.2: map_single: unable to map unsafe buffer ffc2e000!