On Mon, Jun 30, 2003 at 01:03:37AM -0700, David S. Miller wrote: > From: Russell King <rmk@arm.linux.org.uk> > Date: Mon, 30 Jun 2003 09:05:07 +0100 > > People with PCMCIA cards have been reporting the same thing. It sounds > like something's up with the netdev layer, and it has persisted until > 2.5.73 thus far. > > If there are bugs in pcmcia drivers, they are _really_ going to show > now. The change is that 'rmmod' is allowed even if the device is > "up". We don't grab/drop module reference counts when the device is > brought up/down. We simply "down" up net devices at > unregister_netdevice() time. > > So if a device is racey, it's going to be "really" racey now. > > If people mention which devices give the problems (with current > kernels, we've fixed a lot of bugs as of late) the drivers can > be audited for register/unregister bugs. The thread I replied to is about pppoe devices, so it isn't limited to PCMCIA, although that seems to be the most popular subset which causes the problem. Chris Friesen <cfriesen@nortelnetworks.com> wrote: > Summary: > On 2.5.70 and later kernels, shutting down a pppoe connection causes > pppd to hang and results in a usage count stuck at 1. John M Flinchbaugh <glynis@butterfly.hjsoft.com> wrote: > i still see it with both my 3c574_cs and my orinoco_cs in 2.5.73. bvermeul@blackstar.nl wrote: > I'm having some problems with 2.5.71 (latest bk yesterday I believe). > All works well (pcmcia works as advertised, with one tiny blip on > the horizon), except when I want to reboot, when I get the following > message: > > unregister_netdevice: waiting for eth1 to become free. Usage count = 1 > > The net device is an Orinoco mini-pci card (eg, cardbus minipci interface > with built-in orinoco card), and it is down. -- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html