All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: linux-ppp@vger.kernel.org
Subject: Re: skb_over_panic while using pppd
Date: Tue, 23 Mar 2010 15:00:21 +0000	[thread overview]
Message-ID: <4BA8D785.4010803@trash.net> (raw)
In-Reply-To: <583159.81353.qm@web110201.mail.gq1.yahoo.com>

hpw wrote:
> Hi,
>
> while using pppd with netfilter, I got following errors: skb_over_panic,
> see following log:
>
> ****************** log starts *********************************
> Jan  1 00:01:25 ts7500 avahi-daemon[774]: Registering HINFO record with values 'ARMV4L'/'LINUX'.
> Jan  1 00:01:26 ts7500 avahi-daemon[774]: Server startup complete. Host name is ts7500.local. Local service cookie is 2006778593.
> Jan  1 00:01:29 ts7500 /usr/sbin/cron[823]: (CRON) INFO (pidfile fd = 3)
> Jan  1 00:01:29 ts7500 /usr/sbin/cron[824]: (CRON) STARTUP (fork ok)
> Jan  1 00:01:29 ts7500 /usr/sbin/cron[824]: (CRON) INFO (Running @reboot jobs)
> Jan  1 00:02:08 ts7500 kernel: [  128.040000] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
> Jan  1 00:02:08 ts7500 kernel: [  128.910000] ip_tables: (C) 2000-2006 Netfilter Core Team
> Jan  1 00:02:27 ts7500 kernel: [  147.480000] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
> Jan  1 00:02:27 ts7500 kernel: [  147.580000] str8100-ohci str8100-ohci: str8100-ohci
> Jan  1 00:02:27 ts7500 kernel: [  147.580000] str8100-ohci str8100-ohci: new USB bus registered, assigned bus number 2
> Jan  1 00:02:27 ts7500 kernel: [  147.580000] str8100-ohci str8100-ohci: irq 23, io mem 0xc4000000
> Jan  1 00:02:27 ts7500 kernel: [  147.660000] usb usb2: configuration #1 chosen from 1 choice
> Jan  1 00:02:27 ts7500 kernel: [  147.660000] hub 2-0:1.0: USB hub found
> Jan  1 00:02:27 ts7500 kernel: [  147.660000] hub 2-0:1.0: 2 ports detected
> Jan  1 00:02:28 ts7500 kernel: [  148.070000] usb 2-1: new full speed USB device using str8100-ohci and address 2
> Jan  1 00:02:28 ts7500 kernel: [  148.250000] usb 2-1: configuration #1 chosen from 1 choice
> Jan  1 00:02:28 ts7500 kernel: [  148.730000] usbcore: registered new interface driver usbserial
> Jan  1 00:02:28 ts7500 kernel: [  148.730000] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
> Jan  1 00:02:28 ts7500 kernel: [  148.730000] usbcore: registered new interface driver usbserial_generic
> Jan  1 00:02:28 ts7500 kernel: [  148.730000] drivers/usb/serial/usb-serial.c: USB Serial Driver core
> Jan  1 00:02:28 ts7500 kernel: [  148.960000] drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
> Jan  1 00:02:28 ts7500 kernel: [  148.960000] sierra 2-1:1.0: Sierra USB modem converter detected
> Jan  1 00:02:29 ts7500 kernel: [  148.990000] usb 2-1: Sierra USB modem converter now attached to ttyUSB0
> Jan  1 00:02:29 ts7500 kernel: [  148.990000] usb 2-1: Sierra USB modem converter now attached to ttyUSB1
> Jan  1 00:02:29 ts7500 kernel: [  148.990000] usb 2-1: Sierra USB modem converter now attached to ttyUSB2
> Jan  1 00:02:29 ts7500 kernel: [  149.000000] usbcore: registered new interface driver sierra
> Jan  1 00:02:29 ts7500 kernel: [  149.000000] drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.3.2
> Jan  1 00:02:54 ts7500 kernel: [  174.320000] PPP generic driver version 2.4.2
> Jan  1 00:02:54 ts7500 kernel: [  174.470000] NET: Registered protocol family 24
> Jan  1 00:17:01 ts7500 /USR/SBIN/CRON[989]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
> Jan  1 00:25:50 ts7500 in.telnetd[993]: connect from 192.168.100.88 (192.168.100.88)
> Jan  1 00:26:41 ts7500 pppd[1005]: pppd 2.4.4 started by root, uid 0
> Jan  1 00:26:42 ts7500 chat[1006]: abort on (NO DIAL TONE)
> Jan  1 00:26:42 ts7500 chat[1006]: abort on (NO ANSWER)
> Jan  1 00:26:42 ts7500 chat[1006]: abort on (NO CARRIER)
> Jan  1 00:26:42 ts7500 chat[1006]: abort on (DELAYED)
> Jan  1 00:26:42 ts7500 chat[1006]: send (AT^M)
> Jan  1 00:26:42 ts7500 chat[1006]: expect (OK)
> Jan  1 00:26:42 ts7500 chat[1006]: AT^M^M
> Jan  1 00:26:42 ts7500 chat[1006]: OK
> Jan  1 00:26:42 ts7500 chat[1006]:  -- got it
> Jan  1 00:26:42 ts7500 chat[1006]: send (ATZ^M)
> Jan  1 00:26:42 ts7500 chat[1006]: expect (OK)
> Jan  1 00:26:42 ts7500 chat[1006]: ^M
> Jan  1 00:26:42 ts7500 chat[1006]: ATZ^M^M
> Jan  1 00:26:42 ts7500 chat[1006]: OK
> Jan  1 00:26:42 ts7500 chat[1006]:  -- got it
> Jan  1 00:26:42 ts7500 chat[1006]: send (ATDT#777^M)
> Jan  1 00:26:42 ts7500 chat[1006]: expect (CONNECT)
> Jan  1 00:26:42 ts7500 chat[1006]: ^M
> Jan  1 00:26:43 ts7500 chat[1006]: ATDT#777^M^M
> Jan  1 00:26:43 ts7500 chat[1006]: CONNECT
> Jan  1 00:26:43 ts7500 chat[1006]:  -- got it
> Jan  1 00:26:43 ts7500 chat[1006]: send (^M)
> Jan  1 00:26:43 ts7500 pppd[1005]: Serial connection established.
> Jan  1 00:26:43 ts7500 pppd[1005]: using channel 1
> Jan  1 00:26:43 ts7500 pppd[1005]: Using interface ppp0
> Jan  1 00:26:44 ts7500 pppd[1005]: Connect: ppp0 <--> /dev/ttyUSB0
> Jan  1 00:26:45 ts7500 pppd[1005]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
> Jan  1 00:26:45 ts7500 pppd[1005]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfde3b3>]
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] skb_over_panic: text:bf060890 len:18 put:18 head:c3d19800 data:c3d19800 tail:0xc3d19800 end:0xc3d19840 dev:<NULL>
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Unable to handle kernel NULL pointer dereference at virtual address 00000000
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] pgd = c37e0000
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] [00000000] *pgd\x037d5031, *pte\0000000, *ppte\0000000
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Internal error: Oops: 817 [#1]
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Modules linked in: ppp_async crc_ccitt pppoe pppox ppp_generic slhc sierra usbserial ohci_hcd iptable_nat ip_tables nf_nat x_tables nf_conntrack_ipv4 nf_conntrack usb_storage ehci_hcd usbcore sd_mod scsi_mod
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] CPU: 0    Not tainted  (2.6.24.4 #1)
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] pc : [<c0140bb4>]    lr : [<00989680>]    psr: 60000013
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] sp : c37d9eec  ip : c01f2a68  fp : c37d9f1c
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] r10: 00000000  r9 : fffffff2  r8 : 000569e6
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] r7 : c3d19840  r6 : c3d19800  r5 : c3d19800  r4 : c3d19800
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] r3 : 00000000  r2 : c01f2a74  r1 : c3dabeec  r0 : 00000084
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Control: 0000397f  Table: 037e0000  DAC: 00000015
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Process pppd (pid: 1005, stack limit = 0xc37d8258)
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Stack: (0xc37d9eec to 0xc37da000)
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] 9ee0:                            c3d19800 c3d19800 c3d19800 c3d19840 c01d175c 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] 9f00: c3c30120 00000012 c3e7e1e0 c37d9f78 c37d9f50 c37d9f20 bf06089c c0140b70 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] 9f20: 00000000 00000002 c3796260 000569e6 00000012 c37d9f78 00000000 c37d8000 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] 9f40: 0000c227 c37d9f74 c37d9f54 c007db48 bf060804 00000000 c3796280 c3796260 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] 9f60: c37d9f78 00000000 c37d9fa4 c37d9f78 c007dc7c c007da94 00000000 00000000 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] 9f80: 00000000 00000012 000569e6 00000009 00000004 c0022f44 00000000 c37d9fa8 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] 9fa0: c0022da0 c007dc40 00000012 000569e6 00000009 000569e6 00000012 000080fb 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] 9fc0: 00000012 000569e6 00000009 00000000 0003b7fc 0000c021 0000c227 00057120 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] 9fe0: 00000000 bebb7c9c 0002a7dc 401602a4 60000010 00000009 30230200 0256cc0a 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Backtrace: 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Function entered at [<c0140b60>] from [<bf06089c>]
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000]  r7:c37d9f78 r6:c3e7e1e0 r5:00000012 r4:c3c30120
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Function entered at [<bf0607f4>] from [<c007db48>]
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Function entered at [<c007da84>] from [<c007dc7c>]
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000]  r7:00000000 r6:c37d9f78 r5:c3796260 r4:c3796280
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Function entered at [<c007dc30>] from [<c0022da0>]
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000]  r8:c0022f44 r7:00000004 r6:00000009 r5:000569e6 r4:00000012
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] Code: e88d00f0 e58dc010 ebfbf724 e3a03000 (e5833000) 
> Jan  1 00:26:45 ts7500 kernel: [ 1605.020000] ---[ end trace 362ce3347f1fdabb ]---
>
> ****************** log ends ************************************
>
> I am pretty sure it has to do with netfilter stuff, because if I remove
> netfilter stuff from kernel and recompile it, pppd works fine. 
>
> the kernel version is: 2.6.24.4, arm technology board. 
>
> any advise is appreciated.

You need to enable CONFIG_KALLSYMS or manually decode the addresses
in the backtrace.

      reply	other threads:[~2010-03-23 15:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22 21:04 skb_over_panic while using pppd hpw
2010-03-23 15:00 ` Patrick McHardy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BA8D785.4010803@trash.net \
    --to=kaber@trash.net \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.