Hi,
We are using TI's Linux PSP 1.0.2 kernel for a new OMAP3530 based product.
We have found a bug related to video driver. The video driver crashes when we open and close the video pipeline multiple times.
There are page allocation failures from video application. The issue is with video buffer management.
Is there any fix available for this issue?
The product is due for relase in a short time. Any quick help will be deeply appreciated.
========================================================================================================
openned video_dev
Opened input video file
printk: 5 messages suppressed.
acc_test_app_2: page allocation failure. order:10, mode:0xd1
[<c0030374>] (dump_stack+0x0/0x14) from [<c008dbf0>] (__alloc_pages+0x288/0x29c)
[<c008d968>] (__alloc_pages+0x0/0x29c) from [<c008dc2c>] (__get_free_pages+0x28/0x5c)
[<c008dc04>] (__get_free_pages+0x0/0x5c) from [<c01c76d4>] (omap35xvout_alloc_buffer+0x40/0xa0)
[<c01c7694>] (omap35xvout_alloc_buffer+0x0/0xa0) from [<c01c7b24>] (omap35x_buffer_setup+0x1e4/0x280)
r5:c7f13800 r4:c7f13988
[<c01c7940>] (omap35x_buffer_setup+0x0/0x280) from [<c01c4b1c>] (videobuf_reqbufs+0x124/0x1dc)
[<c01c49f8>] (videobuf_reqbufs+0x0/0x1dc) from [<c01c8a98>] (omap24xxvout_do_ioctl+0x890/0x158c)
r7:c7539e38 r6:c7f13b10 r5:c7f13800 r4:c7f13988
[<c01c8208>] (omap24xxvout_do_ioctl+0x0/0x158c) from [<c01b5174>] (video_usercopy+0x1b8/0x2b8)
[<c01b4fbc>] (video_usercopy+0x0/0x2b8) from [<c01c9a90>] (omap24xxvout_ioctl+0xdc/0xec)
[<c01c99b4>] (omap24xxvout_ioctl+0x0/0xec) from [<c00b36dc>] (do_ioctl+0x68/0x78)
[<c00b3674>] (do_ioctl+0x0/0x78) from [<c00b394c>] (vfs_ioctl+0x260/0x278)
r5:bee43a2c r4:c05e7820
[<c00b36ec>] (vfs_ioctl+0x0/0x278) from [<c00b39a4>] (sys_ioctl+0x40/0x64)
r7:c05e7820 r6:c0145608 r5:bee43a2c r4:00000003
[<c00b3964>] (sys_ioctl+0x0/0x64) from [<c002be40>] (ret_fast_syscall+0x0/0x2c)
r7:00000036 r6:00000000 r5:00000000 r4:000120e8
Mem-info:
DMA per-cpu:
CPU 0: Hot: hi: 42, btch: 7 usd: 41 Cold: hi: 14, btch: 3 usd: 11
Active:2075 inactive:308 dirty:0 writeback:0 unstable:0
free:20091 slab:464 mapped:283 pagetables:35 bounce:0
DMA free:80364kB min:1440kB low:1800kB high:2160kB active:8300kB inactive:1232kB present:130048kB pages_scanned:66 all_unreclaimable? no
lowmem_reserve[]: 0 0
DMA: 5*4kB 41*8kB 11*16kB 17*32kB 81*64kB 75*128kB 80*256kB 80*512kB 1*1024kB 1*2048kB 0*4096kB 0*8192kB = 80364kB
Swap cache: add 0, delete 0, find 0/0, race 0+0
Free swap = 0kB
Total swap = 0kB
Free swap: 0kB
32768 pages of RAM
20892 free pages
8923 reserved pages
464 slab pages
426 pages shared
0 pages swap cached
==========================================================================================================
I am attching the crash log for your reference.
Regards,
Remith
Any solution for the issue ?