[Bugme-new] [Bug 16611] New: can not remove vlan device: unregister_netdevice: waiting for <device> to become free.

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Aug 17 01:37:50 PDT 2010


https://bugzilla.kernel.org/show_bug.cgi?id=16611

           Summary: can not remove vlan device: unregister_netdevice:
                    waiting for <device> to become free.
           Product: Networking
           Version: 2.5
    Kernel Version: 2.6.35.1
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: acme at ghostprotocols.net
        ReportedBy: leva at ecentrum.hu
        Regression: No


Hi!

I'm experiencing this problem when I try to remove a vlan device with vconfig
rem <device>.

After deconfiguring the interface (eg.: ifconfig eth1.100 down), and making
sure it is really down, I can not remove it with vconfig rem eth1.100, because
I'll start getting these messages:
kernel: unregister_netdevice: waiting for eth1.100 to become free. Usage count
= 472

And I can not escape from this. I can ssh into the machine or login on a new
console, but can not remove the vlan device and thus I can not reboot the
machine.

The vlan interface was used by pppoe-server and many pppds, but they are no
longer running when I'm trying to remove the vlan interface.
The usage count is different everytime, but I can not imagine what could still
use the device. I've killed every process what could have been using it. I've
experienced this with 2.6.34.* too. I've upgraded to .35 to see if this was
fixed there. Googling just gave me some shady tips, to unload the bonding
module or disable ipv6 in the kernel. Although I've done both, this didn't
cured it.
I'm willing to test patches of course or compile debug features into the kernel
image I'm using.
Also if you need any other information, please do not hesitate to ask.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list