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

Bug 352628

Summary: sys-kernel/gentoo-sources-2.6.37 kernel dump for xt_recent operation
Product: Gentoo Linux Reporter: andcycle-gentoo
Component: [OLD] UnspecifiedAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description andcycle-gentoo 2011-01-24 19:39:09 UTC
I am not actually know how to write a correct bug report for kernel,
here is what I found with xt_recent

Reproducible: Always

Steps to Reproduce:
1. modprobe xt_recent ip_list_tot=32767 ip_pkt_list_tot=2
2. insert some table rule with xt_recent rcheck/update with multiple xt_recent name
3. do "echo +" alot ip address into " >/proc/net/xt_recent/blabla"
4. batch those ip just addded with "echo -" to remove them, interleave with iptables delete
5. get some kernel dump, system is still working

Actual Results:  
here is the dmesg

[586875.760695] Pid: 31454, comm: iptables Not tainted 2.6.37-gentoo #2
[586875.760697] Call Trace:
[586875.760707]  [<ffffffff81097ee7>] ? __alloc_pages_nodemask+0x697/0x7d0
[586875.760716]  [<ffffffff81098032>] ? __get_free_pages+0x12/0x60
[586875.760720]  [<ffffffffa003bf6d>] ? recent_mt_check+0x14d/0x2a0 [xt_recent]
[586875.760740]  [<ffffffffa01920d2>] ? xt_check_match+0xb2/0x1f0 [x_tables]
[586875.760743]  [<ffffffff8109795f>] ? __alloc_pages_nodemask+0x10f/0x7d0
[586875.760745]  [<ffffffff81091358>] ? find_get_page+0x18/0x90
[586875.760749]  [<ffffffff81515069>] ? mutex_lock_interruptible+0x9/0x40
[586875.760754]  [<ffffffffa01916ae>] ? xt_find_match+0xae/0xf0 [x_tables]
[586875.760758]  [<ffffffffa019cc32>] ? translate_table+0x462/0x630 [ip_tables]
[586875.760762]  [<ffffffffa019e74d>] ? do_ipt_set_ctl+0x11d/0x190 [ip_tables]
[586875.760767]  [<ffffffff814a778b>] ? nf_sockopt+0x5b/0xb0
[586875.760769]  [<ffffffff814a781a>] ? nf_setsockopt+0x1a/0x20
[586875.760772]  [<ffffffff814b48a1>] ? ip_setsockopt+0x81/0xa0
[586875.760775]  [<ffffffff8147114d>] ? sys_setsockopt+0x6d/0xd0
[586875.760778]  [<ffffffff81002d3b>] ? system_call_fastpath+0x16/0x1b
[586875.760783] Mem-Info:
[586875.760784] DMA per-cpu:
[586875.760786] CPU    0: hi:    0, btch:   1 usd:   0
[586875.760788] CPU    1: hi:    0, btch:   1 usd:   0
[586875.760789] DMA32 per-cpu:
[586875.760790] CPU    0: hi:  186, btch:  31 usd:   0
[586875.760792] CPU    1: hi:  186, btch:  31 usd:   0
[586875.760793] Normal per-cpu:
[586875.760794] CPU    0: hi:  186, btch:  31 usd:   0
[586875.760796] CPU    1: hi:  186, btch:  31 usd:   0
[586875.760800] active_anon:801606 inactive_anon:364742 isolated_anon:18
[586875.760800]  active_file:158953 inactive_file:455739 isolated_file:44
[586875.760801]  unevictable:29 dirty:33707 writeback:17352 unstable:0
[586875.760802]  free:177260 slab_reclaimable:37668 slab_unreclaimable:9357
[586875.760803]  mapped:265626 shmem:810142 pagetables:6169 bounce:0
[586875.760808] DMA free:15884kB min:20kB low:24kB high:28kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15692kB 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
[586875.760811] lowmem_reserve[]: 0 3254 8052 8052
[586875.760818] DMA32 free:97496kB min:4636kB low:5792kB high:6952kB active_anon:1458952kB inactive_anon:1022024kB active_file:52432kB inactive_file:449084kB unevictable:0kB isolated(anon):72kB isolated(file):0kB present:3333024kB mlocked:0kB dirty:27896kB writeback:7380kB mapped:218304kB shmem:2336292kB slab_reclaimable:65224kB slab_unreclaimable:5004kB kernel_stack:304kB pagetables:4508kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[586875.760822] lowmem_reserve[]: 0 0 4797 4797
[586875.760828] Normal free:595660kB min:6836kB low:8544kB high:10252kB active_anon:1747472kB inactive_anon:436944kB active_file:583380kB inactive_file:1373872kB unevictable:116kB isolated(anon):0kB isolated(file):176kB present:4912640kB mlocked:0kB dirty:106932kB writeback:62028kB mapped:844200kB shmem:904276kB slab_reclaimable:85448kB slab_unreclaimable:32424kB kernel_stack:3728kB pagetables:20168kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[586875.760832] lowmem_reserve[]: 0 0 0 0
[586875.760834] DMA: 1*4kB 1*8kB 0*16kB 0*32kB 2*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 3*4096kB = 15884kB
[586875.760841] DMA32: 5670*4kB 2000*8kB 1272*16kB 574*32kB 180*64kB 33*128kB 7*256kB 3*512kB 1*1024kB 0*2048kB 0*4096kB = 97496kB
[586875.760848] Normal: 28547*4kB 22909*8kB 11106*16kB 2703*32kB 332*64kB 46*128kB 23*256kB 2*512kB 0*1024kB 0*2048kB 0*4096kB = 595700kB
[586875.760855] 1457816 total pagecache pages
[586875.760856] 32917 pages in swap cache
[586875.760857] Swap cache stats: add 359465, delete 326548, find 9852108/9881670
[586875.760859] Free swap  = 33351428kB
[586875.760860] Total swap = 33554428kB
[586875.787136] 2097136 pages RAM
[586875.787138] 51356 pages reserved
[586875.787139] 1687740 pages shared
[586875.787140] 484551 pages non-shared
[586876.939682] iptables: page allocation failure. order:8, mode:0xc0d0
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-25 02:09:57 UTC
*** Bug 352629 has been marked as a duplicate of this bug. ***
Comment 2 Mike Pagano gentoo-dev 2011-03-17 10:57:38 UTC
Can you test with gentoo-sources-2.6.38 please?