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.

kernel backtrace when enabling camera

Other Parts Discussed in Thread: PCA9543A

Hi All

I modified the video_loopbak_resize app slightly by allowing another parameter to accept the camera as an input.

 

With -I camera it just does

argsp->videoInput = Capture_Input_CAMERA;

 

When I run it the following happens:

root@dm368-evm:~# ./video_loopback_resize_dm368.x470MV -I camera -O component
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
davinci_previewer davinci_previewer.2: ipipe_set_preview_config
davinci_previewer davinci_previewer.2: ipipe_set_preview_config
vpfe-capture vpfe-capture: IPIPE Chained
vpfe-capture vpfe-capture: Resizer present
dm365evm_enable_pca9543a
dm365evm_enable_pca9543a, status = -121
EVM: switch to HD imager video input
-----Exposure time = 5f4
-----Exposure time = 5f4
vpfe-capture vpfe-capture: width = 720, height = 480, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 720, height = 480, bpp = 2, bytesperline = 1440, sizeimage = 691200
vpfe-capture vpfe-capture: width = 720, height = 480, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 720, height = 480, bpp = 2, bytesperline = 1440, sizeimage = 691200
video_loopback_: page allocation failure. order:8, mode:0xd0
Backtrace:
[<c00305f4>] (dump_backtrace+0x0/0x114) from [<c031b154>] (dump_stack+0x18/0x1c)
 r7:00000008 r6:000000d0 r5:00000000 r4:00000000
[<c031b13c>] (dump_stack+0x0/0x1c) from [<c007afa4>] (__alloc_pages_nodemask+0x4a0/0x500)
[<c007ab04>] (__alloc_pages_nodemask+0x0/0x500) from [<c00320d8>] (__dma_alloc+0x160/0x3fc)
[<c0031f78>] (__dma_alloc+0x0/0x3fc) from [<c0032400>] (dma_alloc_coherent+0x58/0x64)
[<c00323a8>] (dma_alloc_coherent+0x0/0x64) from [<c02313fc>] (__videobuf_mmap_mapper+0x118/0x224)
 r7:c2a67300 r6:c20f3214 r5:c22736e4 r4:c1209f20
[<c02312e4>] (__videobuf_mmap_mapper+0x0/0x224) from [<c022f450>] (videobuf_mmap_mapper+0x64/0x94)
 r8:00000000 r7:c2a67300 r6:40452000 r5:c1209f20 r4:c20f3214
[<c022f3ec>] (videobuf_mmap_mapper+0x0/0x94) from [<c0235c60>] (vpfe_mmap+0x48/0x54)
 r5:c1209f20 r4:c20f3000
[<c0235c18>] (vpfe_mmap+0x0/0x54) from [<c02254b4>] (v4l2_mmap+0x40/0x4c)
 r5:c1209f20 r4:c2a67300
[<c0225474>] (v4l2_mmap+0x0/0x4c) from [<c008fb0c>] (mmap_region+0x220/0x42c)
 r5:c1209f20 r4:000000ff
[<c008f8ec>] (mmap_region+0x0/0x42c) from [<c008ffdc>] (do_mmap_pgoff+0x2c4/0x324)
[<c008fd18>] (do_mmap_pgoff+0x0/0x324) from [<c0085a58>] (sys_mmap_pgoff+0xa0/0xd0)
[<c00859b8>] (sys_mmap_pgoff+0x0/0xd0) from [<c002cf40>] (ret_fast_syscall+0x0/0x28)
Mem-info:
DMA per-cpu:
CPU    0: hi:   18, btch:   3 usd:   2
active_anon:723 inactive_anon:768 isolated_anon:0
 active_file:205 inactive_file:487 isolated_file:0
 unevictable:0 dirty:0 writeback:0 unstable:0
 free:8626 slab_reclaimable:254 slab_unreclaimable:971
 mapped:239 shmem:53 pagetables:65 bounce:0
DMA free:34504kB min:984kB low:1228kB high:1476kB active_anon:2892kB inactive_anon:3072kB active_file:820kB inactive_file:1948kB o
lowmem_reserve[]: 0 0 0
DMA: 105*4kB 228*8kB 299*16kB 157*32kB 106*64kB 44*128kB 26*256kB 7*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB = 34708kB
706 total pagecache pages
15360 pages of RAM
8755 free pages
2932 reserved pages
844 slab pages
355 pages shared
0 pages swap cached
vpfe-capture vpfe-capture: dma_alloc_coherent size 692224 failed
Failed to create capture device
Modified video loopback resize built Dec  8 2011root@dm368-evm:~#

 

Questions:

 

What does that really mean?

 

How can I get around this?

 

Thanks

 

Charles