From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maciej Rutecki Subject: Re: recvmsg sleeping from invalid context Date: Sun, 22 Jan 2012 08:54:59 +0100 Message-ID: <201201220854.59968.maciej.rutecki@gmail.com> References: <20120113182401.GA25885@redhat.com> Reply-To: maciej.rutecki@gmail.com Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org, Linux Kernel To: Dave Jones Return-path: In-Reply-To: <20120113182401.GA25885@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On pi=C4=85tek, 13 stycznia 2012 o 19:24:01 Dave Jones wrote: > getting a ton of these on the latest head > (099469502f62fbe0d7e4f0b83a2f22538367f734) >=20 > BUG: sleeping function called from invalid context at mm/memory.c:390= 5 > in_atomic(): 0, irqs_disabled(): 0, pid: 1067, name: NetworkManager > INFO: lockdep is turned off. > Pid: 1067, comm: NetworkManager Not tainted 3.2.0+ #22 > Call Trace: > [] __might_sleep+0x145/0x200 > [] might_fault+0x34/0xb0 > [] ? sock_def_readable+0x25/0x1a0 > [] put_cmsg+0x77/0x120 > [] netlink_recvmsg+0x35c/0x480 > [] ? sock_update_classid+0x9a/0x260 > [] ? sock_update_classid+0xd2/0x260 > [] sock_recvmsg+0x11d/0x140 > [] ? might_fault+0x53/0xb0 > [] ? might_fault+0x9c/0xb0 > [] ? might_fault+0x53/0xb0 > [] __sys_recvmsg+0x153/0x2d0 > [] ? fget_light+0x5a/0x470 > [] ? get_parent_ip+0x11/0x50 > [] ? sub_preempt_count+0x9d/0xd0 > [] ? fget_light+0xfb/0x470 > [] ? fget_light+0x5a/0x470 > [] sys_recvmsg+0x49/0x90 > [] system_call_fastpath+0x16/0x1b >=20 >=20 > BUG: sleeping function called from invalid context at kernel/mutex.c:= 271 > in_atomic(): 0, irqs_disabled(): 0, pid: 1067, name: NetworkManager > INFO: lockdep is turned off. > Pid: 1067, comm: NetworkManager Not tainted 3.2.0+ #22 > Call Trace: > [] __might_sleep+0x145/0x200 > [] mutex_lock_nested+0x2e/0x50 > [] inotify_poll+0x30/0x60 > [] do_sys_poll+0x280/0x500 > [] ? poll_freewait+0xe0/0xe0 > [] ? __pollwait+0xf0/0xf0 > [] ? __pollwait+0xf0/0xf0 > [] ? __pollwait+0xf0/0xf0 > [] ? __pollwait+0xf0/0xf0 > [] ? __pollwait+0xf0/0xf0 > [] ? __pollwait+0xf0/0xf0 > [] ? __pollwait+0xf0/0xf0 > [] ? get_parent_ip+0x11/0x50 > [] ? sub_preempt_count+0x9d/0xd0 > [] ? fget_light+0x5a/0x470 > [] ? sys_sendto+0x15b/0x190 > [] ? ktime_get_ts+0xad/0xe0 > [] ? poll_select_set_timeout+0x7a/0x90 > [] sys_poll+0x76/0x110 > [] system_call_fastpath+0x16/0x1b >=20 I created a Bugzilla entry at=20 https://bugzilla.kernel.org/show_bug.cgi?id=3D42629 for your bug report, please add your address to the CC list in there, t= hanks! --=20 Maciej Rutecki http://www.mrutecki.pl