Bug 30082 - after lxc-stop: unregister_netdevice: waiting for lo to become free. Usage count: 3
Summary: after lxc-stop: unregister_netdevice: waiting for lo to become free. Usage co...
Status: RESOLVED OBSOLETE
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Arnaldo Carvalho de Melo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 14:47 UTC by Michael Tokarev
Modified: 2012-10-27 11:55 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.36 2.6.37
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Michael Tokarev 2011-02-28 14:47:01 UTC
As far as I can tell so far this is triggered by lxc version 0.7.4, at least I haven't seen this before.  I tried 2.6.36[.3] and 2.6.37[.2] kernels so far, both behaves similarly.

The problem is, when I shut down a container which uses bridged veth interface pair using lxc-stop, the container terminates, but host system starts crying about unregister_netdevice like this:

[902885.096462] unregister_netdevice: waiting for lo to become free. Usage count = 3
[902895.229785] unregister_netdevice: waiting for lo to become free. Usage count = 3
[...]
[904247.123002] unregister_netdevice: waiting for lo to become free. Usage count = 3

After some, random, time, this stops - sometimes after just one message, sometimes after several minutes.  Sometimes it does not happen at all.

This looks like a kernel issue triggerable by lxc-0.7.4.
Comment 1 Andrew Morton 2011-03-02 00:14:15 UTC
(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Mon, 28 Feb 2011 14:47:03 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=30082
> 
>            Summary: after lxc-stop: unregister_netdevice: waiting for lo
>                     to become free. Usage count: 3
>            Product: Networking
>            Version: 2.5
>     Kernel Version: 2.6.36 2.6.37
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Other
>         AssignedTo: acme@ghostprotocols.net
>         ReportedBy: mjt@tls.msk.ru
>         Regression: No
> 
> 
> As far as I can tell so far this is triggered by lxc version 0.7.4, at least
> I
> haven't seen this before.  I tried 2.6.36[.3] and 2.6.37[.2] kernels so far,
> both behaves similarly.
> 
> The problem is, when I shut down a container which uses bridged veth
> interface
> pair using lxc-stop, the container terminates, but host system starts crying
> about unregister_netdevice like this:
> 
> [902885.096462] unregister_netdevice: waiting for lo to become free. Usage
> count = 3
> [902895.229785] unregister_netdevice: waiting for lo to become free. Usage
> count = 3
> [...]
> [904247.123002] unregister_netdevice: waiting for lo to become free. Usage
> count = 3
> 
> After some, random, time, this stops - sometimes after just one message,
> sometimes after several minutes.  Sometimes it does not happen at all.
> 
> This looks like a kernel issue triggerable by lxc-0.7.4.
>
Comment 2 Mildred 2012-10-27 11:55:38 UTC
This seem to have reappeared in Linux 3.5.0.

I'm using the vanilla kernel (with just a patch to use it on my iconnect device), but it seems Ubuntu has the same problem as well: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1065434

Note You need to log in before you can comment on or make changes to this bug.