From owner-freebsd-stable@FreeBSD.ORG Thu Dec 6 13:08:05 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36C2916A41A; Thu, 6 Dec 2007 13:08:05 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 7021F13C43E; Thu, 6 Dec 2007 13:08:03 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.7.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 52680673; Thu, 06 Dec 2007 13:57:19 +0200 Message-ID: <4757E39C.8020009@FreeBSD.org> Date: Thu, 06 Dec 2007 13:57:16 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.0 (X11/20070424) MIME-Version: 1.0 To: cpghost References: <20071206030500.746c782d@epia-2.farid-hajji.net> In-Reply-To: <20071206030500.746c782d@epia-2.farid-hajji.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Julian Elischer , freebsd-stable@freebsd.org Subject: Re: "no matching session" in ng_pppoe.c 1.74.2.4? (RELENG_6) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2007 13:08:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 cpghost wrote: > The problem is that the last mile carrier of the PPP provider > that this router is attached to disconnects the ppp session > forcibly once every 24h. Before the update, ppp would detect > this and reconnect immediately. After the update, ppp doesn't > recover gracefully from this anymore, but spits out on the > console: > > ng_pppoe[5]: no matching session > > for hours, and tries to connect again every two minutes without > success, until I manually stop and restart the userland ppp daemon > (and then the connection is immediately restored with a new session). > I've tried this for a few days now, and it is always the same: it's > definitely not a problem on the provider's side: As soon as ppp > restarts, it gets a new session without any problems and connects > again. > > Since the last working sources were from 2007/09/25, and > ng_pppoe.c was at rev. 1.74.2.3; and the new revision of > ng_pppoe.c is now at 1.74.2.4; I'm suspecting that whatever > was changed there could be the cause (because this "no matching > session" is being logged from there). I have tested and unable to reproduce that myself with ppp -> mpd or mpd - -> mpd PPPoE connections. Actually I am not sure about any difference between reconnect and ppp restart. From the ng_pppoe node point of view it should be the same. Could you provide tcpdump output for connection tries from your Ethernet interface? Use "-pes 0" options please. - -- Alexander Motin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHV+Oc0kCgngV3usoRAnZtAKCQ/7hW63Zli9UiytDK1xj8lNrsBQCffwhl 377pyCH24ytoR8tOnbtYqX8= =v+x0 -----END PGP SIGNATURE-----