Skip to contentSkip to conversation

ieee802154: WARNING: at mm/page_alloc.c:2095

DISCUSSION Sasha Levin 2 participants 3 messages Nov 22, 2011 – Dec 15, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

I got the following warning when trying out ieee802154:

[  157.736372] WARNING: at mm/page_alloc.c:2095 __alloc_pages_nodemask+0x177/0x722()
[  157.737707] Pid: 9100, comm: trinity Not tainted 3.2.0-rc2-sasha-00280-g45a222d #22
[  157.739114] Call Trace:
[  157.739559]  [<ffffffff810fcd7f>] ? __alloc_pages_nodemask+0x177/0x722
[  157.740746]  [<ffffffff81086984>] warn_slowpath_common+0x7b/0x93
[  157.741824]  [<ffffffff81086a47>] warn_slowpath_null+0x15/0x17
[  157.743283]  [<ffffffff810fcd7f>] __alloc_pages_nodemask+0x177/0x722
[  157.744434]  [<ffffffff8112f8a3>] ? __slab_alloc.clone.46+0x42d/0x456
[  157.745598]  [<ffffffff810b1d97>] ? trace_hardirqs_on_caller+0x151/0x197
[  157.747204]  [<ffffffff8112f8ab>] ? __slab_alloc.clone.46+0x435/0x456
[  157.748375]  [<ffffffff810a4875>] ? sched_clock_local+0x12/0x75
[  157.749475]  [<ffffffff81b96dd6>] ? __alloc_skb+0x42/0x14a
[  157.750682]  [<ffffffff810b2c3a>] ? lock_is_held+0x92/0x9d
[  157.751693]  [<ffffffff8112d399>] kmalloc_large_node+0x51/0x83
[  157.752757]  [<ffffffff81131ada>] __kmalloc_node_track_caller+0x29/0x127
[  157.753955]  [<ffffffff81b9449e>] ? sock_alloc_send_pskb+0xbd/0x2d7
[  157.755084]  [<ffffffff81b96e0a>] __alloc_skb+0x76/0x14a
[  157.756055]  [<ffffffff81b9449e>] sock_alloc_send_pskb+0xbd/0x2d7
[  157.757155]  [<ffffffff81b9e6ed>] ? rcu_read_unlock+0x21/0x23
[  157.758206]  [<ffffffff81b946c8>] sock_alloc_send_skb+0x10/0x12
[  157.759292]  [<ffffffff81e18f4c>] dgram_sendmsg+0xa8/0x22c
[  157.760292]  [<ffffffff81e182af>] ieee802154_sock_sendmsg+0xf/0x11
[  157.761376]  [<ffffffff81b8fc6f>] __sock_sendmsg+0x65/0x72
[  157.762388]  [<ffffffff81b908bb>] sock_sendmsg+0xa3/0xbc
[  157.763351]  [<ffffffff810a4875>] ? sched_clock_local+0x12/0x75
[  157.764420]  [<ffffffff8107ecfc>] ? get_parent_ip+0x11/0x41
[  157.765428]  [<ffffffff8107ecfc>] ? get_parent_ip+0x11/0x41
[  157.766439]  [<ffffffff810b2c3a>] ? lock_is_held+0x92/0x9d
[  157.767440]  [<ffffffff81141631>] ? fget_light+0x35/0x9e
[  157.768409]  [<ffffffff810a355f>] ? up_read+0x1e/0x35
[  157.769336]  [<ffffffff81b90479>] ? sockfd_lookup_light+0x1b/0x53
[  157.770434]  [<ffffffff81b91b1d>] sys_sendto+0x12d/0x16f
[  157.771396]  [<ffffffff810b1e8f>] ? trace_hardirqs_off_caller+0xa3/0x10b
[  157.772594]  [<ffffffff81e6fd1d>] ? retint_swapgs+0x13/0x1b
[  157.773599]  [<ffffffff810b1d97>] ? trace_hardirqs_on_caller+0x151/0x197
[  157.774826]  [<ffffffff8161620e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[  157.775989]  [<ffffffff81e705d2>] system_call_fastpath+0x16/0x1b

Please let me know if theres anything I can help with debugging it.

Signature · 1 line
Sasha.
#1 lore raw

Hi Sasha,

first of all could you please specify:
1. What's the kernel do you use?
2. What's the config options are enabled in your kernel?
3. What the HW do you use and what is the use case?
4. What you do to represent this error?

BTW: I cut linux-kernel list, not sure that it's suitable for such questions.

With best regards,
Alexander

2011/11/22 Sasha Levin <[email protected]>:

Quoted 60 lines

Hi all,

I got the following warning when trying out ieee802154:

[  157.736372] WARNING: at mm/page_alloc.c:2095 __alloc_pages_nodemask+0x177/0x722() [  157.737707] Pid: 9100, comm: trinity Not tainted 3.2.0-rc2-sasha-00280-g45a222d #22 [  157.739114] Call Trace:
[  157.739559]  [<ffffffff810fcd7f>] ? __alloc_pages_nodemask+0x177/0x722 [  157.740746]  [<ffffffff81086984>] warn_slowpath_common+0x7b/0x93
[  157.741824]  [<ffffffff81086a47>] warn_slowpath_null+0x15/0x17
[  157.743283]  [<ffffffff810fcd7f>] __alloc_pages_nodemask+0x177/0x722 [  157.744434]  [<ffffffff8112f8a3>] ? __slab_alloc.clone.46+0x42d/0x456 [  157.745598]  [<ffffffff810b1d97>] ? trace_hardirqs_on_caller+0x151/0x197 [  157.747204]  [<ffffffff8112f8ab>] ? __slab_alloc.clone.46+0x435/0x456 [  157.748375]  [<ffffffff810a4875>] ? sched_clock_local+0x12/0x75
[  157.749475]  [<ffffffff81b96dd6>] ? __alloc_skb+0x42/0x14a
[  157.750682]  [<ffffffff810b2c3a>] ? lock_is_held+0x92/0x9d
[  157.751693]  [<ffffffff8112d399>] kmalloc_large_node+0x51/0x83
[  157.752757]  [<ffffffff81131ada>] __kmalloc_node_track_caller+0x29/0x127 [  157.753955]  [<ffffffff81b9449e>] ? sock_alloc_send_pskb+0xbd/0x2d7
[  157.755084]  [<ffffffff81b96e0a>] __alloc_skb+0x76/0x14a
[  157.756055]  [<ffffffff81b9449e>] sock_alloc_send_pskb+0xbd/0x2d7
[  157.757155]  [<ffffffff81b9e6ed>] ? rcu_read_unlock+0x21/0x23
[  157.758206]  [<ffffffff81b946c8>] sock_alloc_send_skb+0x10/0x12
[  157.759292]  [<ffffffff81e18f4c>] dgram_sendmsg+0xa8/0x22c
[  157.760292]  [<ffffffff81e182af>] ieee802154_sock_sendmsg+0xf/0x11
[  157.761376]  [<ffffffff81b8fc6f>] __sock_sendmsg+0x65/0x72
[  157.762388]  [<ffffffff81b908bb>] sock_sendmsg+0xa3/0xbc
[  157.763351]  [<ffffffff810a4875>] ? sched_clock_local+0x12/0x75
[  157.764420]  [<ffffffff8107ecfc>] ? get_parent_ip+0x11/0x41
[  157.765428]  [<ffffffff8107ecfc>] ? get_parent_ip+0x11/0x41
[  157.766439]  [<ffffffff810b2c3a>] ? lock_is_held+0x92/0x9d
[  157.767440]  [<ffffffff81141631>] ? fget_light+0x35/0x9e
[  157.768409]  [<ffffffff810a355f>] ? up_read+0x1e/0x35
[  157.769336]  [<ffffffff81b90479>] ? sockfd_lookup_light+0x1b/0x53
[  157.770434]  [<ffffffff81b91b1d>] sys_sendto+0x12d/0x16f
[  157.771396]  [<ffffffff810b1e8f>] ? trace_hardirqs_off_caller+0xa3/0x10b [  157.772594]  [<ffffffff81e6fd1d>] ? retint_swapgs+0x13/0x1b
[  157.773599]  [<ffffffff810b1d97>] ? trace_hardirqs_on_caller+0x151/0x197 [  157.774826]  [<ffffffff8161620e>] ? trace_hardirqs_on_thunk+0x3a/0x3f [  157.775989]  [<ffffffff81e705d2>] system_call_fastpath+0x16/0x1b

Please let me know if theres anything I can help with debugging it.

--

Sasha.

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs. But none more important than the need to reduce IT complexity while improving strategic productivity.  Learn More!
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
Linux-zigbee-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

#2 lore raw
Quoted 2 lines · Alexander Smirnov

first of all could you please specify:
1. What's the kernel do you use?

linux-next.

Quoted 1 line

2. What's the config options are enabled in your kernel?

It's a testing kernel which is pretty close to being 'make allyesconfig'. So if you're thinking about a specific feature - it's probably '=y'.

Quoted 1 line

3. What the HW do you use and what is the use case?

I actually don't have any special HW, this was part of a fuzzer test.

Quoted 1 line

4. What you do to represent this error?

According to the fuzzer it's the result of calling sys_sendto() with a pretty large numbrt in the length field.

Signature · 1 line
Sasha.