Date: Tue, 20 Nov 2001 17:22:40 +1000 From: Greg Black <gjb@gbch.net> To: net@freebsd.org Subject: ppp(8) crashes 4.2-R when using netgraph(4) module Message-ID: <nospam-1006240960.01545@bambi.gbch.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?nospam-1006240960.01545>