Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756754AbXEJEed (ORCPT ); Thu, 10 May 2007 00:34:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754638AbXEJEeY (ORCPT ); Thu, 10 May 2007 00:34:24 -0400 Received: from smtpout.mac.com ([17.250.248.178]:55335 "EHLO smtpout.mac.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754585AbXEJEeY (ORCPT ); Thu, 10 May 2007 00:34:24 -0400 In-Reply-To: <46429ED2.10809@candelatech.com> References: <2638DE26-D672-4245-BE88-D13B7F0F34A9@mac.com> <46429ED2.10809@candelatech.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: netdev@vger.kernel.org, LKML Kernel , Stephen Hemminger , OSDL Linux Bridging Content-Transfer-Encoding: 7bit From: Kyle Moffett Subject: Re: [BUG][debian-2.6.20-1-686] bridging + vlans + "vconfig rem" == stuck kernel Date: Thu, 10 May 2007 00:34:11 -0400 To: Ben Greear X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1666 Lines: 44 On May 10, 2007, at 00:25:54, Ben Greear wrote: > Kyle Moffett wrote: >> vconfig D 83CCD8CE 0 16564 16562 >> (NOTLB) >> efdd7e7c 00000086 ee120afb 83ccd8ce 98f00788 b7083ffa >> 5384b49a c76c0b05 >> 9ebaf791 00000004 efdd7e4e 00000007 f1468a90 2ab74174 >> 00000362 00000326 >> f1468b9c c180e420 00000001 00000286 c012933c efdd7e8c >> df98a000 c180e468 >> Call Trace: >> [] lock_timer_base+0x15/0x2f >> [] __mod_timer+0x91/0x9b >> [] schedule_timeout+0x70/0x8d >> [] vlan_device_event+0x13/0xf8 [8021q] > > Looks like a deadlock in the vlan code. Any chance you can run > this test with lockdep enabled? > > You could also add a printk in vlan_device_event() to check which > event it is hanging on, and the netdevice that is passed in. Ok, I'll try building a 2.6.21 kernel with lockdep and some debugging printk()s in the vlan_device_event() function and get back to you tomorrow. Thanks for the quick response! > Since the vlan code holds RTNL at this point, then most other > network tasks will eventually hang as well. Well, it's less of an "eventually" and more of an "almost immediately". When that happens pretty close to everything more complicated than socket(), bind(), and connect() with straightforward UNIX or INET sockets tends to stick completely. Thanks again! Cheers, Kyle Moffett - 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/