Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2013 13:59:03 GMT
From:      Cedric <cedric@ajova.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/185204: panic: page fault in netgraph
Message-ID:  <201312261359.rBQDx3qo078568@oldred.freebsd.org>
Resent-Message-ID: <201312261400.rBQE00fK008343@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185204
>Category:       kern
>Synopsis:       panic: page fault in netgraph
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 26 14:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Cedric
>Release:        10.0-RC2
>Organization:
>Environment:
FreeBSD xxxx 10.0-RC2 FreeBSD 10.0-RC2 #0 r259404: Sun Dec 15 08:18:20 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 03
fault virtual address   = 0x18
fault code     = supervisor read data, page not present
instruction pointer  = 0x20:0xffffffff80918190
stack pointer          = 0x28:0xfffffe0121970090
frame pointer          = 0x28:0xfffffe01219700c0
code segment      = base 0x0, limit 0xfffff, type 0x1b
         = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags  = interrupt enabled, resume, IOPL = 0
current process      = 864 (ng_queue0)
trap number    = 12
panic: page fault
cpuid = 3
KDB: stack backtrace:
#0 0xffffffff808e7d60 at kdb_backtrace+0x60
#1 0xffffffff808af845 at panic+0x155
#2 0xffffffff80c8e612 at trap_fatal+0x3a2
#3 0xffffffff80c8e8e9 at trap_pfault+0x2c9
#4 0xffffffff80c8e076 at trap+0x5e6
#5 0xffffffff80c75312 at calltrap+0x8
#6 0xffffffff809d3785 at ip_forward+0x1d5
#7 0xffffffff809d358d at ip_input+0x63d
#8 0xffffffff80974d5e at netisr_dispatch_src+0x5e
#9 0xffffffff81a2f6c2 at ng_iface_rcvdata+0xf2
#10 0xffffffff81a18040 at ng_apply_item+0x210
#11 0xffffffff81a17c63 at ng_snd_item+0x383
#12 0xffffffff81a18040 at ng_apply_item+0x210
#13 0xffffffff81a17c63 at ng_snd_item+0x383
#14 0xffffffff81a366af at ng_ppp_rcvdata_decompress+0xcf
#15 0xffffffff81a18040 at ng_apply_item+0x210
#16 0xffffffff81a17c63 at ng_snd_item+0x383
#17 0xffffffff81a18040 at ng_apply_item+0x210
Uptime: 2h8m35s
Dumping 278 out of 4063 MB:..6%..12%..23%..35%..41%..52%..64%..75%..81%..92%

#0  doadump (textdump=<value optimized out>) at pcpu.h:219
219   pcpu.h: No such file or directory.
   in pcpu.h
(kgdb) #0  doadump (textdump=<value optimized out>) at pcpu.h:219
#1  0xffffffff808af4c0 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:447
#2  0xffffffff808af884 in panic (fmt=<value optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:754
#3  0xffffffff80c8e612 in trap_fatal (frame=<value optimized out>,
    eva=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:882
#4  0xffffffff80c8e8e9 in trap_pfault (frame=0xfffffe012196ffe0, usermode=0)
    at /usr/src/sys/amd64/amd64/trap.c:699
#5  0xffffffff80c8e076 in trap (frame=0xfffffe012196ffe0)
    at /usr/src/sys/amd64/amd64/trap.c:463
#6  0xffffffff80c75312 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:232
#7  0xffffffff80918190 in m_copydata (m=<value optimized out>,
    off=<value optimized out>, len=<value optimized out>,
    cp=<value optimized out>) at /usr/src/sys/kern/uipc_mbuf.c:881
#8  0xffffffff809d3785 in ip_forward (m=0xfffff80006d31a00, srcrt=0)
    at /usr/src/sys/netinet/ip_input.c:1437
#9  0xffffffff809d358d in ip_input (m=0xfffff80006d31a00)
    at /usr/src/sys/netinet/ip_input.c:710
#10 0xffffffff80974d5e in netisr_dispatch_src (proto=<value optimized out>,
    source=<value optimized out>, m=0x0) at /usr/src/sys/net/netisr.c:972
#11 0xffffffff81a2f6c2 in ng_iface_rcvdata (hook=<value optimized out>,
    item=<value optimized out>)
    at /usr/src/sys/modules/netgraph/iface/../../../netgraph/ng_iface.c:780
#12 0xffffffff81a18040 in ng_apply_item (node=0xfffff800063bc500,
    item=0xfffff800665b0f00, rw=0)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2397
#13 0xffffffff81a17c63 in ng_snd_item (item=0xfffff800665b0f00,
    flags=<value optimized out>)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2314
#14 0xffffffff81a18040 in ng_apply_item (node=0xfffff8000660cd00,
    item=0xfffff800665b0f00, rw=0)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2397
#15 0xffffffff81a17c63 in ng_snd_item (item=0xfffff800665b0f00,
    flags=<value optimized out>)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2314
#16 0xffffffff81a366af in ng_ppp_rcvdata_decompress (
    hook=<value optimized out>, item=<value optimized out>)
    at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:1047
#17 0xffffffff81a18040 in ng_apply_item (node=0xfffff8006676fd00,
    item=0xfffff800665b0f00, rw=0)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2397
#18 0xffffffff81a17c63 in ng_snd_item (item=0xfffff800665b0f00,
    flags=<value optimized out>)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2314
#19 0xffffffff81a18040 in ng_apply_item (node=0xfffff800666b5c00,
    item=0xfffff800665b0f00, rw=1)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2397
#20 0xffffffff81a17c63 in ng_snd_item (item=0xfffff800665b0f00,
    flags=<value optimized out>)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2314
#21 0xffffffff81a360da in ng_ppp_comp_recv (node=<value optimized out>,
    item=0xfffff800665b0f00, proto=<value optimized out>,
    linkNum=<value optimized out>)
    at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:1157
#22 0xffffffff81a34edc in ng_ppp_rcvdata (hook=<value optimized out>,
    item=0xfffff800665b0f00)
    at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:1522
#23 0xffffffff81a18040 in ng_apply_item (node=0xfffff8006676fd00,
    item=0xfffff800665b0f00, rw=0)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2397
#24 0xffffffff81a17c63 in ng_snd_item (item=0xfffff800665b0f00,
    flags=<value optimized out>)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2314
#25 0xffffffff81a18040 in ng_apply_item (node=0xfffff800666bde00,
    item=0xfffff800665b0f00, rw=0)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2397
#26 0xffffffff81a17c63 in ng_snd_item (item=0xfffff800665b0f00,
    flags=<value optimized out>)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2314
#27 0xffffffff81a2826f in ng_pptpgre_rcvdata_lower (
    hook=<value optimized out>, item=0xfffff8006648b7f7)
    at /usr/src/sys/modules/netgraph/pptpgre/../../../netgraph/ng_pptpgre.c:811
#28 0xffffffff81a18040 in ng_apply_item (node=0xfffff800666a9600,
    item=0xfffff800665b0f00, rw=0)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2397
#29 0xffffffff81a17c63 in ng_snd_item (item=0xfffff800665b0f00,
    flags=<value optimized out>)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2314
#30 0xffffffff81a2b3f9 in ng_ksocket_incoming2 (node=0xfffff800065be700,
    hook=<value optimized out>, arg1=0xfffff8006644f000, arg2=0)
    at /usr/src/sys/modules/netgraph/ksocket/../../../netgraph/ng_ksocket.c:1158
#31 0xffffffff81a17ee6 in ng_apply_item (node=0xfffff800065be700,
    item=0xfffff800665b5b00, rw=1)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2468
#32 0xffffffff81a19b9d in ngthread (arg=<value optimized out>)
    at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:3432
#33 0xffffffff8088191a in fork_exit (callout=0xffffffff81a199e0 <ngthread>,
    arg=0x0, frame=0xfffffe0121970ac0) at /usr/src/sys/kern/kern_fork.c:995
#34 0xffffffff80c7584e in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:606
#35 0x0000000000000000 in ?? ()

>How-To-Repeat:
run mpd5 with ~30 pptp vpn users
wait few hours

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312261359.rBQDx3qo078568>