PPPoed crashed!!

Bikrant bikrant_ml at wlink.com.np
Wed Apr 21 21:20:35 PDT 2004


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 at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Bikrant
> Neupane
> Sent: Monday, April 19, 2004 2:11 AM
> To: questions at freebsd.org; freebsd-isp at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-isp at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"



More information about the freebsd-isp mailing list