FAQ: [#6674] On bf548-ezkit, qt test in flat format fail at page allocation(2011)

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

[#6674] On bf548-ezkit, qt test in flat format fail at page allocation

Submitted By: Vivi Li

Open Date

2011-07-01 04:22:27    

Priority:

Low     Assignee:

Bob Liu

Status:

Open     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2010_Dec_06

App binary format:

N/A     

Summary: On bf548-ezkit, qt test in flat format fail at page allocation

Details:

 

On bf548-ezkit, atapi and qt test will some times fail at page allocation.

 

--

time dd conv=fsync if=/dev/zero of=/mnt/hd1/test.bin bs=4M count=25

dd: page allocation failure. order:11, mode:0xd0

Hardware Trace:

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

     Source : <0x0003ca0c> { ___alloc_pages_nodemask + 0x480 } JUMP.L

   1 Target : <0x0003ca0c> { ___alloc_pages_nodemask + 0x480 }

     Source : <0x001ac8b8> { _printk + 0x14 } RTS

   2 Target : <0x001ac8b4> { _printk + 0x10 }

     Source : <0x00012b98> { _vprintk + 0x164 } RTS

   3 Target : <0x00012b8c> { _vprintk + 0x158 }

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

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

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

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

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

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

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

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

     Source : <0x00004880> { _asm_do_IRQ + 0x60 } RTS

   8 Target : <0x00004878> { _asm_do_IRQ + 0x58 }

     Source : <0x0001613c> { ___local_bh_enable + 0x38 } RTS

   9 Target : <0x00016104> { ___local_bh_enable + 0x0 }

     Source : <0x000167f2> { ___do_softirq + 0xc6 } JUMP.L

  10 Target : <0x000167e6> { ___do_softirq + 0xba }

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

  11 Target : <0x000167b4> { ___do_softirq + 0x88 }

     Source : <0x00036a98> { _rcu_bh_qs + 0x18 } RTS

  12 Target : <0x00036a90> { _rcu_bh_qs + 0x10 }

     Source : <0x00036828> { _rcu_qsctr_help + 0x50 } RTS

  13 Target : <0x00036812> { _rcu_qsctr_help + 0x3a }

     Source : <0x000367e4> { _rcu_qsctr_help + 0xc } IF CC JUMP pcrel

  14 Target : <0x000367d8> { _rcu_qsctr_help + 0x0 }

     Source : <0x00036a8c> { _rcu_bh_qs + 0xc } JUMP.L

  15 Target : <0x00036a80> { _rcu_bh_qs + 0x0 }

     Source : <0x000167b0> { ___do_softirq + 0x84 } CALL pcrel

Stack info:

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

FP: (0x0377beec)

Memory from 0x0377bdd0 to 0377c000

0377bdd0: 000000d0  0377bddc  00000000 [00000000] 0003ca10  00000000  00000001  000200d0

0377bdf0: 02c2df00  0000000b  000000d0  00000001  00000042  0026bd14  00000000  0377a008

0377be10: 0377a000  0377a008  0377a000  00000040  0377a000  01051720  00000010  000200d0

0377be30: 00000800  00000000  00000000  00000040  00000000  00000000  00000040  00000000

0377be50: 0026bd14  00000000  00000000  0026bd14  0026bd14  00000000  00046838  00000000

0377be70: 029df798  029defb0  0000000b  00000073  00000000  00000004  00000000  0000000b

0377be90: 02c27a7c  00000000  00000000  00000000  00000401  00401000  00000401  0176ef30

0377beb0: 00000000  008eed90  00046f48  00000000  00401000  008e5788  0377a000  00000000

0377bed0: 04000021  00000003  00000001  008eee40  00401000  00000003  04000021 (00000000)

0377bef0:<00009d72> 00046f04  000000c0  00000000  ffffe000  00000000  00000000  01e86ff7

0377bf10: 02c2d96c  00256588  04000021  00000000  00000000  00895040  00008000  00002000

0377bf30: 00000000  0377c000  00895040  00895040  0089258a  0000a48c  02001025  02a9243f

0377bf50: 0088ceaf  02a92434  0088ce9c  00000000  ffffffff  00000000  00000000  00000000

0377bf70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0377bf90: 00000000  00000000  00000000  00000000  00000004  00000000  0176edfc  017644a0

0377bfb0: 008eef58  008eed84  008eed90  008eefa8  008eef58  008e5788  00000000  008e0172

0377bfd0: 000000c0  00401000  008e0128  00000000  00000000  04000021  00000003  00401000

0377bff0: 00000000  00000000  000000c0  00000006

Return addresses in stack:

   frame  1 : <0x00009d72> { _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:9 isolated_file:0

unevictable:2027 dirty:4 writeback:0 unstable:0

free:11581 slab_reclaimable:410 slab_unreclaimable:278

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

DMA free:46324kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:36kB unevictable:8108kB isolated(anon):0kB isolated(file):0kB present:62992kB mlocked:0kB dirty:16kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:1640kB slab_unreclaimable:1112kB kernel_stack:304kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:279 all_unreclaimable? yes

lowmem_reserve[]: 0 0 0

DMA: 63*4kB 41*8kB 37*16kB 37*32kB 31*64kB 28*128kB 28*256kB 15*512kB 13*1024kB 3*2048kB 1*4096kB 0*8192kB 0*16384kB 0*32768kB = 46324kB

2036 total pagecache pages

15872 pages RAM

776 pages reserved

9 pages shared

3468 pages non-shared

Allocation of length 4198400 from process 335 (dd) 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:9 isolated_file:0

unevictable:2027 dirty:4 writeback:0 unstable:0

free:11581 slab_reclaimable:410 slab_unreclaimable:278

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

DMA free:46324kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:36kB unevictable:8108kB isolated(anon):0kB isolated(file):0kB present:62992kB mlocked:0kB dirty:16kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:1640kB slab_unreclaimable:1112kB kernel_stack:304kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:279 all_unreclaimable? yes

lowmem_reserve[]: 0 0 0

DMA: 63*4kB 41*8kB 37*16kB 37*32kB 31*64kB 28*128kB 28*256kB 15*512kB 13*1024kB 3*2048kB 1*4096kB 0*8192kB 0*16384kB 0*32768kB = 46324kB

2036 total pagecache pages

dd: memory exhausted

Command exited with non-zero status 1

real    0m 0.60s

user    0m 0.00s

sys     0m 0.02s

root:/>

--

 

Follow-ups

 

--- Bob Liu                                                  2011-07-15 05:43:37

using  "time dd conv=fsync if=/dev/zero of=/mnt/hd1/test.bin bs=1M

count=100" instead.

 

--- Vivi Li                                                  2011-11-03 03:00:17

Now "count=100" doesn't work, I change to "count=10" and it

can work.

But qt test still fails in flat format when run "qt_sample -qws".

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.linux.atapi_hd    application/octet-stream    43137    Vivi Li

Attachments

Outcomes