From owner-freebsd-bugs Tue Apr 3 1:20:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 434C937B748 for ; Tue, 3 Apr 2001 01:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f338K1516443; Tue, 3 Apr 2001 01:20:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F05A637B720 for ; Tue, 3 Apr 2001 01:12:32 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f338CWO13219; Tue, 3 Apr 2001 01:12:32 -0700 (PDT) (envelope-from nobody) Message-Id: <200104030812.f338CWO13219@freefall.freebsd.org> Date: Tue, 3 Apr 2001 01:12:32 -0700 (PDT) From: brett@lariat.org To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/26309: PPPoE client panics in kernel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26309 >Category: kern >Synopsis: PPPoE client panics in kernel >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 03 01:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Brett Glass >Release: 4.3-RC2 >Organization: >Environment: FreeBSD fubar.brettglass.com 4.3-RC2 FreeBSD 4.3-RC2 #4: Mon Apr 2 02:35:57 MDT 2001 root@fubar.brettglass.com:/usr/src/sys/compile/FUBAR i386 >Description: Have been trying to set up a PPPoE client on 4.3-RC2 as instructed in the FreeBSD Handbook, but the machine regularaly page faults in the kernel just as the link is preparing to come up (that is, right after ppp says "Using interface: tun0.") The panic display said that the "current process" was ppp (not surprisingly) and that the CPU had encountered a page fault "while in kernel mode." The Netgraph, Netgraph sockets, Netgraph PPPoE, and Netgraph Ethernet modules were all compiled statically into the kernel and so didn't have to be loaded. Given that tun is a pretty simple device and ppp is well tested, this tester suspects that the bug is in the Netgraph system somewhere (but cannot tell for sure). >How-To-Repeat: Configure PPPoE as instructed in the FreeBSD handbook. My ppp.conf looked like this: default: set device PPPoE:fxp0:pppserv # The PPPoE host will list itself as "pppserv" set mru 1492 set mtu 1492 set authname username set authkey passwordstring set log Phase tun command # you can add more detailed logging if you wish set dial set login # Let the server dictate address based on its # ppp.secret file, which contains a static # address for each user set ifaddr 0.0.0.0/0 0.0.0.0/0 add default HISADDR nat enable yes papchap: set authname username set authkey passwordstring Then, just start PPP with "ppp -ddial". The actual presence of a server did not seem to be required. >Fix: At time of submission could not find a workaround. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message