Dear all, I update my system 4.10-STABLE(27 May) to FreeBSD 4.10-STABLE(June 2) without problems but now my connection ADSL does not work , previously worked correctly, and the connections with loopback 127.0.0.1 delay much, example ssh/ftp/ 127.0.0.1 delay 30 - 40 seconds. [ppp.log messages] Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: Disconnected! Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: carrier -> hangup Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: 0 packets in, 0 packets out Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Thu Jun 3 14:54:30 2004 Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: hangup -> opening Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: Enter pause (0) for redialing. Jun 3 14:54:35 HellFire ppp[56]: tun0: Chat: deflink: Redial timer expired. Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: Connected! Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: opening -> dial Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: dial -> carrier (repeatedly) Device rl0(Realtek 8139) Does it can be bug? ACMhUnTeR
On Thu, 03 Jun 2004 18:16:00 <acardenas@bsdperu.org> wrote:> Dear all, > > I update my system 4.10-STABLE(27 May) to FreeBSD > 4.10-STABLE(June 2) without problems but now my connection > ADSL does not work , previously worked correctly, and the > connections with loopback 127.0.0.1 delay much, example > ssh/ftp/ 127.0.0.1 delay 30 - 40 seconds. > > [ppp.log messages] > > Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: > Disconnected! Jun 3 14:54:35 HellFire ppp[56]: tun0: > Phase: deflink: carrier -> hangup Jun 3 14:54:35 HellFire > ppp[56]: tun0: Phase: deflink: Connect time: 5 secs: 0 > octets in, 0 octets out Jun 3 14:54:35 HellFire ppp[56]: > tun0: Phase: deflink: 0 packets in, 0 packets out Jun 3 > 14:54:35 HellFire ppp[56]: tun0: Phase: total 0 > bytes/sec, peak 0 bytes/sec on Thu Jun 3 14:54:30 2004 > Jun 3 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: > hangup -> opening Jun 3 14:54:35 HellFire ppp[56]: tun0: > Phase: deflink: Enter pause (0) for redialing. > Jun 3 14:54:35 HellFire ppp[56]: tun0: Chat: deflink: > Redial timer expired. Jun 3 14:54:35 HellFire ppp[56]: > tun0: Phase: deflink: Connected! Jun 3 14:54:35 HellFire > ppp[56]: tun0: Phase: deflink: opening -> dial Jun 3 > 14:54:35 HellFire ppp[56]: tun0: Phase: deflink: dial -> > carrier > > (repeatedly) > > Device rl0(Realtek 8139) > > Does it can be bug? > > ACMhUnTeR > >I seen this same behavior today (06.03.04) after updating sources. My last update was 05.27.04 and everything worked fine at that point in the branch. PPPoE on today's stable doesn't load the netgraph modules: netgraph.ko ng_ether.ko ng_pppoe.ko ng_socket.ko when PPPoE is started. I reverted to sources to 05.27.04 date, did buildworld and PPPoE is working again by adding the following to my supfile: *default date=2004.05.27.23.00.00 If I can help in narrowing down the date of failure please let me know. Thanks, Rob
On Sat, Jun 05, 2004 at 03:50:41PM -0400, Randy Pratt wrote:> On Sat, 5 Jun 2004 12:47:12 -0500 (CDT) > Archie Cobbs <archie@dellroad.org> wrote: > <snip> > > > > Edit src/sys/netgraph/ng_ether.c > > > > Add delta 1.2.2.15 2004.06.01.22.55.24 archie > > > > > > This is the culprit. I was having the same problem (PPPoE stopped > > > > Oops, my apologies.. I incorrectly applied the MFC. Please try the > > patch below (apply to the newer version of ng_ether.c) and let me > > know if this makes things work again. > > The patch below works for me!It works for me as well.> Thanks for jumping on this.Indeed, thanks for the quick patch.> I would have had to find my old dialup modem otherwise!Dialup modem? What are you talking about? ;-) Cheers, --rro -- rro at das ufsc br> > __________________________________________________________________________ > > Archie Cobbs * CTO, Awarix * http://www.awarix.com > > > > --- ng_ether.c.orig Sat Jun 5 12:45:04 2004 > > +++ ng_ether.c Sat Jun 5 12:45:35 2004 > > @@ -89,7 +89,7 @@ > > static void ng_ether_detach(struct ifnet *ifp); > > > > /* Other functions */ > > -static void ng_ether_input2(node_p node, > > +static void ng_ether_input2(hook_p hook, > > struct mbuf **mp, struct ether_header *eh); > > static int ng_ether_glueback_header(struct mbuf **mp, > > struct ether_header *eh); > > @@ -203,7 +203,7 @@ > > /* If "lower" hook not connected, let packet continue */ > > if (priv->lower == NULL) > > return; > > - ng_ether_input2(node, mp, eh); > > + ng_ether_input2(priv->lower, mp, eh); > > } > > > > /* > > @@ -224,7 +224,7 @@ > > m_freem(m); > > return; > > } > > - ng_ether_input2(node, &m, eh); > > + ng_ether_input2(priv->orphan, &m, eh); > > if (m != NULL) > > m_freem(m); > > } > > @@ -237,9 +237,9 @@ > > * NOTE: this function will get called at splimp() > > */ > > static void > > -ng_ether_input2(node_p node, struct mbuf **mp, struct ether_header *eh) > > +ng_ether_input2(hook_p hook, struct mbuf **mp, struct ether_header *eh) > > { > > - const priv_p priv = node->private; > > + const priv_p priv = hook->node->private; > > meta_p meta = NULL; > > int error; > > > > @@ -248,7 +248,7 @@ > > return; > > > > /* Send out lower/orphan hook */ > > - (void)ng_queue_data(priv->lower, *mp, meta); > > + (void)ng_queue_data(hook, *mp, meta); > > *mp = NULL; > > } > > > > > > > --
Archie Cobbs wrote:> > Oops, my apologies.. I incorrectly applied the MFC. Please try the > patch below (apply to the newer version of ng_ether.c) and let me > know if this makes things work again.Just cvsup'd and nothing new came across as of 1600 GMT June 6. I'm wondering why this patch hasn't been committed yet, since it seems to work.