2008-05-05 07:26:09     Help , can not run my pppd-2.4.4

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-05-05 07:26:09     Help , can not run my pppd-2.4.4

L xiao (AFGHANISTAN)

Message: 55495   

 

I read http://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:ppp first ,and then compiled pppd-2.4.4 and rp-pppoe by "make menuconfig" , my platform is BF537 ,but thing no i want.....

 

root:~> pppd pty 'pppoe' user test password test

munmap of non-mmaped memory by process 43 (pppd)

Instruction fetch CPLB miss

- CPLB miss on an instruction fetch.

 

CURRENT PROCESS:

 

COMM=pppd PID=43

TEXT = 0x01400000-0x01431828  DATA = 0x01480828-0x014d0230

BSS = 0x014d0230-0x003e0000   USER-STACK = 0x003ffe90

 

return address: [0xe3009110]; contents of:<0>Cannot look at the [PC] for it isin unreadable L1 SRAM - sorry

RETE:  00000000  RETN: 006e4000  RETX: e3009110  RETS: 0140749c

IPEND: 0030  SYSCFG: 0006

SEQSTAT: 0000002c    SP: 006e3f24

R0: 01487368    R1: 003ffc34    R2: 00000009    R3: 00000002

R4: 00000007    R5: 014825f0    R6: 00000007    R7: 01483ef8

P0: 000000be    P1: e3009110    P2: 006f309c    P3: a0f8dfa7

P4: 01487368    P5: 0000002c    FP: 003ffc40

A0.w: 00000010    A0.x: 00000000    A1.w: 00000010    A1.x: 00000000

LB0: 00556161  LT0: 00556154  LC0: 00000000

LB1: 0141b0a3  LT1: 0141b0a2  LC1: 00000000

B0: 00000000  L0: 00000000  M0: 00000000  I0: 003ffc3d

B1: 005562a4  L1: 00000000  M1: 00000000  I1: 003b50b8

B2: 00000000  L2: 00000000  M2: 00000000  I2: 00000000

B3: 00000000  L3: 00000000  M3: 00000000  I3: 003ffc68

 

USP: 003ffc24   ASTAT: 02003005

DCPLB_FAULT_ADDR=014073cc

ICPLB_FAULT_ADDR=e3009110

 

 

Hardware Trace:

   0 Target : <0x00103118> { _trap_c + 0x0 }

     Source : <0xffa010fc> { _exception_to_level5 + 0xb4 }

   1 Target : <0xffa01048> { _exception_to_level5 + 0x0 }

     Source : <0xffa00fa0> { _ex_trap_c + 0x68 }

   2 Target : <0xffa01174> { _trap + 0x0 }

     Source : <0x0140663e> [ /bin/pppd + 0x663e ]

   3 Target : <0x01406636> [ /bin/pppd + 0x6636 ]

     Source : <0x01407498> [ /bin/pppd + 0x7498 ]

   4 Target : <0x01407494> [ /bin/pppd + 0x7494 ]

     Source : <0x014073b8> [ /bin/pppd + 0x73b8 ]

   5 Target : <0x014073b0> [ /bin/pppd + 0x73b0 ]

     Source : <0x0050bf02> [ /lib/libuClibc-0.9.29.so + 0xbf02 ]

   6 Target : <0x0050bf02> [ /lib/libuClibc-0.9.29.so + 0xbf02 ]

     Source : <0xffa016a0> { __common_int_entry + 0xd8 }

   7 Target : <0xffa0163e> { __common_int_entry + 0x76 }

     Source : <0xffa01804> { _evt_system_call + 0x64 }

   8 Target : <0xffa01804> { _evt_system_call + 0x64 }

     Source : <0xffa01330> { _system_call + 0xb8 }

   9 Target : <0xffa0132c> { _system_call + 0xb4 }

     Source : <0xffa0131c> { _system_call + 0xa4 }

  10 Target : <0xffa01316> { _system_call + 0x9e }

     Source : <0xffa01306> { _system_call + 0x8e }

  11 Target : <0xffa012e0> { _system_call + 0x68 }

     Source : <0xffa001d4> { _sys_vfork + 0x10 }

  12 Target : <0xffa001d0> { _sys_vfork + 0xc }

     Source : <0x001008b8> { _bfin_vfork + 0x1c }

  13 Target : <0x001008b4> { _bfin_vfork + 0x18 }

     Source : <0x0010a31a> { _do_fork + 0x13a }

  14 Target : <0x0010a312> { _do_fork + 0x132 }

     Source : <0x0010a2f2> { _do_fork + 0x112 }

  15 Target : <0x0010a2e4> { _do_fork + 0x104 }

     Source : <0x00211cac> { _wait_for_completion + 0xa4 }

 

 

anyone can tell me why?thanks!

QuoteReplyEditDelete

 

 

2008-05-05 09:07:46     Re: Help , can not run my pppd-2.4.4

Mike Frysinger (UNITED STATES)

Message: 55505   

 

did you build pppd yourself or did you use the uclinux-dist ?  what version of the kernel/toolchain are you using ?

 

QuoteReplyEditDelete

 

 

2008-05-05 21:54:15     Re: Help , can not run my pppd-2.4.4

L xiao (AFGHANISTAN)

Message: 55527   

 

$  bfin-linux-uclibc-gcc -v

Using built-in specs.

Target: bfin-linux-uclibc

Configured with: /home/disk2/svn-root/toolchain/toolchain/gcc-4.1/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=bfin-linux-uclibc --prefix=/home/svn-toolchain/svn-root-linux-uclibc --enable-threads=posix --enable-shared --with-sysroot=/home/svn-toolchain/svn-root-linux-uclibc/bfin-linux-uclibc/runtime --disable-libstdcxx-pch --disable-symvers --disable-libssp --enable-version-specific-runtime-libs --enable-__cxa_atexit

Thread model: posix

gcc version 4.1.2 (ADI svn)

 

 

 

root:~> uname -a

Linux blackfin 2.6.22.9-ADI-2007R2-pre-svn223 #1082 Mon May 5 15:07:11 CST 2008 blackfin unknown

 

 

 

I build pppd use uClinux-dist and myself also, these two ways seems not ok.

 

I compile pppd within  -D__uClinux__  on my pc ,  things go well, get ip from pppoe-server success, if not , everything will not ..

QuoteReplyEditDelete

 

 

2008-05-07 01:08:02     Re: Help , can not run my pppd-2.4.4

L xiao (AFGHANISTAN)

Message: 55593   

 

 

 

 

 

pppd process run to safe_fork() and then, create a child process to execute pppoe . after vfork , child process collapse, if i exit(EXIT_FAILURE) after safe_fork() return, child process will not collapse, but if i exit() after " pid = safe_fork(in, out, errfd);" in function device_script(), process collapse,

 

it is strange , i do not know why, help me.

QuoteReplyEditDelete

 

 

2008-05-07 04:11:35     Re: Help , can not run my pppd-2.4.4

Mike Frysinger (UNITED STATES)

Message: 55599   

 

this is already fixed in svn ... you can give that a try

Attachments

    Outcomes