Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964932AbXFFGOm (ORCPT ); Wed, 6 Jun 2007 02:14:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765329AbXFFGOc (ORCPT ); Wed, 6 Jun 2007 02:14:32 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:58439 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756923AbXFFGOb (ORCPT ); Wed, 6 Jun 2007 02:14:31 -0400 Date: Tue, 5 Jun 2007 23:14:23 -0700 From: Andrew Morton To: Valdis.Kletnieks@vt.edu Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: 2.6.22-rc3-mm1 - pppd hanging in netdev_run_todo while holding mutex Message-Id: <20070605231423.1c5ffa6c.akpm@linux-foundation.org> In-Reply-To: <11184.1180980056@turing-police.cc.vt.edu> References: <20070530235823.793f00d9.akpm@linux-foundation.org> <11184.1180980056@turing-police.cc.vt.edu> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3450 Lines: 49 On Mon, 04 Jun 2007 14:00:56 -0400 Valdis.Kletnieks@vt.edu wrote: > On Wed, 30 May 2007 23:58:23 PDT, Andrew Morton said: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/ > > Under 22-rc2-mm1, if my VPN connection got reset, ppp0 just quietly went away. > > Under 22-rc3-mm1, it seems to end up wedged and waiting for references to > go away: > > Jun 4 09:23:01 turing-police kernel: [90089.270707] unregister_netdevice: waiting for ppp0 to become free. Usage count = 8 > Jun 4 09:23:11 turing-police kernel: [90099.396121] unregister_netdevice: waiting for ppp0 to become free. Usage count = 8 > Jun 4 09:23:21 turing-police kernel: [90109.520574] unregister_netdevice: waiting for ppp0 to become free. Usage count = 8 > Jun 4 09:23:32 turing-police kernel: [90119.653129] unregister_netdevice: waiting for ppp0 to become free. Usage count = 8 Interesting refcount. > 'echo t > /proc/sysrq_trigger' shows pppd hung up here: > > Jun 4 10:52:57 turing-police kernel: [95478.047892] pppd D 0000000105ad3830 4968 3815 1 (NOTLB) > Jun 4 10:52:57 turing-police kernel: [95478.047902] ffff810008d5fd78 0000000000000086 0000000000000000 ffff810003490000 > Jun 4 10:52:57 turing-police kernel: [95478.047911] ffff810008d5fd28 ffff810008d4a040 ffff810003461820 ffff810008d4a2b0 > Jun 4 10:52:57 turing-police kernel: [95478.047920] 0000000105ad3733 0000000000000202 00000000000000ff ffffffff80239795 > Jun 4 10:52:57 turing-police kernel: [95478.047928] Call Trace: > Jun 4 10:52:57 turing-police kernel: [95478.047936] [] schedule_timeout+0x8d/0xb4 > Jun 4 10:52:57 turing-police kernel: [95478.047945] [] schedule_timeout_uninterruptible+0x19/0x1b > Jun 4 10:52:57 turing-police kernel: [95478.047954] [] msleep+0x14/0x1e > Jun 4 10:52:57 turing-police kernel: [95478.047963] [] netdev_run_todo+0x12f/0x234 > Jun 4 10:52:57 turing-police kernel: [95478.047972] [] rtnl_unlock+0x35/0x37 > Jun 4 10:52:57 turing-police kernel: [95478.047981] [] unregister_netdev+0x1e/0x23 > Jun 4 10:52:57 turing-police kernel: [95478.047994] [] :ppp_generic:ppp_shutdown_interface+0x67/0xbb > Jun 4 10:52:57 turing-police kernel: [95478.048018] [] :ppp_generic:ppp_release+0x33/0x65 > Jun 4 10:52:57 turing-police kernel: [95478.048028] [] __fput+0xac/0x176 > Jun 4 10:52:57 turing-police kernel: [95478.048036] [] fput+0x14/0x16 > Jun 4 10:52:57 turing-police kernel: [95478.048045] [] filp_close+0x66/0x71 > Jun 4 10:52:57 turing-police kernel: [95478.048054] [] sys_close+0x98/0xd7 > Jun 4 10:52:57 turing-police kernel: [95478.048062] [] tracesys+0xdc/0xe1 > Jun 4 10:52:57 turing-police kernel: [95478.048073] [<00002b45cd2429a0>] I don't know what could have caused this, sorry. If it's still there in next -mm (which is still 100000 compile fixes away) it'd be good if you could bisect it. Suspects would be git-net.patch, get-netdev-all.patch and gregkh-driver-*.patch Thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/