We've run into a similar problem...removing a vlan in linux 2.6 when 8021q is compiled as a module causes the system to hang. If it's compiled into the kernel, things mostly work fine. We had a system hang recently while trying to remove a vlan device - 8021q was compiled into the kernel. In short, try compiling the module into the kernel as a quick hack. Joe On 4/19/05, Rezwanul_Kabir@xxxxxxxx <Rezwanul_Kabir@xxxxxxxx> wrote: > > Hi > > I was wondering if anyone has any experience with an issue I am seeing with 8021q module.. > > The issue is as below: > An attempt to remove an 802.1q VLAN frequently results in failure. The problem can occur both when manually removing the interface and when shutting down the operating system. When the failure occurs, a message similar to the following is repeatedly printed to the console approximately every ten seconds. > > unregister_netdevice: waiting for eth0.10 to become free. Usage count = 3 > > After the error has occurred, any further attempts to configure network interfaces are unsuccessful and the system cannot be rebooted or shutdown via software. > Below are other relevant information: > > I am using RedHat Enterprise Linux 4, architecture=i386, kernel=2.6.9-5.ELsmp > [root@localhost ~]# tail -f /var/log/messages > > Apr 4 16:50:14 localhost net.agent[3666]: remove event not handled > Apr 4 16:50:14 localhost net.agent[3670]: remove event not handled > Apr 4 16:51:49 localhost net.agent[3758]: remove event not handled > Apr 4 16:51:49 localhost net.agent[3757]: remove event not handled > Apr 4 16:51:59 localhost kernel: unregister_netdevice: waiting for eth0.10 to become free. Usage count = 3 > > [root@localhost ~]# lspci > > pcilib: Resource 5 in /sys/bus/pci/devices/0000:00:1f.1/resource has a 64-bit address, ignoring > 00:00.0 Host bridge: Intel Corp. E7520 Memory Controller Hub (rev 09) > 00:02.0 PCI bridge: Intel Corp. E7525/E7520/E7320 PCI Express Port A (rev 09) > 00:04.0 PCI bridge: Intel Corp. E7525/E7520 PCI Express Port B (rev 09) > 00:05.0 PCI bridge: Intel Corp. E7520 PCI Express Port B1 (rev 09) > 00:06.0 PCI bridge: Intel Corp. E7520 PCI Express Port C (rev 09) > 00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) > 00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) > 00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) > 00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2) > 00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02) > 00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) > 01:00.0 PCI bridge: Intel Corp. 80332 [Dobson] I/O processor (rev 06) > 01:00.2 PCI bridge: Intel Corp. 80332 [Dobson] I/O processor (rev 06) > 02:05.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 08) > 05:00.0 PCI bridge: Intel Corp. 6700PXH PCI Express-to-PCI Bridge A (rev 09) > 05:00.2 PCI bridge: Intel Corp. 6700PXH PCI Express-to-PCI Bridge B (rev 09) > 06:07.0 Ethernet controller: Intel Corp. 82541GI/PI Gigabit Ethernet Controller (rev 05) > 07:08.0 Ethernet controller: Intel Corp. 82541GI/PI Gigabit Ethernet Controller (rev 05) > 09:05.0 Class ff00: Dell Remote Access Card 4 Daughter Card > 09:05.1 Class ff00: Dell Remote Access Card 4 Daughter Card Virtual UART > 09:05.2 Class ff00: Dell Remote Access Card 4 Daughter Card SMIC interface > 09:06.0 IDE interface: Silicon Image, Inc. (formerly CMD Technology Inc) PCI0680 Ultra ATA-133 Host Controller (rev 02) > 09:0d.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] > > [root@localhost ~]# uname -r > 2.6.9-5.ELsmp > > [root@localhost ~]# lsmod > Module Size Used by > 8021q 23249 0 > nls_utf8 3393 1 > parport_pc 29313 0 > lp 15089 0 > parport 43981 2 parport_pc,lp > autofs4 23241 0 > i2c_dev 13633 0 > i2c_core 28481 1 i2c_dev > sunrpc 168121 1 > ds 21449 0 > yenta_socket 22977 0 > pcmcia_core 69329 2 ds,yenta_socket > ipt_REJECT 8641 1 > ipt_state 3265 1 > ip_conntrack 54041 1 ipt_state > iptable_filter 4417 1 > ip_tables 20289 3 ipt_REJECT,ipt_state,iptable_filter > button 9057 0 > battery 11209 0 > ac 6729 0 > joydev 11841 0 > md5 5697 1 > ipv6 280993 14 > uhci_hcd 34665 0 > ehci_hcd 33349 0 > hw_random 7137 0 > e1000 92749 0 > floppy 65809 0 > sg 42489 0 > dm_snapshot 18689 0 > dm_zero 3649 0 > dm_mirror 24401 2 > ext3 137297 2 > jbd 68849 1 ext3 > dm_mod 64001 6 dm_snapshot,dm_zero,dm_mirror > mptscsih 37873 0 > mptbase 50913 1 mptscsih > sd_mod 19393 5 > scsi_mod 140177 3 sg,mptscsih,sd_mod > > [root@localhost ~]# ifconfig > eth0 Link encap:Ethernet HWaddr 00:11:43:D4:D0:52 > inet6 addr: fe80::211:43ff:fed4:d052/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:660 (660.0 b) > Base address:0xdcc0 Memory:dfae0000-dfb00000 > > eth0.10 Link encap:Ethernet HWaddr 00:11:43:D4:D0:52 > inet addr:10.9.164.195 Bcast:10.255.255.255 Mask:255.255.248.0 > inet6 addr: fe80::211:43ff:fed4:d052/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:238 (238.0 b) > > eth1 Link encap:Ethernet HWaddr 00:11:43:D4:D0:53 > inet addr:10.9.163.248 Bcast:10.9.167.255 Mask:255.255.248.0 > inet6 addr: fec0::211:43ff:fed4:d053/64 Scope:Site > inet6 addr: fe80::211:43ff:fed4:d053/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:663 errors:0 dropped:0 overruns:0 frame:0 > TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:278633 (272.1 KiB) TX bytes:1075 (1.0 KiB) > Base address:0xccc0 Memory:df8e0000-df900000 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:1316 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1316 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1360630 (1.2 MiB) TX bytes:1360630 (1.2 MiB) > > Any help would be highly appreciated... > Thanks.. > --rez > > _______________________________________________ > Vlan mailing list > Vlan@xxxxxxxxxxxxxxx > http://www.lanforge.com/mailman/listinfo/vlan >