Re: 2.6.29-rc4-git1 -- iwl3945: Can not allocate SKB buffers

From: Miles Lane
Date: Mon Feb 09 2009 - 17:06:51 EST


On Mon, Feb 9, 2009 at 4:21 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> On Mon, 2009-02-09 at 16:12 -0500, Miles Lane wrote:
>> [12506.627936] iwl3945: Can not allocate SKB buffers
>
> So iwl3945 prints out that it's out of memory, but probably uses
> __GFP_NOWARN.
>
>> [12544.530789] java: page allocation failure. order:1, mode:0x4020
>> [12544.530798] Pid: 21292, comm: java Not tainted 2.6.29-rc4-git1 #2
>> [12544.530801] Call Trace:
>> [12544.530812] [<ffffffff8028f12d>] __alloc_pages_internal+0x423/0x442
>> [12544.530820] [<ffffffff804cbb4f>] ? pskb_expand_head+0x52/0x16f
>> [12544.530826] [<ffffffff802b13df>] alloc_slab_page+0x20/0x26
>> [12544.530830] [<ffffffff802b1624>] __slab_alloc+0x23f/0x527
>> [12544.530835] [<ffffffff804cbb4f>] ? pskb_expand_head+0x52/0x16f
>> [12544.530839] [<ffffffff804cbb4f>] ? pskb_expand_head+0x52/0x16f
>> [12544.530844] [<ffffffff802b23db>] __kmalloc+0xbc/0x102
>> [12544.530848] [<ffffffff804cbb4f>] pskb_expand_head+0x52/0x16f
>> [12544.530854] [<ffffffff805a0c8b>] ieee80211_skb_resize+0x91/0xca
>> [12544.530858] [<ffffffff805a16fd>] ieee80211_master_start_xmit+0x260/0x4c3
>
> and here we have pskb_expand_head failing to allocate memory. And an
> order 1 allocation too. Are you saying wireless has a memory leak?

I can't say. I am just testing the development tree. I believe this error
occurred while I was running Azureus (the java-based torrent client).
I can try to reproduce the problem, but I don't know how to debug it.

Miles
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/