This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Memory issue on the board

Hi ,

I am using video related application on OMAP board. When I am running from NFS server the Display is getting created and I am not facing any issue but when I am running the same application from

1.the flashed filesystem and mounting the card alongwith the application and

2. From MMC Card filesystem and application then I am facing the following errors

: page allocation failure. order:10, mode:0xd1
 pitch 1280
[<c002f374>] (dump_stack+0x0/0x14) from [<c008c730>] (__alloc_pages+0x288/0x29c)
[<c008c4a8>] (__alloc_pages+0x0/0x29c) from [<c008c76c>] (__get_free_pages+0x28/0x5c)
[<c008c744>] (__get_free_pages+0x0/0x5c) from [<c01c2888>] (omap35xvout_alloc_buffer+0x40/0xa0)
[<c01c2848>] (omap35xvout_alloc_buffer+0x0/0xa0) from [<c01c2a34>] (omap35x_buffer_setup+0xbc/0x280)
 r5:c57ad000 r4:c57ad000
[<c01c2978>] (omap35x_buffer_setup+0x0/0x280) from [<c01bfccc>] (videobuf_reqbufs+0x124/0x1dc)
[<c01bfba8>] (videobuf_reqbufs+0x0/0x1dc) from [<c01c403c>] (omap24xxvout_do_ioctl+0x894/0x158c)
 r7:c2cd7e38 r6:c57ad304 r5:c57ad000 r4:00000000
[<c01c37a8>] (omap24xxvout_do_ioctl+0x0/0x158c) from [<c01afc54>] (video_usercopy+0x1b8/0x2b8)
[<c01afa9c>] (video_usercopy+0x0/0x2b8) from [<c01c4e94>] (omap24xxvout_ioctl+0xdc/0xec)
[<c01c4db8>] (omap24xxvout_ioctl+0x0/0xec) from [<c00b2550>] (do_ioctl+0x68/0x78)
[<c00b24e8>] (do_ioctl+0x0/0x78) from [<c00b27c0>] (vfs_ioctl+0x260/0x278)
 r5:44fa8afc r4:c0777660
[<c00b2560>] (vfs_ioctl+0x0/0x278) from [<c00b2818>] (sys_ioctl+0x40/0x64)
 r7:c0777660 r6:c0145608 r5:44fa8afc r4:0000001f
[<c00b27d8>] (sys_ioctl+0x0/0x64) from [<c002ae40>] (ret_fast_syscall+0x0/0x2c)
 r7:00000036 r6:4050f000 r5:44fa9490 r4:44fa94d8
Mem-info:
DMA per-cpu:
CPU    0: Hot: hi:   18, btch:   3 usd:   5   Cold: hi:    6, btch:   1 usd:   5
Active:3897 inactive:7959 dirty:0 writeback:0 unstable:0
 free:561 slab:620 mapped:1881 pagetables:56 bounce:0
DMA free:2244kB min:1196kB low:1492kB high:1792kB active:15588kB inactive:31836kB present:89408kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0
DMA: 23*4kB 29*8kB 16*16kB 8*32kB 4*64kB 1*128kB 0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB 0*8192kB = 2244kB
Swap cache: add 0, delete 0, find 0/0, race 0+0
Free swap  = 0kB
Total swap = 0kB
Free swap:            0kB
22528 pages of RAM
1404 free pages
8078 reserved pages
620 slab pages
2635 pages shared
0 pages swap cached
v4l2Driver count = 3 type = 2VIDIOC_REQBUFS failed (Cannot allocate memory)
Failed to create display device
Display_create is proper
Framecopy_create is proper
 DIsplay INIT failed

 

 

However on MMC card 1.5 GB is free, what  NFS Filesystem makes the difference to run the Video Related applications.What is the fix? Is this kernel related issue. I am using flashed kernel throughout which I got with SDK 1.0.2 Is this memory related isuue? Is there any release which fixes this issue?

 

Regards,

Vineet