From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751359AbWIAJ7q (ORCPT ); Fri, 1 Sep 2006 05:59:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751393AbWIAJ7q (ORCPT ); Fri, 1 Sep 2006 05:59:46 -0400 Received: from wx-out-0506.google.com ([66.249.82.234]:21615 "EHLO wx-out-0506.google.com") by vger.kernel.org with ESMTP id S1751359AbWIAJ7p (ORCPT ); Fri, 1 Sep 2006 05:59:45 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UdAx1HAHGQ5GsY+USJD1A3B7LJw7Mp5jWhk2UgTP1YMLrjNZLbZUC+jb5iejv3sp+U132NAZSInxkPG9ZIVkaaH6EiH6/GWC7vEBLk0JrA09YUVzPww9UkSIzgUT9W7TTzcFiHpGoUtyZgIVIg2XccXra4cVEn4B+JYxLae/9Co= Message-ID: <9a8748490609010259l7c42ca88tbcc87410a770b48c@mail.gmail.com> Date: Fri, 1 Sep 2006 11:59:44 +0200 From: "Jesper Juhl" To: "Ben Greear" Subject: Re: Unable to halt or reboot due to - unregister_netdevice: waiting for eth0.20 to become free. Usage count = 1 Cc: "Linux Kernel Mailing List" , "Fred N. van Kempen" , "Ross Biro" , davem@davemloft.net, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org In-Reply-To: <9a8748490608310833x22b0ca30s2130cc388e2bb392@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9a8748490608310817v7d722f88u167b5a84d0ff67e8@mail.gmail.com> <44F70092.3030300@candelatech.com> <9a8748490608310833x22b0ca30s2130cc388e2bb392@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 31/08/06, Jesper Juhl wrote: > On 31/08/06, Ben Greear wrote: > > Jesper Juhl wrote: > > > Hi, > > > > > > I've got a small problem with 2.6.18-rc5-git2. > > > > > > I've got a vlan setup on eth0.20, eth0 does not have an IP. > > > > > > When I attempt to reboot or halt the machine I get the following > > > message from the loop in net/core/dev.c::netdev_wait_allrefs() where > > > it waits for the ref-count to drop to zero. > > > Unfortunately the ref-count stays at 1 forever and the server never > > > gets any further. > > > > > > unregister_netdevice: waiting for eth0.20 to become free. Usage count = 1 > > > > > > I googled a bit and found that people have had similar problems in the > > > past and could work around them by shutting down the vlan interface > > > before the 'lo' interface. I tried that and indeed, it works. > > > > > > Any idea how we can get this fixed? > > > > This is usually a ref-count leak somewhere. Used to be IPv6 had > > issues..then there were some neighbor leaks...but these were fixed as > > far as I know. > > > Using IPv4 here. > > > > Can you reproduce this on older kernels? > > > I've not actively tried, but I do have several servers running various > older kernel releases with similar vlan setups and I'm not aware of > any problems with those. Only this new box that I'm using for testing > new kernels (currently) shows the problem, and I've only tried 2.6.8 > and 2.6.18-rc5-git2 on the box so far (2.6.8 doesn't have the > problem). > I've just encountered the problem on a different server with an identical vlan setup. That server is running 2.6.13.4 -- Jesper Juhl Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html