Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88290 - unregister_netdevice kernel deadlock when attempting to stop 802.1q interface
Summary: unregister_netdevice kernel deadlock when attempting to stop 802.1q interface
Status: RESOLVED DUPLICATE of bug 87495
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-07 13:35 UTC by Dylan Vanderhoof
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dylan Vanderhoof 2005-04-07 13:35:36 UTC
Bringing up an 801.2q interface via /etc/conf.d/net works fine, but attempting to stop the service appears to cause a kernel dealock that requires a hard reboot to recover from.  

The specific error is as follows:

dylanv@dylan-1 lib $ sudo /etc/init.d/net.eth1 stop
 * Bringing eth1.4 down
 *   Removing inet6 addresses
 *     eth1.4 inet6 del fe80::211:43ff:fedd:90c/64...                                                                                                   [ ok ]
 *   Stopping eth1.4...                                                                                                                                 [ ok ]

Message from syslogd@localhost at Thu Apr  7 14:30:20 2005 ...
localhost kernel: unregister_netdevice: waiting for eth1.4 to become free. Usage count = 6

Message from syslogd@localhost at Thu Apr  7 14:31:00 2005 ...
localhost last message repeated 4 times


Some pertinant information:

lspci for eth1:

0000:07:08.0 Ethernet controller: Intel Corporation 82541GI/PI Gigabit Ethernet Controller (rev 05)
        Subsystem: Dell: Unknown device 016d
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 65
        Memory at df8e0000 (32-bit, non-prefetchable)
        I/O ports at dcc0 [size=64]
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device.

lsmod for the system:

Module                  Size  Used by
ipv6                  241856  -
rtc                    10060  -
8021q                  17608  -
e1000                  85044  -

uname -a:

Linux dylan-1 2.6.11-gentoo-r5 #6 SMP Thu Apr 7 12:29:14 PDT 2005 i686 Intel(R) Xeon(TM) CPU 3.00GHz GenuineIntel GNU/Linux

/etc/conf.d/net configuration for eth1:

iface_eth1="0.0.0.0 mtu 1504"
iface_eth1_vlans="4 6 10"
iface_eth1_4="192.168.1.27 broadcast 192.168.1.255 netmask 255.255.255.0"
iface_eth1_6="10.3.1.52 broadcast 10.3.1.255 netmask 255.255.255.0"
iface_eth1_10="172.16.254.4 broadcast 172.16.254.255 netmask 255.255.255.0"



Reproducible: Always
Steps to Reproduce:
1. Boot system
2. Start eth1 via /etc/init.d/net.eth1 start
3. Attempt to stop or restart eth1

Actual Results:  
See description
Comment 1 Dylan Vanderhoof 2005-04-07 14:48:35 UTC
This appears to be IPv6 related.  Removing ipv6 from the kernel and adding -ipv6 to my USE flags and doing an emerge -uD --newuse world eliminated the problem.

Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-04-13 16:31:17 UTC

*** This bug has been marked as a duplicate of 87495 ***