Date: Wed, 21 Nov 2001 14:27:54 +1000 From: Greg Black <gjb@gbch.net> To: Brian Somers <brian@freebsd-services.com> Cc: Matthew Emmerton <matt@gsicomp.on.ca>, net@FreeBSD.ORG Subject: Re: ppp(8) crashes 4.2-R when using netgraph(4) module Message-ID: <nospam-1006316874.22437@bambi.gbch.net> In-Reply-To: <200111201924.fAKJOBv53857@hak.lan.Awfulhak.org> of Tue, 20 Nov 2001 19:24:11 GMT References: <200111201924.fAKJOBv53857@hak.lan.Awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Brian Somers wrote:
| > Dynamic loading of negraph modules is still broken, and probably won't be
| > fixed until 5.0 (at least that's what the comments on the zillion PRs
| > about this problem say.)
| >
| > Add 'options NETGRAPH_ETHER' and 'options NEGRAPH_SOCKET' to your kernel
| > config file and rebuild your kernel.
|
| I dynamically load all the modules required for client and server
| PPPoE on -stable and -current without problems:
Well, I had already compiled all the netgraph stuff into the
kernel before I saw this. And it did get rid of the netgraph
complaints as part of the next few panics.
| There is a problem where many of the NIC drivers get confused when
| netgraph gives them packets before they're IFF_UP'd. ppp now works
| around the problem by bringing the interface up as required.
|
| The originator should try building the latest version of ppp on his
| 4.2 machine and see if that helps.
I took the easy way out here and just ran
ifconfig xl0 inet 10.0.0.1
After that, no more panics and the ADSL modem worked first time.
Now, the final question: I have to implement something similar
on a 4.1-R system several thousand km away. There's no question
of upgrading it from 4.1 and I can't afford to have it panic.
Is it reasonable to expect that PPPoE will work OK provided I
add the netgraph stuff to the kernel and ensure the NIC is UP
before running ppp?
FYI, I also tried a different box that runs 4.3-R and it did not
experience the panic that was seen on the 4.2-R system.
Thanks a lot for the help with this.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?nospam-1006316874.22437>
