2010-11-29 22:33:13     How to enable "Allow allocating large blocks"

Document created by Aaronwu Employee on Aug 23, 2013
Version 1Show Document
  • View in full screen mode

2010-11-29 22:33:13     How to enable "Allow allocating large blocks"

HappyBlackfin Blackfin (CHINA)

Message: 96299   

 

DSP:BF548

 

make menuconfig

 

But not find the "Allow allocating large blocks" , how to enable the "Allow allocating large blocks"?

 

Thanks!

QuoteReplyEditDelete

 

 

2010-11-29 22:37:02     Re: How to enable "Allow allocating large blocks"

Mike Frysinger (UNITED STATES)

Message: 96301   

 

there is no such option.  you need to describe what you're actually trying to do.

QuoteReplyEditDelete

 

 

2010-11-30 00:51:19     Re: How to enable "Allow allocating large blocks"

HappyBlackfin Blackfin (CHINA)

Message: 96303   

 

I want to using the ffmpeg on BF548 EZKIT.

 

root:/> ffmpeg  -f video4linux -r 10.0 -s 720x288 -i /dev/video0 -qscale 6 -f mjpeg udp:192.168.0.90:1234

 

ffmpeg: page allocation failure. order:12, mode:0xd0

 

Hardware Trace:

 

   0 Target : <0x00104e18> { _dump_stack + 0x0 }

 

     Source : <0x00135ecc> { ___alloc_pages_nodemask + 0x364 } CALL pcrel

 

   1 Target : <0x00135ecc> { ___alloc_pages_nodemask + 0x364 }

 

     Source : <0x001104b6> { _printk + 0x16 } RTS

 

   2 Target : <0x001104b2> { _printk + 0x12 }

 

     Source : <0x001102f0> { _vprintk + 0x140 } RTS

 

   3 Target : <0x001102e4> { _vprintk + 0x134 }

 

     Source : <0xffa00cc8> { __common_int_entry + 0xcc } RTI

 

   4 Target : <0xffa00c66> { __common_int_entry + 0x6a }

 

     Source : <0xffa00ab0> { _return_from_int + 0x58 } RTS

 

   5 Target : <0xffa00ab0> { _return_from_int + 0x58 }

 

     Source : <0xffa00a86> { _return_from_int + 0x2e } IF !CC JUMP pcrel

 

   6 Target : <0xffa00a58> { _return_from_int + 0x0 }

 

     Source : <0xffa00c62> { __common_int_entry + 0x66 } JUMP.L

 

   7 Target : <0xffa00c60> { __common_int_entry + 0x64 }

 

     Source : <0xffa0035e> { _asm_do_IRQ + 0x3e } RTS

 

   8 Target : <0xffa00356> { _asm_do_IRQ + 0x36 }

 

     Source : <0x00113c62> { __local_bh_enable + 0x3a } RTS

 

   9 Target : <0x00113c28> { __local_bh_enable + 0x0 }

 

     Source : <0x00113f7e> { ___do_softirq + 0xb2 } JUMP.L

 

  10 Target : <0x00113f76> { ___do_softirq + 0xaa }

 

     Source : <0x00113f6a> { ___do_softirq + 0x9e } IF CC JUMP pcrel

 

  11 Target : <0x00113f56> { ___do_softirq + 0x8a }

 

     Source : <0x00130228> { _rcu_bh_qs + 0x14 } RTS

 

  12 Target : <0x00130214> { _rcu_bh_qs + 0x0 }

 

     Source : <0x00113f52> { ___do_softirq + 0x86 } CALL pcrel

 

  13 Target : <0x00113f48> { ___do_softirq + 0x7c }

 

     Source : <0x001d5a26> { _net_rx_action + 0x7e } RTS

 

  14 Target : <0x001d5a08> { _net_rx_action + 0x60 }

 

     Source : <0x001d5a32> { _net_rx_action + 0x8a } JUMP.S

 

  15 Target : <0x001d5a30> { _net_rx_action + 0x88 }

 

     Source : <0x001b6376> { _smsc911x_poll + 0x1b2 } RTS

 

Stack info:

 

SP: [0x02f35c94] <0x02f35c94> /* kernel dynamic memory */

 

Memory from 0x02f35c90 to 02f36000

 

02f35c90: 00000000 [00135dbc] 00135ed0  020680c0  00000000  000000d0  020682a0

 

0000000c

 

02f35cb0: 000000d0  00000001  00000040  002ae468  00000000  002aee98  00000000

 

000200d0

 

02f35cd0: 00000000  002ae468  00000040  020680c0  0000000a  0000000a  00000000

 

00000000

 

02f35cf0: 00000000  002ae468  0371db64  0013e55c  0028dc28  008c7000  0371e9c0

 

0000000c

 

02f35d10: 0371db64  00000000  00000077  0014035a  020035c0  00000000  00000000

 

000080d0

 

02f35d30: 0371db64  00000002  0013e918  0028dc28  00000000  008c7000  00000007

 

0371db64

 

02f35d50: 00000000  00000077  00000004  020680c0  008c7000  00000004  00000002

 

00000000

 

02f35d70: 02f35d7c  0371db64  0371e9c0  00000004  0044d5f0  0016b458  00375c80

 

00102250

 

02f35d90: 0000110c  02f34000  00477ed0  00000001  00031464  00000001  002aee98

 

002ae468

 

02f35db0: 00000007  00000002  00000000  00000000  00000000  00000000  00000000

 

00000000

 

02f35dd0: 00000001  008c65d0  00000000  00000000  0044e6fc  00000000  00000000

 

0044e6fc

 

02f35df0: 0000c519  00000004  00375c80  008c7000  00000000  00000000  00000000

 

00000000

 

02f35e10: 02f35e6c  0016bdb8  002a1418  03712400  002a1064  fffffff8  00000000

 

02f35f24

 

02f35e30: 02f35f24  03712400  02f35e48  00000000  02f35e68  02f35e64  00000000

 

00000000

 

02f35e50: 00000000  00000000  00000000  00000000  00000000  00000000  0000110c

 

037cad3c

 

02f35e70:<001464fa> 002a1418  03712400  002a1064  fffffff8  00000000  02f35f24

 

00000000

 

02f35e90: 0001f000  02f35f24  037cad3c  00147384  03712400  02f02644  02f02b6c

 

00000000

 

02f35eb0: 02f19000  00000001  02f34000  0014a5e8  0028e0d0  02f19000  00000000

 

001005c2

 

02f35ed0: 00100594  0000000b  02f02b6c  02f19000  02f02b6c  02f02644  02f0eff8

 

00000000

 

02f35ef0: 00384007  00000000  02f35f24 <ffa00912> 00000000  ffffe000  02f0efef

 

02f0efef

 

02f35f10: 03741c60  00298680  c0000000  02f0eff8  02f0efef  03781652  00008000

 

00002000

 

02f35f30: 00000000  02f36000  03781652  03781652  037938d6  ffa0102c  02000000

 

03791ad5

 

02f35f50: 0378bee1  03791ace  0378bede  00000000  00000000  00000000  00000000

 

00000000

 

02f35f70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

 

00000000

 

02f35f90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

 

02f02b6c

 

02f35fb0: 037cafdb  037cad30  037cad3c  037cafe3  02f02bac  02f02b6c  037c4bc0

 

02f0eff8

 

02f35fd0: 0000000b  00000009  037c4bc0  02f0efef  02f0eff8  c0000000  02f02644

 

02f02b6c

 

02f35ff0: 02f0efef  02f0efef  0000000b  00000006

 

Return addresses in stack:

 

    address : <0x001464fa> { _search_binary_handler + 0x62 }

 

    address : <0xffa00912> { _system_call + 0x6a }

 

Mem-Info:

 

DMA per-cpu:

 

CPU    0: hi:    0, btch:   1 usd:   0

 

active_anon:0 inactive_anon:0 isolated_anon:0

 

active_file:0 inactive_file:0 isolated_file:0

 

unevictable:3434 dirty:0 writeback:0 unstable:0

 

free:9899 slab_reclaimable:383 slab_unreclaimable:174

 

mapped:0 shmem:0 pagetables:0 bounce:0

 

DMA free:39596kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon

 

:0kB active_file:0kB inactive_file:0kB unevictable:13736kB isolated(anon):0kB is

 

olated(file):0kB present:60960kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB

 

shmem:0kB slab_reclaimable:1532kB slab_unreclaimable:696kB kernel_stack:176kB pa

 

getables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unrec

 

laimable? no

 

lowmem_reserve[]: 0 0 0

 

DMA: 17*4kB 9*8kB 6*16kB 4*32kB 3*64kB 3*128kB 1*256kB 3*512kB 4*1024kB 2*2048kB

 

5*4096kB 1*8192kB 0*16384kB 0*32768kB = 39596kB

 

3435 total pagecache pages

 

15360 pages RAM

 

832 pages reserved

 

3331 pages shared

 

1276 pages non-shared

 

Allocation of length 9203712 from process 263 (ffmpeg) failed

 

DMA per-cpu:

 

CPU    0: hi:    0, btch:   1 usd:   0

 

active_anon:0 inactive_anon:0 isolated_anon:0

 

active_file:0 inactive_file:0 isolated_file:0

 

unevictable:3434 dirty:0 writeback:0 unstable:0

 

free:9899 slab_reclaimable:383 slab_unreclaimable:174

 

mapped:0 shmem:0 pagetables:0 bounce:0

 

DMA free:39596kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon

 

:0kB active_file:0kB inactive_file:0kB unevictable:13736kB isolated(anon):0kB is

 

olated(file):0kB present:60960kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB

 

shmem:0kB slab_reclaimable:1532kB slab_unreclaimable:696kB kernel_stack:176kB pa

 

getables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unrec

 

laimable? no

 

lowmem_reserve[]: 0 0 0

 

DMA: 17*4kB 9*8kB 6*16kB 4*32kB 3*64kB 3*128kB 1*256kB 3*512kB 4*1024kB 2*2048kB

 

5*4096kB 1*8192kB 0*16384kB 0*32768kB = 39596kB

 

3435 total pagecache pages

 

Unable to allocate RAM for process text/data, errno 12

 

sh: can't execute 'ffmpeg': No such file or directory

QuoteReplyEditDelete

 

 

2010-11-30 01:53:18     Re: How to enable "Allow allocating large blocks"

Sonic Zhang (CHINA)

Message: 96307   

 

Add more SDRAM or change the software to avoid allocate 16M byte continous memory.

QuoteReplyEditDelete

Attachments

    Outcomes