Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 400725

Summary: sys-kernel/hardened-sources-3.2.1 vmalloc: allocation failure: 0 bytes
Product: Gentoo Linux Reporter: Marcin Mirosław <bug>
Component: [OLD] Core systemAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: hardened, kernel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dmesg

Description Marcin Mirosław 2012-01-25 10:58:07 UTC
Created attachment 299821 [details]
dmesg

This is xen domU, x86_64.
# cat /proc/swaps
Filename                                Type            Size    Used    Priority
/dev/sda5                               partition       1172708 0       -1

# free -m
             total       used       free     shared    buffers     cached
Mem:           493        173        320          0         10         55
-/+ buffers/cache:        106        386
Swap:         1145          0       1145

[    2.514775] vmalloc: allocation failure: 0 bytes
[    2.514777] modprobe: page allocation failure: order:0, mode:0x80d2
[    2.514780] Pid: 909, comm: modprobe Not tainted 3.2.1-hardened #2
[    2.514781] Call Trace:
[    2.514787]  [<ffffffff810976dd>] warn_alloc_failed+0xed/0x140
[    2.514791]  [<ffffffff81074ac9>] ? module_alloc_update_bounds_rw+0x19/0x80
[    2.514794]  [<ffffffff810c14e1>] __vmalloc_node_range+0x1d1/0x280
[    2.514797]  [<ffffffff81074ac9>] ? module_alloc_update_bounds_rw+0x19/0x80
[    2.514801]  [<ffffffff8101f349>] module_alloc+0x59/0x70
[    2.514803]  [<ffffffff81074ac9>] ? module_alloc_update_bounds_rw+0x19/0x80
[    2.514806]  [<ffffffff81074ac9>] module_alloc_update_bounds_rw+0x19/0x80
[    2.514808]  [<ffffffff8107591a>] load_module+0xdca/0x1c80
[    2.514811]  [<ffffffff811c067f>] ? gr_is_capable+0x2f/0x40
[    2.514815]  [<ffffffff810464cf>] ? ns_capable+0x5f/0x90
[    2.514819]  [<ffffffff813190f3>] ? retint_swapgs+0xc/0x12
[    2.514821]  [<ffffffff81076838>] sys_init_module+0x68/0x200
[    2.514824]  [<ffffffff813198bb>] system_call_fastpath+0x18/0x1d
[    2.514826] Mem-Info:
[    2.514827] Node 0 DMA per-cpu:
[    2.514829] CPU    0: hi:    0, btch:   1 usd:   0
[    2.514830] CPU    1: hi:    0, btch:   1 usd:   0
[    2.514831] Node 0 DMA32 per-cpu:
[    2.514833] CPU    0: hi:  186, btch:  31 usd:  62
[    2.514835] CPU    1: hi:  186, btch:  31 usd: 150
[    2.514838] active_anon:2524 inactive_anon:2 isolated_anon:0
[    2.514839]  active_file:861 inactive_file:1273 isolated_file:0
[    2.514839]  unevictable:0 dirty:0 writeback:0 unstable:0
[    2.514840]  free:116555 slab_reclaimable:672 slab_unreclaimable:1614
[    2.514841]  mapped:497 shmem:9 pagetables:833 bounce:0
[    2.514842] Node 0 DMA free:15924kB min:84kB low:104kB high:124kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isola
ted(anon):0kB isolated(file):0kB present:15668kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[    2.514849] lowmem_reserve[]: 0 488 488 488
[    2.514851] Node 0 DMA32 free:450296kB min:2784kB low:3480kB high:4176kB active_anon:10096kB inactive_anon:8kB active_file:3444kB inactive_file:5092kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:499968kB mlocked:0kB dirty:0kB writeback:0kB mapped:1988kB shmem:36kB slab_reclaimable:2688kB slab_unreclaimable:6456kB kernel_stack:984kB pagetables:3332kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[    2.514858] lowmem_reserve[]: 0 0 0 0
[    2.514861] Node 0 DMA: 1*4kB 0*8kB 1*16kB 1*32kB 2*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 3*4096kB = 15924kB
[    2.514867] Node 0 DMA32: 20*4kB 8*8kB 1*16kB 2*32kB 1*64kB 2*128kB 1*256kB 2*512kB 2*1024kB 2*2048kB 108*4096kB = 450336kB
[    2.514873] 2143 total pagecache pages
[    2.514874] 0 pages in swap cache
[    2.514875] Swap cache stats: add 0, delete 0, find 0/0
[    2.514876] Free swap  = 0kB
[    2.514877] Total swap = 0kB
[    2.516149] 131056 pages RAM
[    2.516150] 4646 pages reserved
[    2.516151] 15307 pages shared
[    2.516152] 8204 pages non-shared
Comment 1 Anthony Basile gentoo-dev 2012-02-04 01:54:42 UTC
This should be fixed in 3.2.2-r1 which I recently marked stable.  Can you please test.
Comment 2 Marcin Mirosław 2012-02-04 10:34:58 UTC
I'm using 3.2.2-r1 since a couple of days, works fine.
Thanks.