Re: PPPoed crashed!!

From: Bikrant (bikrant_ml_at_wlink.com.np)
Date: 04/22/04

  • Next message: Gleb Smirnoff: "Re: PPPoed crashed!!"
    To: freebsd-isp@freebsd.org
    Date: Thu, 22 Apr 2004 10:05:24 +0545
    
    

    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"

    _______________________________________________
    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"


  • Next message: Gleb Smirnoff: "Re: PPPoed crashed!!"

    Relevant Pages

    • RE: The availability of socketbits.h?
      ... > A bug in the program. ... But after compile, there is a new segmentation fault, here is the GDB trace: ... Reading symbols from /lib/libcrypt.so.2...done. ... Loaded symbols for /lib/libcrypt.so.2 ...
      (freebsd-questions)
    • DTrace panic while probing syscall::open (and possibly many others)
      ... GDB is free software, covered by the GNU General Public License, and you are ... Reading symbols from /boot/kernel/dtraceall.ko...Reading symbols from / boot/kernel/dtraceall.ko.symbols...done. ... Loaded symbols for /boot/kernel/dtraceall.ko ... Hope this helps to fix this bug - I assume syscall::open isn't the only probe ...
      (freebsd-current)
    • RE: PPPoed crashed!!
      ... 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. ...
      (freebsd-isp)
    • RE: PPPoed crashed!!
      ... 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. ...
      (freebsd-questions)
    • possible PPP bugfix / enhancement ?
      ... This has been an outstanding bug / issue for some time in FreeBSD's PPPoE ... for a lot of DSL users. ... Juniper's LQR implementation. ...
      (freebsd-current)