public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Paul Rolland" <rol@as2917.net>
To: "'Chris Friesen'" <cfriesen@nortelnetworks.com>, <paulus@samba.org>
Cc: <linux-kernel@vger.kernel.org>, <linux-ppp@vger.kernel.org>
Subject: Re: [BUG]:   problem when shutting down ppp connection since 2.5.70
Date: Mon, 30 Jun 2003 08:07:25 +0200	[thread overview]
Message-ID: <005e01c33ecd$e20ce6e0$4100a8c0@witbe> (raw)
In-Reply-To: <3EFFA1EA.7090502@nortelnetworks.com>

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


  reply	other threads:[~2003-06-30  5:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-30  2:35 [BUG]: problem when shutting down ppp connection since 2.5.70 Chris Friesen
2003-06-30  6:07 ` Paul Rolland [this message]
2003-06-30  8:05   ` Russell King
2003-06-30  8:03     ` David S. Miller
2003-06-30  8:23       ` Russell King
2003-06-30  8:42         ` Paul Rolland
2003-06-30 11:18 ` Paul Mackerras
2003-06-30 11:36   ` Paul Mackerras
2003-06-30 14:02   ` Chris Friesen
2003-06-30 15:37     ` Stephen Hemminger
2003-06-30 16:41       ` Chris Friesen
2003-07-01  2:26   ` Chris Friesen
2003-07-03  5:17 ` Chris Friesen
2003-07-06  9:43   ` Paul Rolland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005e01c33ecd$e20ce6e0$4100a8c0@witbe' \
    --to=rol@as2917.net \
    --cc=cfriesen@nortelnetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-ppp@vger.kernel.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox