← Back to team overview

tiomap-dev team mailing list archive

[Bug 690370] Re: Strange out of memory on pandaboard

 

2.6.38-1207 (mem=463M@0x80000000 mem=512M@0xA0000000 = 943MB for system)
during build of kernel:

[ 2945.114135] cc1: page allocation failure. order:3, mode:0x4020
[ 2945.114196] [<c005a420>] (unwind_backtrace+0x0/0xe0) from [<c0107e98>] (__alloc_pages_nodemask+0x5a0/0x6b4)
[ 2945.114227] [<c0107e98>] (__alloc_pages_nodemask+0x5a0/0x6b4) from [<c0107fbc>] (__get_free_pages+0x10/0x24)
[ 2945.114257] [<c0107fbc>] (__get_free_pages+0x10/0x24) from [<c012f494>] (kmalloc_order_trace+0x20/0xc8)
[ 2945.114288] [<c012f494>] (kmalloc_order_trace+0x20/0xc8) from [<c04882fc>] (__alloc_skb+0x50/0xe0)
[ 2945.114318] [<c04882fc>] (__alloc_skb+0x50/0xe0) from [<c038b2ec>] (rx_submit+0x24/0x1cc)
[ 2945.114349] [<c038b2ec>] (rx_submit+0x24/0x1cc) from [<c0395524>] (usb_hcd_giveback_urb+0xa0/0xec)
[ 2945.114379] [<c0395524>] (usb_hcd_giveback_urb+0xa0/0xec) from [<c03a1650>] (ehci_urb_done+0xa8/0xb4)
[ 2945.114410] [<c03a1650>] (ehci_urb_done+0xa8/0xb4) from [<c03a5488>] (qh_completions+0xb4/0x3d8)
[ 2945.114440] [<c03a5488>] (qh_completions+0xb4/0x3d8) from [<c03a5d94>] (scan_async+0x90/0x144)
[ 2945.114440] [<c03a5d94>] (scan_async+0x90/0x144) from [<c03a6504>] (ehci_work+0x30/0x88)
[ 2945.114471] [<c03a6504>] (ehci_work+0x30/0x88) from [<c03a83f0>] (ehci_irq+0x2f4/0x35c)
[ 2945.114471] [<c03a83f0>] (ehci_irq+0x2f4/0x35c) from [<c0394e90>] (usb_hcd_irq+0x38/0x7c)
[ 2945.114501] [<c0394e90>] (usb_hcd_irq+0x38/0x7c) from [<c00d89b4>] (handle_IRQ_event+0x9c/0x1b4)
[ 2945.114532] [<c00d89b4>] (handle_IRQ_event+0x9c/0x1b4) from [<c00da5dc>] (handle_level_irq+0xdc/0x160)
[ 2945.114562] [<c00da5dc>] (handle_level_irq+0xdc/0x160) from [<c004e088>] (asm_do_IRQ+0x88/0xc8)
[ 2945.114593] [<c004e088>] (asm_do_IRQ+0x88/0xc8) from [<c05bb128>] (__irq_usr+0x48/0x120)
[ 2945.114593] Exception stack(0xee37ffb0 to 0xee37fff8)
[ 2945.114593] ffa0:                                     00000001 00000019 00000000 00000000
[ 2945.114624] ffc0: 00000001 007cee74 42e3db80 00788550 00000001 00000000 00788550 42e3db80
[ 2945.114624] ffe0: 00000074 bed13ff0 000fd831 000fbbee 800f0030 ffffffff
[ 2945.114654] Mem-info:
[ 2945.114654] Normal per-cpu:
[ 2945.114654] CPU    0: hi:  186, btch:  31 usd: 156
[ 2945.114654] CPU    1: hi:  186, btch:  31 usd:  38
[ 2945.114654] HighMem per-cpu:
[ 2945.114685] CPU    0: hi:   90, btch:  15 usd:  54
[ 2945.114685] CPU    1: hi:   90, btch:  15 usd:   3
[ 2945.114685] active_anon:152413 inactive_anon:156 isolated_anon:0
[ 2945.114715]  active_file:26523 inactive_file:34377 isolated_file:0
[ 2945.114715]  unevictable:0 dirty:37 writeback:0 unstable:0
[ 2945.114715]  free:4833 slab_reclaimable:6423 slab_unreclaimable:1905
[ 2945.114715]  mapped:3752 shmem:352 pagetables:1798 bounce:0
[ 2945.114746] Normal free:18596kB min:3416kB low:4268kB high:5124kB active_anon:414312kB inactive_anon:0kB active_file:92764kB inactive_file:119716kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:730112kB mlocked:0kB dirty:136kB writeback:0kB mapped:8456kB shmem:8kB slab_reclaimable:25692kB slab_unreclaimable:7620kB kernel_stack:2688kB pagetables:7192kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[ 2945.114776] lowmem_reserve[]: 0 1776 1776
[ 2945.114807] HighMem free:736kB min:220kB low:484kB high:748kB active_anon:195340kB inactive_anon:624kB active_file:13328kB inactive_file:17792kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:227328kB mlocked:0kB dirty:12kB writeback:0kB mapped:6552kB shmem:1400kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[ 2945.114807] lowmem_reserve[]: 0 0 0
[ 2945.114837] Normal: 1045*4kB 856*8kB 461*16kB 0*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 18596kB
[ 2945.114868] HighMem: 70*4kB 7*8kB 11*16kB 3*32kB 0*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 736kB
[ 2945.114898] 61263 total pagecache pages
[ 2945.114898] 0 pages in swap cache
[ 2945.114898] Swap cache stats: add 0, delete 0, find 0/0
[ 2945.114898] Free swap  = 0kB
[ 2945.114929] Total swap = 0kB
[ 2945.189025] 249600 pages of RAM
[ 2945.189056] 6316 free pages
[ 2945.189056] 16522 reserved pages
[ 2945.189056] 5008 slab pages
[ 2945.189056] 117094 pages shared
[ 2945.189056] 0 pages swap cached

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is a direct subscriber.
https://bugs.launchpad.net/bugs/690370

Title:
  Strange out of memory on pandaboard

Status in “linux-ti-omap4” package in Ubuntu:
  New

Bug description:
  A GCC trunk bootstrap fails with:

  gcc   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/gengtype \
  	    build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o build/gengtype-state.o build/version.o ../build-armv7l-unknown-linux-gnueabi/libiberty/libiberty.a
  /bin/bash ../../trunk/gcc/../move-if-change tmp-gi.list gtyp-input.list
  echo timestamp > s-gtyp-input
  build/gengtype  \
                      -S ../../trunk/gcc -I gtyp-input.list -w gtype.state
  build/gengtype  \
                      -r gtype.state

  out of memory allocating 4072 bytes after a total of 199240912 bytes
  make[3]: *** [s-gtype] Error 1
  make[3]: Leaving directory `/home/guerby/build/gcc'
  make[2]: *** [all-stage1-gcc] Error 2
  make[2]: Leaving directory `/home/guerby/build'
  make[1]: *** [stage1-bubble] Error 2
  make[1]: Leaving directory `/home/guerby/build'
  make: *** [bootstrap] Error 2

  real	8m9.482s
  user	4m0.680s
  sys	1m37.547s

  Looking at top at the time of failure:

  Mem:    681844k total,   368152k used,   313692k free,     6076k buffers
  Swap:        0k total,        0k used,        0k free,   240456k cached

  /home is mounted over NFS, swap is commented out, make bootstrap after
  a clean boot, /etc/rc.local has:

  sysctl -w vm.overcommit_memory=2
  echo 0 > /proc/sys/kernel/randomize_va_space

  In a different situation, with mem=768M in a previous test I got various issues reported in /var/log/messages
  copy here: wget http://guerby.org/ftp/messages-pandaboard

  rsalveti asked me to open a report.