Re: 2.6.29.1: unregister_netdevice problem

From: Bruno PrÃmont
Date: Fri Apr 24 2009 - 17:23:11 EST


On Thu, 23 April 2009 ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:
> "Alexander V. Lukyanov" <lav@xxxxxxxx> writes:
>
> > Eventually I have an increased load average without apparent reason.
> > When I reboot the server in such a case, I get infinitely repeating
> > messages on the console:
> >
> > unregister_netdevice: waiting for eth0.2 to become free. Usage
> > count = 4
> >
> > eth0.2 is a vlan interface, eth0 is 02:00.0 Ethernet controller:
> > Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit
> > Ethernet controller (rev 01)
>
> CC: netdev where someone might have a better clue.
>
> Infinitely repeating unregister_netdevice messages means something
> isn't releasing it's reference count to your network device.
>
> There really isn't enough information in your email to figure out
> what you were doing that, or what piece of code triggered this.


A few I similar cases I have encountered are related to:
vlan, netconsole

If you attempt to rmmod the driver of a network interface for which
you have a vlan or netconsole setup on top of you end up with this
kind of lock.

At least the two above do not react of removal attempt notifications
and thus keep the network device referenced.

Bruno
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/