From owner-freebsd-net Mon Nov 19 23:22:34 2001 Delivered-To: freebsd-net@freebsd.org Received: from gw.gbch.net (gw.gbch.net [203.143.238.93]) by hub.freebsd.org (Postfix) with SMTP id 58F1737B416 for ; Mon, 19 Nov 2001 23:22:27 -0800 (PST) Received: (qmail 1584 invoked by uid 1001); 20 Nov 2001 17:22:40 +1000 X-Posted-By: GJB-Post 2.22 07-Nov-2001 X-Operating-System: FreeBSD 4.2-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-GPG-Fingerprint: EBB2 2A92 A79D 1533 AC00 3C46 5D83 B6FB 4B04 B7D6 X-PGP-Public-Keys: http://www.gbch.net/keys.html Message-Id: Date: Tue, 20 Nov 2001 17:22:40 +1000 From: Greg Black To: net@freebsd.org Subject: ppp(8) crashes 4.2-R when using netgraph(4) module Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: 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