2009-11-29 08:03:05     pppoe error

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

2009-11-29 08:03:05     pppoe error

billy zhou (UNITED STATES)

Message: 82859   

 

pls help, thanks a lot!

 

the error info as below:

 

 

 

root:/usr/local/user> adsl-start

*** Running in debug mode... please be patient...

pppoe uses obsolete (PF_INET,SOCK_PACKET)

 

 

*** Finished debugging run.  Please review the file

*** '/tmp/pppoe-debug-290/pppoe-debug.txt' and make sure it does not contain

*** any sensitive information.  Once you are satisfied with it,

*** e-mail it to 'pppoe@roaringpenguin.com' for diagnosis.

 

*** BUT BEFORE YOU DO THIS, make sure you have read the HOW-TO-CONNECT

*** file which came with the rp-pppoe package.

root:/usr/local/user> cat /tmp/pppoe-debug-290/pppoe-debug.txt

---------------------------------------------

Mon Jan  1 00:00:17 UTC 2007

Output of uname -a

Linux blackfin 2.6.19.3-ADI-2007R1.1-ShenOu-svn #257 Sun Nov 29 20:26:08 CST 2009 blackfin unknown

---------------------------------------------

Output of ifconfig -a

eth0      Link encap:Ethernet  HWaddr 12:34:56:80:08:08

          inet addr:192.168.2.8  Bcast:192.168.2.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:7 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

                    Interrupt:37

 

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

        

tunl0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-FF-0B-00-00-00-00-00-00-00-00-00

          NOARP  MTU:1480  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

        

---------------------------------------------

Output of lsmod

Module                  Size  Used by

---------------------------------------------

Output of netstat -n -r

Kernel IP routing table

Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface

192.168.2.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0

---------------------------------------------

Contents of /etc/resolv.conf

nameserver 202.96.102.3

---------------------------------------------

Contents of /etc/ppp/options

lock

---------------------------------------------

ETH=eth0; USER=test

---------------------------------------------

pppd invocation

/bin/pppd pty '/bin/pppoe -p /var/run/adsl.pid.pppoe -I eth0 -T 80  -m 1412 ' noipdefault noauth defaultroute hide-password

                        usepeerdns local mtu 1492 mru 1492 noaccomp noccp

                        nopcomp novj novjccomp user test

                        lcp-echo-interval 20 lcp-echo-failure

                        3  debug

---------------------------------------------

---------------------------------------------

Extract from /var/log/messages

Jan  1 00:00:20 blackfin daemon.notice pppd[351]: pppd 2.3.8 started by (unknown), uid 0

Jan  1 00:00:20 blackfin user.info kernel: pppoe uses obsolete (PF_INET,SOCK_PACKET)

Jan  1 00:00:20 blackfin daemon.info pppd[351]: Using interface ppp0

Jan  1 00:00:20 blackfin daemon.notice pppd[351]: pppd create pidfile /var/run/ppp0.pid

Jan  1 00:00:20 blackfin daemon.notice pppd[351]: Connect: ppp0 <--> /dev/pts/0

Jan  1 00:00:20 blackfin daemon.debug pppoe[352]: PADS: Service-Name: ''

Jan  1 00:00:20 blackfin daemon.debug pppoe[352]: PPP session is 14

Jan  1 00:00:21 blackfin daemon.info pppoe[352]: Session terminated -- received PADT from peer

Jan  1 00:00:21 blackfin daemon.notice pppd[351]: Modem hangup

Jan  1 00:00:21 blackfin daemon.notice pppd[351]: Connection terminated.

Jan  1 00:00:21 blackfin daemon.info pppd[351]: Exit.

Mon Jan  1 00:00:22 UTC 2007

---------------------------------------------

rp-pppoe debugging dump

rp-pppoe-2.3

SENT PPPOE Discovery (8863) PADI sess-id 0 length 4

SourceAddr 12:34:56:80:08:08 DestAddr ff:ff:ff:ff:ff:ff

01 01 00 00

 

RCVD PPPOE Discovery (8863) PADO sess-id 0 length 45

SourceAddr 00:24:81:5a:7f:a5 DestAddr 12:34:56:80:08:08

01 01 00 00 01 02 00 0f-48 50 2d 39 44 45 36 38

32 41 30 32 38 31 43 01-04 00 12 52 53 50 45 12

34 56 80 08 08 4e 74 0a-6c f3 70 ca 01

 

SENT PPPOE Discovery (8863) PADR sess-id 0 length 26

SourceAddr 12:34:56:80:08:08 DestAddr 00:24:81:5a:7f:a5

01 01 00 00 01 04 00 12-52 53 50 45 12 34 56 80

08 08 4e 74 0a 6c f3 70-ca 01

 

RCVD PPPOE Discovery (8863) PADS sess-id 14 length 4

SourceAddr 00:24:81:5a:7f:a5 DestAddr 12:34:56:80:08:08

01 01 00 00

 

SENT PPPOE Session (8864) SESS sess-id 14 length 22

SourceAddr 12:34:56:80:08:08 DestAddr 00:24:81:5a:7f:a5

c0 21 01 01 00 14 01 04-05 d4 02 06 00 00 00 00

05 06 5e 59 a5 89

 

RCVD PPPOE Session (8864) SESS sess-id 14 length 41

SourceAddr 00:24:81:5a:7f:a5 DestAddr 12:34:56:80:08:08

c0 21 01 00 00 27 01 04-05 d4 03 05 c2 23 81 05

06 6b 36 5f a1 0d 03 06-11 04 06 4e 13 09 03 00

24 81 5a 7f a5 17 04 00-06

 

RCVD PPPOE Session (8864) SESS sess-id 14 length 22

SourceAddr 00:24:81:5a:7f:a5 DestAddr 12:34:56:80:08:08

c0 21 02 01 00 14 01 04-05 d4 02 06 00 00 00 00

05 06 5e 59 a5 89

 

SENT PPPOE Session (8864) SESS sess-id 14 length 31

SourceAddr 12:34:56:80:08:08 DestAddr 00:24:81:5a:7f:a5

c0 21 04 00 00 1d 03 05-c2 23 81 0d 03 06 11 04

06 4e 13 09 03 00 24 81-5a 7f a5 17 04 00 06

 

RCVD PPPOE Session (8864) SESS sess-id 14 length 18

SourceAddr 00:24:81:5a:7f:a5 DestAddr 12:34:56:80:08:08

c0 21 05 01 00 10 6b 36-5f a1 00 3c cd 74 00 00

03 97

 

SENT PPPOE Session (8864) SESS sess-id 14 length 6

SourceAddr 12:34:56:80:08:08 DestAddr 00:24:81:5a:7f:a5

c0 21 06 01 00 04

 

RCVD PPPOE Discovery (8863) PADT sess-id 14 length 0

SourceAddr 00:24:81:5a:7f:a5 DestAddr 12:34:56:80:08:08

 

 

 

 

 

 

 

 

root:/usr/local/user> cat /var/log/messages

Jan  1 00:00:10 blackfin syslog.info syslogd started: BusyBox v1.4.1

Jan  1 00:00:10 blackfin user.notice kernel: klogd started: BusyBox v1.4.1 (2009-11-28 23:41:51 CST)

Jan  1 00:00:10 blackfin user.notice kernel: Linux version 2.6.19.3-ADI-2007R1.1-ShenOu-svn (hhzhou@hhzhou) (gcc �..�.� 4.1.9

Jan  1 00:00:10 blackfin user.info kernel: Blackfin support (C) 2004-2007 Analog Devices, Inc.

Jan  1 00:00:10 blackfin user.info kernel: Compiled for ADSP-BF531 Rev 0.5

Jan  1 00:00:10 blackfin user.err kernel: Warning: Compiled for Rev 5, but running on Rev 6

Jan  1 00:00:10 blackfin user.info kernel: Blackfin Linux support by   blackfin.uclinux.org/

Jan  1 00:00:10 blackfin user.info kernel: Processor Speed: 400 MHz core clock and 80 Mhz System Clock

Jan  1 00:00:10 blackfin user.info kernel: Board Memory: 32MB

Jan  1 00:00:10 blackfin user.info kernel: Kernel Managed Memory: 32MB

Jan  1 00:00:10 blackfin user.info kernel: Memory map:

Jan  1 00:00:10 blackfin user.info kernel:   text      = 0x00001000-0x001332e0

Jan  1 00:00:10 blackfin user.info kernel:   init      = 0x00134000-0x0013ea54

Jan  1 00:00:10 blackfin user.info kernel:   data      = 0x00140b08-0x00180f60

Jan  1 00:00:10 blackfin user.info kernel:   stack     = 0x00142000-0x00144000

Jan  1 00:00:10 blackfin user.info kernel:   bss       = 0x00180f60-0x00198a18

Jan  1 00:00:10 blackfin user.info kernel:   available = 0x00198a18-0x01500000

Jan  1 00:00:10 blackfin user.info kernel:   rootfs    = 0x01500000-0x01f00000

Jan  1 00:00:10 blackfin user.info kernel:   DMA Zone  = 0x01f00000-0x02000000

Jan  1 00:00:10 blackfin user.debug kernel: On node 0 totalpages: 5376

Jan  1 00:00:10 blackfin user.debug kernel:   DMA zone: 42 pages used for memmap

Jan  1 00:00:10 blackfin user.debug kernel:   DMA zone: 0 pages reserved

Jan  1 00:00:10 blackfin user.debug kernel:   DMA zone: 5334 pages, LIFO batch:0

Jan  1 00:00:10 blackfin user.debug kernel:   Normal zone: 0 pages used for memmap

Jan  1 00:00:10 blackfin user.info kernel: Instruction Cache Enabled

Jan  1 00:00:10 blackfin user.info kernel: Data Cache Enabled (write-back)

Jan  1 00:00:10 blackfin user.info kernel: Hardware Trace Enabled

Jan  1 00:00:10 blackfin user.warn kernel: Built 1 zonelists.  Total pages: 5334

Jan  1 00:00:10 blackfin user.notice kernel: Kernel command line: root=/dev/mtdblock0 rw console=ttyBF0,115200n8 lpj=1613824

Jan  1 00:00:10 blackfin user.info kernel: Configuring Blackfin Priority Driven Interrupts

Jan  1 00:00:10 blackfin user.warn kernel: PID hash table entries: 128 (order: 7, 512 bytes)

Jan  1 00:00:10 blackfin user.warn kernel: Console: colour dummy device 80x25

Jan  1 00:00:10 blackfin user.warn kernel: Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

Jan  1 00:00:10 blackfin user.warn kernel: Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Jan  1 00:00:10 blackfin user.info kernel: Physical pages: 1500

Jan  1 00:00:10 blackfin user.info kernel: Memory available: 19568k/31485k RAM, (42k init code, 1224k kernel code, 94k data,)

Jan  1 00:00:10 blackfin user.info kernel: Blackfin Scratchpad data SRAM: 4 KB

Jan  1 00:00:10 blackfin user.info kernel: Blackfin Instruction SRAM: 16 KB

Jan  1 00:00:10 blackfin user.warn kernel: Calibrating delay loop (skipped)... 806.91 BogoMIPS preset

Jan  1 00:00:10 blackfin user.warn kernel: Mount-cache hash table entries: 512

Jan  1 00:00:10 blackfin user.info kernel: NET: Registered protocol family 16

Jan  1 00:00:10 blackfin user.info kernel: Blackfin GPIO Controller

Jan  1 00:00:10 blackfin user.info kernel: Blackfin DMA Controller

Jan  1 00:00:10 blackfin user.info kernel: stamp_init(): registering device resources

Jan  1 00:00:10 blackfin user.info kernel: NET: Registered protocol family 2

Jan  1 00:00:10 blackfin user.warn kernel: IP route cache hash table entries: 256 (order: -2, 1024 bytes)

Jan  1 00:00:10 blackfin user.warn kernel: TCP established hash table entries: 1024 (order: 0, 4096 bytes)

Jan  1 00:00:10 blackfin user.warn kernel: TCP bind hash table entries: 512 (order: -1, 2048 bytes)

Jan  1 00:00:10 blackfin user.info kernel: TCP: Hash tables configured (established 1024 bind 512)

Jan  1 00:00:10 blackfin user.info kernel: TCP reno registered

Jan  1 00:00:10 blackfin user.warn kernel: yaffs Nov 11 2009 09:28:56 Installing.

Jan  1 00:00:10 blackfin user.info kernel: io scheduler noop registered (default)

Jan  1 00:00:10 blackfin user.info kernel: Serial: Blackfin serial driver

Jan  1 00:00:10 blackfin user.info kernel: bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART

Jan  1 00:00:10 blackfin user.info kernel: PPP generic driver version 2.4.2

Jan  1 00:00:10 blackfin user.info kernel: dm9000 Ethernet Driver

Jan  1 00:00:10 blackfin user.warn kernel: eth0: dm9000 at 20300000,20300004 IRQ 37 MAC: 02:19:80:01:04:20

Jan  1 00:00:10 blackfin user.warn kernel: uclinux[mtd]: RAM probe address=0x1500000 size=0xa00000

Jan  1 00:00:10 blackfin user.notice kernel: Creating 1 MTD partitions on "RAM":

Jan  1 00:00:10 blackfin user.notice kernel: 0x00000000-0x00a00000 : "ROMfs"

Jan  1 00:00:10 blackfin user.info kernel: mtd: Giving out device 0 to ROMfs

Jan  1 00:00:10 blackfin user.warn kernel: uclinux[mtd]: set ROMfs:EXT2  to be root filesystem

Jan  1 00:00:10 blackfin user.warn kernel: Generic platform RAM MTD, (c) 2004 Simtec Electronics

Jan  1 00:00:10 blackfin user.info kernel: NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)

Jan  1 00:00:10 blackfin user.info kernel: Scanning device for bad blocks

Jan  1 00:00:10 blackfin user.warn kernel: Bad eraseblock 1754 at 0x0db40000

Jan  1 00:00:10 blackfin user.notice kernel: Creating 1 MTD partitions on "NAND 256MiB 3,3V 8-bit":

Jan  1 00:00:10 blackfin user.notice kernel: 0x00000000-0x80000000 : "file system"

Jan  1 00:00:10 blackfin user.warn kernel: mtd: partition "file system" extends beyond the end of device "NAND 256MiB 3,3V 80

Jan  1 00:00:10 blackfin user.info kernel: mtd: Giving out device 1 to file system

Jan  1 00:00:10 blackfin user.info kernel: IPv4 over IPv4 tunneling driver

Jan  1 00:00:10 blackfin user.info kernel: TCP cubic registered

Jan  1 00:00:10 blackfin user.info kernel: NET: Registered protocol family 1

Jan  1 00:00:10 blackfin user.info kernel: NET: Registered protocol family 17

Jan  1 00:00:10 blackfin user.info kernel: NET: Registered protocol family 15

Jan  1 00:00:10 blackfin user.info kernel: mtdblock_open

Jan  1 00:00:10 blackfin user.info kernel: ok

Jan  1 00:00:10 blackfin user.warn kernel: VFS: Mounted root (ext2 filesystem).

Jan  1 00:00:10 blackfin user.notice kernel: Freeing unused kernel memory: 40k freed (0x134000 - 0x13d000)

Jan  1 00:00:10 blackfin user.info kernel: dma_alloc_init: dma_page @ 0x0143e000 - 256 pages at 0x01f00000

Jan  1 00:00:10 blackfin user.info kernel: mtdblock_open

Jan  1 00:00:10 blackfin user.info kernel: ok

Jan  1 00:00:10 blackfin user.info kernel: yaffs: dev is 32505857 name is "mtdblock1"

Jan  1 00:00:10 blackfin user.warn kernel: yaffs: Attempting MTD mount on 31.1, "mtdblock1"

Jan  1 00:00:10 blackfin user.warn kernel: block 1755 is bad

Jan  1 00:00:10 blackfin user.info kernel: eth0: link down

Jan  1 00:00:11 blackfin user.info kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

Jan  1 00:00:20 blackfin daemon.notice pppd[351]: pppd 2.3.8 started by (unknown), uid 0

Jan  1 00:00:20 blackfin user.info kernel: pppoe uses obsolete (PF_INET,SOCK_PACKET)

Jan  1 00:00:20 blackfin daemon.info pppd[351]: Using interface ppp0

Jan  1 00:00:20 blackfin daemon.notice pppd[351]: pppd create pidfile /var/run/ppp0.pid

Jan  1 00:00:20 blackfin daemon.notice pppd[351]: Connect: ppp0 <--> /dev/pts/0

Jan  1 00:00:20 blackfin daemon.debug pppoe[352]: PADS: Service-Name: ''

Jan  1 00:00:20 blackfin daemon.debug pppoe[352]: PPP session is 14

Jan  1 00:00:21 blackfin daemon.info pppoe[352]: Session terminated -- received PADT from peer

Jan  1 00:00:21 blackfin daemon.notice pppd[351]: Modem hangup

Jan  1 00:00:21 blackfin daemon.notice pppd[351]: Connection terminated.

Jan  1 00:00:21 blackfin daemon.info pppd[351]: Exit.

QuoteReplyEditDelete

 

 

2009-11-29 21:10:14     Re: pppoe error

Yi Li (CHINA)

Message: 82874   

 

Billy,

 

It looks you are using "Linux blackfin 2.6.19.3-ADI-2007R1.1". Could you try on 2009R1 release?

 

-Yi

QuoteReplyEditDelete

 

 

2009-11-30 20:31:39     Re: pppoe error

billy zhou (UNITED STATES)

Message: 82900   

 

thanks a lot!

 

this problem has solved, as we modify the conf file in the /etc/ppp/ dir.

Attachments

    Outcomes