From: "Aurélien GÉRÔME" <ag@roxor.be>
To: linux-kernel@vger.kernel.org
Cc: Janos Farkas <jf-ml-k1-1087813225@lk8rp.mail.xeon.eu.org>,
netdev@oss.sgi.com
Subject: Re: waiting for ppp0 to become free (Re: ppp0 out of control)
Date: Wed, 26 Jan 2005 21:31:18 +0100 [thread overview]
Message-ID: <20050126203118.GB3705@roxor.be> (raw)
In-Reply-To: <20050126094422.GA31040@lk8rp.mail.xeon.eu.org>
[-- Attachment #1: Type: text/plain, Size: 1922 bytes --]
On Wed, Jan 26, 2005 at 10:44:22AM +0100, Janos Farkas wrote:
> On 2005-01-21 at 15:44:44, Aurélien GÉRÔME wrote:
> > I am running 2.6.10 from kernel.org on Debian Sid ppc/x86, the same
> > issue occurs with 2.6.9. Though, 2.6.8.1 and previous are fine.
> >
> > When my ISP connection via PPPoE (kernel side) goes down, reconnection
> > does not occur, and the kernel displays continuous:
> >
> > kernel: unregister_netdevice: waiting for ppp0 to become free. Usage count = 1
>
> BTW, I have seen many cases when this symptom annoyed me too, the last
> one is that my shutdown scripts tried unloading the network driver
> modules. Is your setup doing this by any chance? In my case,
> apparently there were conntrack entries keeping the device in use,
> which is almost useless when preparing to shutdown :)
Actually, it happens after my ISP's LCP echos are not coming anymore,
and then when pppd try to reconnect.
> OTOH, I couldn't find a way to flush those conntracks, so I worked
> around it by not rmmoding ethernet drivers.
I have conntrack modules loaded too. I will try removing 8139too
(on x86) and sungem (on ppc) if the issue occurs again. By the way,
I also have IPv6 loaded, since I use a dual-stacked connection with
native IPv6. How lucky I am! :)
> In your case, it's probably conntrack too, I'd presume you are using
> that PPPoE machine as a masquerading gateway, which by definition needs
> connection tracking... I'm not sure either if this is a "real" change,
> I only vaguely recollect as some moons earlier this wasn't a problem in
> 2.6.
Yep, 2.6.8.1 works fine, this issue appears on 2.6.9 and 2.6.10. I
switched to a Debian 2.6.10 kernel for security reasons, and
the issue has not come yet. I had a glance at the changelog and
saw some network related patches. This is the -as patchset, see
<http://kerneltrap.org/node/4545> about it.
Cheers.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-01-26 20:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050121144444.GA2100@roxor.be>
2005-01-26 9:44 ` waiting for ppp0 to become free (Re: ppp0 out of control) Janos Farkas
2005-01-26 10:02 ` Andre Tomt
2005-01-26 20:31 ` Aurélien GÉRÔME [this message]
2005-01-30 15:39 ` Alan Cox
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=20050126203118.GB3705@roxor.be \
--to=ag@roxor.be \
--cc=jf-ml-k1-1087813225@lk8rp.mail.xeon.eu.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
/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;
as well as URLs for NNTP newsgroup(s).