From owner-freebsd-isp@FreeBSD.ORG Wed Apr 21 21:20:35 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C678016A4CE for ; Wed, 21 Apr 2004 21:20:35 -0700 (PDT) Received: from smtp4.wlink.com.np (smtp4.wlink.com.np [202.79.32.87]) by mx1.FreeBSD.org (Postfix) with SMTP id C494C43D5A for ; Wed, 21 Apr 2004 21:20:32 -0700 (PDT) (envelope-from bikrant_ml@wlink.com.np) Received: (qmail 96202 invoked from network); 22 Apr 2004 04:20:29 -0000 Received: from unknown (HELO qmail-scanner.wlink.com.np) (202.79.32.74) by 0 with SMTP; 22 Apr 2004 04:20:29 -0000 Received: (qmail 44928 invoked by uid 1008); 22 Apr 2004 04:20:29 -0000 Received: from bikrant_ml@wlink.com.np by qmail-scanner.wlink.com.np by uid 1002 with qmail-scanner-1.20 (clamscan: 0.60. Clear:RC:1(202.79.32.76):. Processed in 0.089779 secs); 22 Apr 2004 04:20:29 -0000 Received: from smtp1.wlink.com.np (202.79.32.76) by qmail-scanner.wlink.com.np with SMTP; 22 Apr 2004 04:20:29 -0000 Received: (qmail 26038 invoked by uid 508); 22 Apr 2004 04:20:29 -0000 Received: from [202.79.36.168] (HELO bikrant.org.np) by smtp1.wlink.com.np (qmail-smtpd) with SMTP; 22 Apr 2004 04:20:29 -0000 (Thu, 22 Apr 2004 10:05:29 +0545) From: Bikrant To: freebsd-isp@freebsd.org Date: Thu, 22 Apr 2004 10:05:24 +0545 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404221005.24999.bikrant_ml@wlink.com.np> X-Spam-Check-By: smtp1.wlink.com.np Spam: No ; 0.0 / 5.0 X-Spam-Status: No, hits=0.0 required=5.0 cc: fbsd_user Subject: Re: PPPoed crashed!! X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 04:20:35 -0000 On Monday 19 April 2004 18:17, fbsd_user wrote: > Pppoe is one of the major work horses of FBSD. > There being an bug is very unlikely in 4.9. > Odds are you have mis-configured an configuration file. > > If you are running pppoe under gdb as standard production method, > then run pppoe without gdb in the way. > > Posting your rc.conf and ppp.conf so people can review your > configuration file content for errors may prove to be more > productive > in finding your problem. This is what i have in rc.conf kern_securelevel_enable="NO" nfs_reserved_port_only="NONE" sendmail_enable="NO" sshd_enable="YES" usbd_enable="YES" hostname="pppoe.xxx.com.np" ifconfig_em0="inet 202.79.43.15 netmask 255.255.255.224" ifconfig_xl0="inet 202.79.56.1 netmask 255.255.255.0" defaultrouter="202.79.43.1" local_startup="/etc/rc.d" pppoed_enable="YES" pppoed_flags="-d -P /var/run/pppoed.pid -a WIPOPTest -l default" pppoed_interface="xl0" firewall_enable="YES" firewall_type="OPEN" firewall_quiet="NO" static_routes="" gateway_enable="YES" router_enable="YES" router="routed" And in ppp.conf default: allow users enable pap allow mode direct set mru 1492 set mtu 1492 set speed sync set timeout 3600 enable lqr set ifaddr 202.79.56.1 202.79.56.11-202.79.56.80 load server set radius /etc/radius.conf accept dns and bt result pppoe# gdb -c pppoed.core-2004-04-13 /usr/libexec/pppoed Core was generated by `pppoed'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libnetgraph.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done. #0 0x280e461f in isatty () from /usr/lib/libc.so.4 (gdb) bt #0 0x280e461f in isatty () from /usr/lib/libc.so.4 #1 0x280e48c1 in isatty () from /usr/lib/libc.so.4 #2 0x280e46af in isatty () from /usr/lib/libc.so.4 #3 0x280e48c1 in isatty () from /usr/lib/libc.so.4 #4 0x280e4fd9 in malloc () from /usr/lib/libc.so.4 #5 0x280e34dc in __smakebuf () from /usr/lib/libc.so.4 #6 0x280e3470 in __swsetup () from /usr/lib/libc.so.4 #7 0x280dda10 in vfprintf () from /usr/lib/libc.so.4 #8 0x280dd66d in fprintf () from /usr/lib/libc.so.4 #9 0x280c4cc9 in vsyslog () from /usr/lib/libc.so.4 #10 0x280c4be5 in syslog () from /usr/lib/libc.so.4 #11 0x8049640 in NgRecvData () #12 0x804a22b in NgRecvData () #13 0x8048dba in NgRecvData () (gdb) with regards, Bikrant > > Describe your hardware connection to your ISP. > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Bikrant > Neupane > Sent: Monday, April 19, 2004 2:11 AM > To: questions@freebsd.org; freebsd-isp@freebsd.org > Subject: PPPoed crashed!! > > I'm running pppoed on freebsd-4.9. It is running smoothly. However > it crashes > sometime with a pppoed.core file dumpped at the root directory. > gdb -c pppoed.core shows that it crashed with signal 11 segmentation > fault. > I'm running the package as it came with the os. I have not upgraded > any thing > except the kernel which I have customized for my needs. > > Is this a bug or am i missing some parameters in the kernel? > > with regards, > Bikrant > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"