From owner-freebsd-stable Mon Mar 26 22:15: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id C2D8E37B718 for ; Mon, 26 Mar 2001 22:15:02 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id WAA33186; Mon, 26 Mar 2001 22:10:36 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.1/8.11.1) id f2R69ve41617; Mon, 26 Mar 2001 22:09:57 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200103270609.f2R69ve41617@arch20m.dellroad.org> Subject: Re: Kernel Panic on 4.3-RC #0 using PPPoE In-Reply-To: <200103270320.f2R3Ksu41321@arch20m.dellroad.org> "from Archie Cobbs at Mar 26, 2001 07:20:54 pm" To: Archie Cobbs Date: Mon, 26 Mar 2001 22:09:57 -0800 (PST) Cc: Sleepless in Brisbane , freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Archie Cobbs writes: > > I am receiving kernel panics under 4.3-RC #0 when trying to bring up PPPoE. > > A copy of the kernel debug, the start up and the actual PPP configuration are > > attached. It appears to be something in the subroutine called fxp_start of > > the actual ethernet card (Which is an Intel Express) trying to use a structure > > which has not yet been initialized. The machine is an SMP machine as well; > > although compiling without SMP support has so far made no difference. The > > problem also occurs under 4.2-RELEASE. Any help on the subject would be > > appreciated. > > I think that the interface has not yet been brought up (IFF_UP) > before the first packet is sent out of it. This can normally only > happen when using netgraph (or raw sockets I suppose)... the > fxp driver seems to assume that it will never see an output packet > without an IFF_UP first, which is no longer true. > > Also, ppp(8) should be setting IFF_UP on the interface before > trying to send out of it. > > Not sure why this hasn't been detected before though. Below is > a possible patch. Actually a better fix is probably to check for IFF_UP at the beginning of ether_output_frame()... -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message