Messages in this thread | | | From | "Paul Rolland" <> | Subject | Re: [BUG]: problem when shutting down ppp connection since 2.5.70 | Date | Mon, 30 Jun 2003 08:07:25 +0200 |
| |
Hello Chris,
> 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. > > Details: > > I have a pppoe dsl connection and I use the roaring penguin > stuff that > comes default with Mandrake 9. My connection is brought up at init > time. With kernels past 2.5.69, if I try and shut down the > connection I > get logs as follows: > > Jun 29 17:18:39 doug kernel: unregister_netdevice: waiting > for ppp0 to > become free. Usage count = 1
Interestingly, I've got the same with device tun0 on my box, and it appeared at the same time. 2.5.70 was really blocking as it even prevented a normal shutdown of the box :-(
Problem is that now, there is a counter of how many "instances" are using a netdevice... and somehow, the counter can be inc'ed, but ppp and tun seems to never be dec'ed...
I haven't found where it is, but I made a quick fix in my own kernel tree to decrement the reference counter each time the message is printed... This allow my box to stop bugging me with these messages, and now it can shutdown nicely.
Sorry, I have no other clue as to where it is broken....
Regards, Paul
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |