From owner-freebsd-stable Thu May 17 15:52:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gta.com (mailgate.gta.com [199.120.225.4]) by hub.freebsd.org (Postfix) with ESMTP id 6ED4E37B422 for ; Thu, 17 May 2001 15:52:50 -0700 (PDT) (envelope-from lab@gta.com) Received: from gta.com (GTA internal mail system) by gta.com id SAA21250; Thu, 17 May 2001 18:50:40 -0400 (EDT) Date: Thu, 17 May 2001 18:50:40 -0400 (EDT) Message-Id: <200105172250.SAA21250@gta.com> From: Larry Baird To: freebsd-stable@freebsd.org Cc: Subject: Re: pppoe crashes in 4.3-stable (14.5.2000) became another fxp-Problem X-Newsgroups: freebsd.stable In-Reply-To: <994F3E5EFB739743BC71B64CAA256F5D4205@gta.com> Organization: Global Technology Associates, Inc. User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG In article <994F3E5EFB739743BC71B64CAA256F5D4205@gta.com> you wrote: >> > I tried compiling in all of the netgraph-stuff >> (statically), the result >> > remains the same. >> > I built the world, after changing any kernel-options. And >> now i've upgraded >> > again to 4.3-stable (16.05.01). Nothing changed. >> >> I had the same problem. You need to have: >> >> # PPPoE Stuff >> options NETGRAPH >> options NETGRAPH_ETHER >> options NETGRAPH_PPPOE >> options NETGRAPH_SOCKET >> >> all four of these things in your Kernal in order for it to >> work right. >> > Ok, I found the problem. Just changed the Intel EtherXpress with an old > RTL8029. > No Problems with PPPoE anymore. Seems to be another Problem of the new > fxp-Driver (thx for it :-)) Look at the archives this is a reported problem (and fix) with the fxp driver (new or old). Pppoe tries to send packets using the fxp driver when the interface isn't up yet. This causes a panic in the fxp driver. I am not in a position to generate diffs for the fix but you want to add: /* * Don't send anything unless initialized. */ if ((ifp->if_flags & IFF_UP) == 0) return; to the fxp_start() function like below to get around this problem. static void fxp_start(struct ifnet *ifp) { struct fxp_softc *sc = ifp->if_softc; struct fxp_cb_tx *txp; /* * Don't send anything unless initialized. */ if ((ifp->if_flags & IFF_UP) == 0) return; Larry -- ------------------------------------------------------------------------ Larry Baird | http://www.gnatbox.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message