Comment 202 for bug 414560

Revision history for this message
Tomi Hukkalainen (tpievila) wrote : Re: ath9k disassociates/reassociates a lot

Tried the workaround, but connection was unstable when moving lots of data. Also started getting these kinds of messages in dmesg:

[937173.268949] kworker/0:1: page allocation failure. order:1, mode:0x4020
[937173.268956] Pid: 2064, comm: kworker/0:1 Not tainted 2.6.38-8-generic #42-Ubuntu
[937173.268958] Call Trace:
[937173.268961] <IRQ> [<ffffffff811147c4>] ? __alloc_pages_nodemask+0x604/0x840
[937173.268976] [<ffffffff81149f45>] ? alloc_pages_current+0xa5/0x110
[937173.268981] [<ffffffff81153722>] ? new_slab+0x282/0x290
[937173.268984] [<ffffffff811551e2>] ? __slab_alloc+0x262/0x390
[937173.268996] [<ffffffffa0217099>] ? ath_rxbuf_alloc+0x39/0xc0 [ath]
[937173.269000] [<ffffffff811584eb>] ? __kmalloc_node_track_caller+0x9b/0x1a0
[937173.269005] [<ffffffffa0217099>] ? ath_rxbuf_alloc+0x39/0xc0 [ath]
[937173.269011] [<ffffffff814c5473>] ? __alloc_skb+0x83/0x170
[937173.269015] [<ffffffffa0217099>] ? ath_rxbuf_alloc+0x39/0xc0 [ath]
[937173.269023] [<ffffffffa0304a82>] ? ath_rx_tasklet+0x462/0x850 [ath9k]
[937173.269029] [<ffffffff81012c40>] ? nommu_map_page+0x0/0x90
[937173.269034] [<ffffffffa02fde15>] ? ath9k_ioread32+0x35/0x90 [ath9k]
[937173.269039] [<ffffffffa0301406>] ? ath9k_tasklet+0x96/0x190 [ath9k]
[937173.269044] [<ffffffff8106cc43>] ? tasklet_action+0x73/0x120
[937173.269047] [<ffffffff8106d538>] ? __do_softirq+0xa8/0x1c0
[937173.269052] [<ffffffff81030518>] ? ack_apic_level+0x78/0x1a0
[937173.269057] [<ffffffff8110e725>] ? mempool_alloc_slab+0x15/0x20
[937173.269061] [<ffffffff8100cf1c>] ? call_softirq+0x1c/0x30
[937173.269064] [<ffffffff8100ea45>] ? do_softirq+0x65/0xa0
[937173.269067] [<ffffffff8106d755>] ? irq_exit+0x85/0x90
[937173.269073] [<ffffffff815caec6>] ? do_IRQ+0x66/0xe0
[937173.269077] [<ffffffff815c3213>] ? ret_from_intr+0x0/0x15
[937173.269079] <EOI> [<ffffffff81155a65>] ? kmem_cache_alloc+0x75/0x120
[937173.269086] [<ffffffff8110e725>] ? mempool_alloc_slab+0x15/0x20
[937173.269089] [<ffffffff8110ea69>] ? mempool_alloc+0x59/0x140
[937173.269094] [<ffffffff812c1148>] ? generic_make_request+0x2d8/0x5c0
[937173.269099] [<ffffffff811976de>] ? bio_alloc_bioset+0x3e/0xf0
[937173.269104] [<ffffffffa0371d74>] ? crypt_alloc_buffer+0x44/0x170 [dm_crypt]
[937173.269109] [<ffffffffa03723e0>] ? kcryptd_crypt+0x0/0x40 [dm_crypt]
[937173.269113] [<ffffffffa0372241>] ? kcryptd_crypt_write_convert+0xd1/0x270 [dm_crypt]
[937173.269117] [<ffffffffa03723e0>] ? kcryptd_crypt+0x0/0x40 [dm_crypt]
[937173.269121] [<ffffffffa03723ff>] ? kcryptd_crypt+0x1f/0x40 [dm_crypt]
[937173.269126] [<ffffffff8108269d>] ? process_one_work+0x11d/0x420
[937173.269130] [<ffffffff81083298>] ? worker_thread+0x168/0x360
[937173.269133] [<ffffffff81083130>] ? worker_thread+0x0/0x360
[937173.269137] [<ffffffff810877e6>] ? kthread+0x96/0xa0
[937173.269140] [<ffffffff8100ce24>] ? kernel_thread_helper+0x4/0x10
[937173.269144] [<ffffffff81087750>] ? kthread+0x0/0xa0
[937173.269147] [<ffffffff8100ce20>] ? kernel_thread_helper+0x0/0x10
[937173.269149] Mem-Info:
[937173.269151] Node 0 DMA per-cpu:
[937173.269154] CPU 0: hi: 0, btch: 1 usd: 0
[937173.269157] CPU 1: hi: 0, btch: 1 usd: 0
[937173.269159] Node 0 DMA32 per-cpu:
[937173.269162] CPU 0: hi: 186, btch: 31 usd: 182
[937173.269164] CPU 1: hi: 186, btch: 31 usd: 179
[937173.269169] active_anon:290353 inactive_anon:97045 isolated_anon:35
[937173.269171] active_file:11073 inactive_file:10739 isolated_file:0
[937173.269172] unevictable:0 dirty:10 writeback:20634 unstable:0
[937173.269173] free:25046 slab_reclaimable:10342 slab_unreclaimable:15340
[937173.269174] mapped:10887 shmem:79398 pagetables:12289 bounce:0
[937173.269176] Node 0 DMA free:7916kB min:40kB low:48kB high:60kB active_anon:1216kB inactive_anon:1416kB active_file:3100kB inactive_file:1648kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15684kB mlocked:0kB dirty:0kB writeback:0kB mapped:564kB shmem:2404kB slab_reclaimable:364kB slab_unreclaimable:228kB kernel_stack:0kB pagetables:8kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:237 all_unreclaimable? no
[937173.269187] lowmem_reserve[]: 0 1973 1973 1973
[937173.269191] Node 0 DMA32 free:92268kB min:5664kB low:7080kB high:8496kB active_anon:1160196kB inactive_anon:386764kB active_file:41192kB inactive_file:41308kB unevictable:0kB isolated(anon):140kB isolated(file):0kB present:2020976kB mlocked:0kB dirty:40kB writeback:82536kB mapped:42984kB shmem:315188kB slab_reclaimable:41004kB slab_unreclaimable:61132kB kernel_stack:4360kB pagetables:49148kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[937173.269202] lowmem_reserve[]: 0 0 0 0
[937173.269206] Node 0 DMA: 41*4kB 159*8kB 57*16kB 20*32kB 5*64kB 4*128kB 4*256kB 2*512kB 0*1024kB 1*2048kB 0*4096kB = 7916kB
[937173.269217] Node 0 DMA32: 22911*4kB 0*8kB 1*16kB 1*32kB 0*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 92332kB
[937173.269228] 130868 total pagecache pages
[937173.269230] 29666 pages in swap cache
[937173.269232] Swap cache stats: add 623334, delete 593668, find 218798/255549
[937173.269234] Free swap = 5692120kB
[937173.269236] Total swap = 6291452kB
[937173.270011] 516328 pages RAM
[937173.270011] 10049 pages reserved
[937173.270011] 174125 pages shared
[937173.270011] 425995 pages non-shared
[937173.270011] SLUB: Unable to allocate memory on node -1 (gfp=0x20)
[937173.270011] cache: kmalloc-8192, object size: 8192, buffer size: 8192, default order: 3, min order: 1
[937173.270011] node 0: slabs: 151, objs: 595, free: 0
[937173.278212] skbuff alloc of size 3904 failed