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 [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to