* sleeping function called from invalid context (rtnetlink)
[not found] <bug-799099-176318@bugzilla.redhat.com>
@ 2012-03-01 23:59 ` Dave Jones
2012-03-02 0:53 ` Eric Dumazet
2012-03-04 5:00 ` Eric Dumazet
0 siblings, 2 replies; 4+ messages in thread
From: Dave Jones @ 2012-03-01 23:59 UTC (permalink / raw)
To: netdev; +Cc: Fedora Kernel Team
Just had this reported by a Fedora user.
It's against 3.3-rc4, but afaik, the only changes to rtnetlink
since then wouldn't have fixed this unless I've overlooked something.
https://bugzilla.redhat.com/show_bug.cgi?id=799099
BUG: sleeping function called from invalid context at kernel/mutex.c:271
in_atomic(): 1, irqs_disabled(): 0, pid: 10451, name: NetworkManager
INFO: lockdep is turned off.
Pid: 10451, comm: NetworkManager Not tainted 3.3.0-0.rc4.git1.4.fc17.x86_64 #1
Call Trace:
[<ffffffff810966fc>] __might_sleep+0x13c/0x200
[<ffffffff8154c470>] ? sock_def_readable+0x30/0x1c0
[<ffffffff8169a81e>] mutex_lock_nested+0x2e/0x3a0
[<ffffffff81571100>] ? rtnetlink_net_init+0x50/0x50
[<ffffffff8158e25c>] ? netlink_dump_start+0xdc/0x180
[<ffffffff81571100>] ? rtnetlink_net_init+0x50/0x50
[<ffffffff81571897>] rtnl_lock+0x17/0x20
[<ffffffff81573ef8>] rtnetlink_rcv_msg+0x1f8/0x2e0
[<ffffffff81571897>] ? rtnl_lock+0x17/0x20
[<ffffffff81573d00>] ? __rtnl_unlock+0x20/0x20
[<ffffffff815901b1>] netlink_rcv_skb+0xa1/0xb0
[<ffffffff815718c5>] rtnetlink_rcv+0x25/0x40
[<ffffffff8158fafd>] netlink_unicast+0x19d/0x1f0
[<ffffffff8158fe2b>] netlink_sendmsg+0x2db/0x360
[<ffffffff8154c66d>] ? sock_update_netprioidx+0x6d/0x250
[<ffffffff81544888>] sock_sendmsg+0xf8/0x130
[<ffffffff81545f9d>] ? sock_recvmsg+0xfd/0x130
[<ffffffff811745d5>] ? might_fault+0xa5/0xb0
[<ffffffff8117458c>] ? might_fault+0x5c/0xb0
[<ffffffff81555266>] ? verify_iovec+0x56/0xd0
[<ffffffff81545e8e>] __sys_sendmsg+0x42e/0x440
[<ffffffff811bd612>] ? fget_light+0x62/0x4a0
[<ffffffff811bd6a0>] ? fget_light+0xf0/0x4a0
[<ffffffff811bd612>] ? fget_light+0x62/0x4a0
[<ffffffff81548c59>] sys_sendmsg+0x49/0x90
[<ffffffff816a74a9>] system_call_fastpath+0x16/0x1b
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sleeping function called from invalid context (rtnetlink)
2012-03-01 23:59 ` sleeping function called from invalid context (rtnetlink) Dave Jones
@ 2012-03-02 0:53 ` Eric Dumazet
2012-03-04 5:00 ` Eric Dumazet
1 sibling, 0 replies; 4+ messages in thread
From: Eric Dumazet @ 2012-03-02 0:53 UTC (permalink / raw)
To: Dave Jones; +Cc: netdev, Fedora Kernel Team
Le 1 mars 2012 15:59, Dave Jones <davej@redhat.com> a écrit :
> Just had this reported by a Fedora user.
> It's against 3.3-rc4, but afaik, the only changes to rtnetlink
> since then wouldn't have fixed this unless I've overlooked something.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=799099
>
> BUG: sleeping function called from invalid context at kernel/mutex.c:271
> in_atomic(): 1, irqs_disabled(): 0, pid: 10451, name: NetworkManager
> INFO: lockdep is turned off.
> Pid: 10451, comm: NetworkManager Not tainted 3.3.0-0.rc4.git1.4.fc17.x86_64 #1
> Call Trace:
> [<ffffffff810966fc>] __might_sleep+0x13c/0x200
> [<ffffffff8154c470>] ? sock_def_readable+0x30/0x1c0
> [<ffffffff8169a81e>] mutex_lock_nested+0x2e/0x3a0
> [<ffffffff81571100>] ? rtnetlink_net_init+0x50/0x50
> [<ffffffff8158e25c>] ? netlink_dump_start+0xdc/0x180
> [<ffffffff81571100>] ? rtnetlink_net_init+0x50/0x50
> [<ffffffff81571897>] rtnl_lock+0x17/0x20
> [<ffffffff81573ef8>] rtnetlink_rcv_msg+0x1f8/0x2e0
> [<ffffffff81571897>] ? rtnl_lock+0x17/0x20
> [<ffffffff81573d00>] ? __rtnl_unlock+0x20/0x20
> [<ffffffff815901b1>] netlink_rcv_skb+0xa1/0xb0
> [<ffffffff815718c5>] rtnetlink_rcv+0x25/0x40
> [<ffffffff8158fafd>] netlink_unicast+0x19d/0x1f0
> [<ffffffff8158fe2b>] netlink_sendmsg+0x2db/0x360
> [<ffffffff8154c66d>] ? sock_update_netprioidx+0x6d/0x250
> [<ffffffff81544888>] sock_sendmsg+0xf8/0x130
> [<ffffffff81545f9d>] ? sock_recvmsg+0xfd/0x130
> [<ffffffff811745d5>] ? might_fault+0xa5/0xb0
> [<ffffffff8117458c>] ? might_fault+0x5c/0xb0
> [<ffffffff81555266>] ? verify_iovec+0x56/0xd0
> [<ffffffff81545e8e>] __sys_sendmsg+0x42e/0x440
> [<ffffffff811bd612>] ? fget_light+0x62/0x4a0
> [<ffffffff811bd6a0>] ? fget_light+0xf0/0x4a0
> [<ffffffff811bd612>] ? fget_light+0x62/0x4a0
> [<ffffffff81548c59>] sys_sendmsg+0x49/0x90
> [<ffffffff816a74a9>] system_call_fastpath+0x16/0x1b
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Yes, this is on my TODO list, it should be done in a couple of days.
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sleeping function called from invalid context (rtnetlink)
2012-03-01 23:59 ` sleeping function called from invalid context (rtnetlink) Dave Jones
2012-03-02 0:53 ` Eric Dumazet
@ 2012-03-04 5:00 ` Eric Dumazet
2012-03-04 5:47 ` David Miller
1 sibling, 1 reply; 4+ messages in thread
From: Eric Dumazet @ 2012-03-04 5:00 UTC (permalink / raw)
To: Dave Jones; +Cc: netdev, Fedora Kernel Team
Le jeudi 01 mars 2012 à 18:59 -0500, Dave Jones a écrit :
> Just had this reported by a Fedora user.
> It's against 3.3-rc4, but afaik, the only changes to rtnetlink
> since then wouldn't have fixed this unless I've overlooked something.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=799099
>
> BUG: sleeping function called from invalid context at kernel/mutex.c:271
> in_atomic(): 1, irqs_disabled(): 0, pid: 10451, name: NetworkManager
> INFO: lockdep is turned off.
> Pid: 10451, comm: NetworkManager Not tainted 3.3.0-0.rc4.git1.4.fc17.x86_64 #1
> Call Trace:
> [<ffffffff810966fc>] __might_sleep+0x13c/0x200
> [<ffffffff8154c470>] ? sock_def_readable+0x30/0x1c0
> [<ffffffff8169a81e>] mutex_lock_nested+0x2e/0x3a0
> [<ffffffff81571100>] ? rtnetlink_net_init+0x50/0x50
> [<ffffffff8158e25c>] ? netlink_dump_start+0xdc/0x180
> [<ffffffff81571100>] ? rtnetlink_net_init+0x50/0x50
> [<ffffffff81571897>] rtnl_lock+0x17/0x20
> [<ffffffff81573ef8>] rtnetlink_rcv_msg+0x1f8/0x2e0
> [<ffffffff81571897>] ? rtnl_lock+0x17/0x20
> [<ffffffff81573d00>] ? __rtnl_unlock+0x20/0x20
> [<ffffffff815901b1>] netlink_rcv_skb+0xa1/0xb0
> [<ffffffff815718c5>] rtnetlink_rcv+0x25/0x40
> [<ffffffff8158fafd>] netlink_unicast+0x19d/0x1f0
> [<ffffffff8158fe2b>] netlink_sendmsg+0x2db/0x360
> [<ffffffff8154c66d>] ? sock_update_netprioidx+0x6d/0x250
> [<ffffffff81544888>] sock_sendmsg+0xf8/0x130
> [<ffffffff81545f9d>] ? sock_recvmsg+0xfd/0x130
> [<ffffffff811745d5>] ? might_fault+0xa5/0xb0
> [<ffffffff8117458c>] ? might_fault+0x5c/0xb0
> [<ffffffff81555266>] ? verify_iovec+0x56/0xd0
> [<ffffffff81545e8e>] __sys_sendmsg+0x42e/0x440
> [<ffffffff811bd612>] ? fget_light+0x62/0x4a0
> [<ffffffff811bd6a0>] ? fget_light+0xf0/0x4a0
> [<ffffffff811bd612>] ? fget_light+0x62/0x4a0
> [<ffffffff81548c59>] sys_sendmsg+0x49/0x90
> [<ffffffff816a74a9>] system_call_fastpath+0x16/0x1b
>
I took a look at this and couldnt find a reason for this error.
Thats pretty strange...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sleeping function called from invalid context (rtnetlink)
2012-03-04 5:00 ` Eric Dumazet
@ 2012-03-04 5:47 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2012-03-04 5:47 UTC (permalink / raw)
To: eric.dumazet; +Cc: davej, netdev, kernel-team
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Sat, 03 Mar 2012 21:00:14 -0800
> I took a look at this and couldnt find a reason for this error.
>
> Thats pretty strange...
That was the conclusion I came to when I looked at other instances of
this.
Some piece of state we're not seeing here is being corrupted, thus
corrupting the locking state.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-04 5:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <bug-799099-176318@bugzilla.redhat.com>
2012-03-01 23:59 ` sleeping function called from invalid context (rtnetlink) Dave Jones
2012-03-02 0:53 ` Eric Dumazet
2012-03-04 5:00 ` Eric Dumazet
2012-03-04 5:47 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).