Skip to content

Instantly share code, notes, and snippets.

@Yi-Tseng
Created May 22, 2015 06:44
Show Gist options
  • Select an option

  • Save Yi-Tseng/2810dcaf918e1ff511d4 to your computer and use it in GitHub Desktop.

Select an option

Save Yi-Tseng/2810dcaf918e1ff511d4 to your computer and use it in GitHub Desktop.
[ 967.200000] ls: page allocation failure: order:6, mode:0xd0
[ 967.210000] CPU: 0 PID: 38 Comm: ls Not tainted 4.0.0-g21370f3-dirty #1
[ 967.220000] Hardware name: STM32 (Device Tree Support)
[ 967.230000] [<08022e3d>] (unwind_backtrace) from [<080221df>] (show_stack+0xb/0xc)
[ 967.240000] [<080221df>] (show_stack) from [<0805023f>] (warn_alloc_failed+0x97/0xbc)
[ 967.250000] [<0805023f>] (warn_alloc_failed) from [<080516e1>] (__alloc_pages_nodemask+0x2c1/0x3c4)
[ 967.260000] [<080516e1>] (__alloc_pages_nodemask) from [<080517ef>] (__get_free_pages+0xb/0x24)
[ 967.270000] [<080517ef>] (__get_free_pages) from [<0805182b>] (alloc_pages_exact+0x19/0x24)
[ 967.270000] [<0805182b>] (alloc_pages_exact) from [<0805ab0d>] (do_mmap_pgoff+0x42d/0x5d4)
[ 967.280000] [<0805ab0d>] (do_mmap_pgoff) from [<08057439>] (vm_mmap_pgoff+0x3f/0x4e)
[ 967.280000] [<08057439>] (vm_mmap_pgoff) from [<0807ffad>] (load_flat_file+0x20d/0x4f0)
[ 967.300000] [<0807ffad>] (load_flat_file) from [<0808045f>] (load_flat_binary+0x3f/0x254)
[ 967.310000] [<0808045f>] (load_flat_binary) from [<0806277d>] (search_binary_handler+0x4d/0xd8)
[ 967.320000] [<0806277d>] (search_binary_handler) from [<08062a71>] (do_execveat_common+0x269/0x354)
[ 967.330000] [<08062a71>] (do_execveat_common) from [<08062b75>] (do_execve+0x19/0x1c)
[ 967.340000] [<08062b75>] (do_execve) from [<08020a01>] (ret_fast_syscall+0x1/0x4a)
[ 967.350000] Mem-info:
[ 967.350000] Normal per-cpu:
[ 967.350000] CPU 0: hi: 0, btch: 1 usd: 0
[ 967.360000] active_anon:0 inactive_anon:0 isolated_anon:0
[ 967.360000] active_file:0 inactive_file:1 isolated_file:0
[ 967.360000] unevictable:257 dirty:0 writeback:0 unstable:0
[ 967.360000] free:138 slab_reclaimable:1260 slab_unreclaimable:138
[ 967.360000] mapped:0 shmem:0 pagetables:0 bounce:0
[ 967.360000] free_cma:0
[ 967.390000] Normal free:552kB min:352kB low:440kB high:528kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:4kB unevictable:1028kB isolated(anon):0kB isolated(file):0kB present:8192kB managed:7928kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:5040kB slab_unreclaimable:552kB kernel_stack:160kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:4 all_unreclaimable? no
[ 967.440000] lowmem_reserve[]: 0 0
[ 967.440000] Normal: 6*4kB (U) 4*8kB (U) 3*16kB (U) 2*32kB (U) 0*64kB 1*128kB (U) 1*256kB (U) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 552kB
[ 967.450000] 258 total pagecache pages
[ 967.460000] 2048 pages of RAM
[ 967.460000] 158 free pages
[ 967.460000] 66 reserved pages
[ 967.460000] 1035 slab pages
[ 967.460000] 0 pages shared
[ 967.470000] 0 pages swap cached
[ 967.480000] nommu: Allocation of length 258048 from process 38 (ls) failed
[ 967.480000] Normal per-cpu:
[ 967.480000] CPU 0: hi: 0, btch: 1 usd: 0
[ 967.490000] active_anon:0 inactive_anon:0 isolated_anon:0
[ 967.490000] active_file:0 inactive_file:1 isolated_file:0
[ 967.490000] unevictable:257 dirty:0 writeback:0 unstable:0
[ 967.490000] free:138 slab_reclaimable:1260 slab_unreclaimable:138
[ 967.490000] mapped:0 shmem:0 pagetables:0 bounce:0
[ 967.490000] free_cma:0
[ 967.530000] Normal free:552kB min:352kB low:440kB high:528kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:4kB unevictable:1028kB isolated(anon):0kB isolated(file):0kB present:8192kB managed:7928kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:5040kB slab_unreclaimable:552kB kernel_stack:160kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:4 all_unreclaimable? no
[ 967.570000] lowmem_reserve[]: 0 0
[ 967.570000] Normal: 6*4kB (U) 4*8kB (U) 3*16kB (U) 2*32kB (U) 0*64kB 1*128kB (U) 1*256kB (U) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 552kB
[ 967.580000] 258 total pagecache pages
[ 967.590000] Unable to allocate RAM for process text/data, errno 12
SEGV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment