Date: Tue, 20 Nov 2001 09:16:35 -0500 (EST) From: Matthew Emmerton <matt@gsicomp.on.ca> To: Greg Black <gjb@gbch.net> Cc: net@FreeBSD.ORG Subject: Re: ppp(8) crashes 4.2-R when using netgraph(4) module Message-ID: <Pine.BSF.4.21.0111200913280.33444-100000@xena.gsicomp.on.ca> In-Reply-To: <nospam-1006240960.01545@bambi.gbch.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Matthew Emmerton || matt@gsicomp.on.ca GSI Computer Services || http://www.gsicomp.on.ca On Tue, 20 Nov 2001, Greg Black wrote: > I rebuilt my 4.2-RELEASE kernel that has been in use for ages > with the following extra lines in the config: > > options NETGRAPH #netgraph(4) system > options NETGRAPH_PPPOE > > My earlier attempt to run ppp(8) on my new ADSL modem failed > because netgraph was not in the kernel. > > After building a clean new kernel and installing it with the new > modules, I tried ppp again and got a panic after a few seconds. > I've tried it about six times. Most attempts got a panic (and I > have typed up the console screen from one of them below), but > some just skipped the panic and rebooted. > > On some attempts, we got a little bit of logging from the ppp > process. Here's one such log: > > ------------------------------------------------------------------------ > Nov 20 15:11:02 Using interface: tun0 > Nov 20 15:11:02 deflink: Created in closed state > Nov 20 15:11:02 Command: default: set filter alive 0 deny icmp > Nov 20 15:11:02 Command: default: set filter alive 1 deny udp src eq 53 > Nov 20 15:11:02 Command: default: set filter alive 2 deny udp dst eq 53 > Nov 20 15:11:02 Command: default: set filter alive 3 permit 0 0 > Nov 20 15:11:02 Command: bne-pi-adsl: set device PPPoE:xl0 > Nov 20 15:11:02 Command: bne-pi-adsl: set authname ******** > Nov 20 15:11:02 Command: bne-pi-adsl: set authkey ******** > Nov 20 15:11:02 Command: bne-pi-adsl: set ifaddr 203.143.238.93 0.0.0.0/0 > Nov 20 15:11:02 Command: bne-pi-adsl: add default HISADDR > Nov 20 15:11:02 Command: bne-pi-adsl: set timeout 0 > Nov 20 15:11:02 Phase: PPP Started (foreground mode). > Nov 20 15:11:02 Phase: bundle: Establish > Nov 20 15:11:02 Phase: deflink: closed -> opening > ------------------------------------------------------------------------ > > Each line also had the following data after the date: > <daemon.info> bambi ppp[95014]: tun0: > > Here's the console screen on one panic: > > ------------------------------------------------------------------------ > module_register: module netgraph already exists! > linker_file_sysinit "netgraph.ko" failed to register! 17 > > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x4 > fault code = supervisor write, page not present > instruction pointer = 0x8:0xc01c9e3f > stack pointer = 0x10:0xd24c2c98 > frame pointer = 0x10:0xd24c2ca8 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 77817 (ppp) > interrupt mask = net > trap number = 12 > panic: page fault > > syncing disks... 113 7 2 > done > Uptime: 5m2s > Automatic reboot in 15 seconds - press a key [rest elided] > ------------------------------------------------------------------------ > > If anybody can point me in the right direction to solve this, > I'll be very grateful. My sole goal is to get ppp to talk to my > ADSL modem, so if there's some other magic I should try, I'm > happy to do that. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > 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?Pine.BSF.4.21.0111200913280.33444-100000>