Kernel panic at m_copym/m_copydata

Denis Lamanov ukrzilla at gmail.com
Wed May 12 05:09:33 UTC 2010


Hi
I am using mpd5.5 with FreeBSD from 7.2-STABLE
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201001/FreeBSD-7.2-STABLE-201001-i386-disc1.iso
to 7.3-RELEASE and 7.3-STABLE, 8.0-STABLE
and every 1-2 day server kernel panic with kernel trap 12
Few people have the same error.
This error in the code was entered presumably in early January 2010.
In 7.2-RELEASE so no this problem.

(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0x807f9c67 in boot (howto=260) at /usr/src/sys/kern/kern_
shutdown.c:418
#2  0x807f9f39 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0x80b156ec in trap_fatal (frame=0x8e6b0438, eva=12) at
/usr/src/sys/i386/i386/trap.c:950
#4  0x80b15970 in trap_pfault (frame=0x8e6b0438, usermode=0, eva=12) at
/usr/src/sys/i386/i386/trap.c:863
#5  0x80b16365 in trap (frame=0x8e6b0438) at
/usr/src/sys/i386/i386/trap.c:541
#6  0x80af964b in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0x8084cdf8 in m_copydata (m=0x0, off=0, len=164,
    cp=0x8f67095c
"ЪЗЪёsЖoїEй╒nв\233tр\206XьAYci\006\031г\aИw╡э<,\236К\0041l\204\207\0028pX~\nбЮ4ПdрL\032Iц\2178>\201\004:
\021\001а\036\215<D\020L\025\020\006\210Млv\212╪RoЖ╞)c-\006\0240LutЇ=ї╝\221Z╒=?\034r1Ш>5\237╡NД!╧\022\006ЮґЇШ\1775©АШвЧ\21
6іВ") at /usr/src/sys/kern/uipc_mbuf.c:815
#8  0x808ef068 in ip_forward (m=0x8f37bb00, srcrt=0) at
/usr/src/sys/netinet/ip_input.c:1307
#9  0x808f0813 in ip_input (m=0x8f37bb00) at
/usr/src/sys/netinet/ip_input.c:609
#10 0x808a88b5 in netisr_dispatch (num=2, m=0x8f37bb00) at
/usr/src/sys/net/netisr.c:185
#11 0x8f50cdc5 in ng_iface_rcvdata (hook=0x8fdbf300, item=0x8f411030)
    at /usr/src/sys/modules/netgraph/iface/../../../netgraph/ng_iface.c:777
#12 0x8f2ea7e4 in ng_apply_item (node=0x8f83cb00, item=0x8f411030, rw=0)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#13 0x8f2e97ec in ng_snd_item (item=0x8f411030, flags=Variable "flags" is
not available.
)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#14 0x8f2ea7e4 in ng_apply_item (node=0x8fc8b580, item=0x8f411030, rw=0)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#15 0x8f2e97ec in ng_snd_item (item=0x8f411030, flags=Variable "flags" is
not available.
)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#16 0x8f55a266 in ng_car_rcvdata (hook=0x8fca7180, item=0x8f411030)
    at /usr/src/sys/modules/netgraph/car/../../../netgraph/ng_car.c:367
#17 0x8f2ea7e4 in ng_apply_item (node=0x8f891e00, item=0x8f411030, rw=0)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#18 0x8f2e97ec in ng_snd_item (item=0x8f411030, flags=Variable "flags" is
not available.
)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#19 0x8f2ea7e4 in ng_apply_item (node=0x8fc8b580, item=0x8f411030, rw=0)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#20 0x8f2e97ec in ng_snd_item (item=0x8f411030, flags=Variable "flags" is
not available.
)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#21 0x8f2ea7e4 in ng_apply_item (node=0x8fcde100, item=0x8f411030, rw=0)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#22 0x8f2e97ec in ng_snd_item (item=0x8f411030, flags=Variable "flags" is
not available.
)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
---Type <return> to continue, or q <return> to quit---
#23 0x8f516ca0 in ng_ppp_proto_recv (node=0x8faba400, item=0x8f411030,
proto=Variable "proto" is not available.
)
    at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:934
#24 0x8f517995 in ng_ppp_rcvdata (hook=0x8f8fd880, item=0x8f411030)
    at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:1509
#25 0x8f2ea7e4 in ng_apply_item (node=0x8faba400, item=0x8f411030, rw=0)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#26 0x8f2e97ec in ng_snd_item (item=0x8f411030, flags=Variable "flags" is
not available.
)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#27 0x8f2ea7e4 in ng_apply_item (node=0x8f7c7580, item=0x8f411030, rw=0)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#28 0x8f2e97ec in ng_snd_item (item=0x8f411030, flags=Variable "flags" is
not available.
)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#29 0x8f2ea7e4 in ng_apply_item (node=0x8f0b4c80, item=0x8f411030, rw=0)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#30 0x8f2e97ec in ng_snd_item (item=0x8f411030, flags=Variable "flags" is
not available.
)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#31 0x8f3de8bc in ng_ksocket_incoming2 (node=0x8f7bbe00, hook=0x0,
arg1=0x8fae3820, arg2=0)
    at
/usr/src/sys/modules/netgraph/ksocket/../../../netgraph/ng_ksocket.c:1143
#32 0x8f2ea91b in ng_apply_item (node=0x8f7bbe00, item=0x8f568810, rw=1)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2407
#33 0x8f2ebaaf in ngthread (arg=0x0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:3304
#34 0x807d2c59 in fork_exit (callout=0x8f2eb940 <ngthread>, arg=0x0,
frame=0x8e6b0d38)
    at /usr/src/sys/kern/kern_fork.c:811
#35 0x80af96c0 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:271


2)

(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0x807f9c67 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0x807f9f39 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0x80b156ec in trap_fatal (frame=0x8e6c4438, eva=12) at
/usr/src/sys/i386/i386/trap.c:950
#4  0x80b15970 in trap_pfault (frame=0x8e6c4438, usermode=0, eva=12) at
/usr/src/sys/i386/i386/trap.c:863
#5  0x80b16365 in trap (frame=0x8e6c4438) at
/usr/src/sys/i386/i386/trap.c:541
#6  0x80af964b in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0x8084cdf8 in m_copydata (m=0x0, off=0, len=156,
    cp=0x8ee0b264
"ї-#К?Аа&\236\225\211hчд╚\215\\Х╞\216П\230#лn%e~\0247\t\204o~A\017$X\217╛\\аа\027e╠CUьvp\037$ю\n╩G╧\224\v╛pАш\236\002ч@\fлlЪ╚C_J╟;\215\232\004\006╙EҐд[╒\203ЛJt\bН\024#\002qЬ\v,\n\027yС.\020\037SЯ\032Р*eDPSє\b")
at /usr/src/sys/kern/uipc_mbuf.c:815
#8  0x808ef068 in ip_forward (m=0x8f870600, srcrt=0) at
/usr/src/sys/netinet/ip_input.c:1307
#9  0x808f0813 in ip_input (m=0x8f870600) at
/usr/src/sys/netinet/ip_input.c:609
#10 0x808a88b5 in netisr_dispatch (num=2, m=0x8f870600) at
/usr/src/sys/net/netisr.c:185
#11 0x8f527dc5 in ng_iface_rcvdata (hook=0x9353e100, item=0x8f524a80) at
/usr/src/sys/modules/netgraph/iface/../../../netgraph/ng_iface.c:777
#12 0x8f30e7e4 in ng_apply_item (node=0x9324d200, item=0x8f524a80, rw=0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#13 0x8f30d7ec in ng_snd_item (item=0x8f524a80, flags=Variable "flags" is
not available.
) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#14 0x8f30e7e4 in ng_apply_item (node=0x93239d80, item=0x8f524a80, rw=0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#15 0x8f30d7ec in ng_snd_item (item=0x8f524a80, flags=Variable "flags" is
not available.
) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#16 0x8f57f266 in ng_car_rcvdata (hook=0x93305800, item=0x8f524a80) at
/usr/src/sys/modules/netgraph/car/../../../netgraph/ng_car.c:367
#17 0x8f30e7e4 in ng_apply_item (node=0x9313a500, item=0x8f524a80, rw=0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#18 0x8f30d7ec in ng_snd_item (item=0x8f524a80, flags=Variable "flags" is
not available.
) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#19 0x8f30e7e4 in ng_apply_item (node=0x93239d80, item=0x8f524a80, rw=0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#20 0x8f30d7ec in ng_snd_item (item=0x8f524a80, flags=Variable "flags" is
not available.
) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#21 0x8f30e7e4 in ng_apply_item (node=0x8f72f300, item=0x8f524a80, rw=0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#22 0x8f30d7ec in ng_snd_item (item=0x8f524a80, flags=Variable "flags" is
not available.
) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#23 0x8f569ca0 in ng_ppp_proto_recv (node=0x8f79fd80, item=0x8f524a80,
proto=Variable "proto" is not available.
) at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:934
#24 0x8f56a995 in ng_ppp_rcvdata (hook=0x9312b300, item=0x8f524a80) at
/usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:1509
#25 0x8f30e7e4 in ng_apply_item (node=0x8f79fd80, item=0x8f524a80, rw=0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#26 0x8f30d7ec in ng_snd_item (item=0x8f524a80, flags=Variable "flags" is
not available.
) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#27 0x8f30e7e4 in ng_apply_item (node=0x931bcb80, item=0x8f524a80, rw=0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#28 0x8f30d7ec in ng_snd_item (item=0x8f524a80, flags=Variable "flags" is
not available.
) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#29 0x8f30e7e4 in ng_apply_item (node=0x8f6d6080, item=0x8f524a80, rw=0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#30 0x8f30d7ec in ng_snd_item (item=0x8f524a80, flags=Variable "flags" is
not available.
) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#31 0x8f4f38bc in ng_ksocket_incoming2 (node=0x8fa81580, hook=0x0,
arg1=0x8f9b51a0, arg2=0) at
/usr/src/sys/modules/netgraph/ksocket/../../../netgraph/ng_ksocket.c:1143
#32 0x8f30e91b in ng_apply_item (node=0x8fa81580, item=0x8f5b5a80, rw=1) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2407
#33 0x8f30faaf in ngthread (arg=0x0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:3304
#34 0x807d2c59 in fork_exit (callout=0x8f30f940 <ngthread>, arg=0x0,
frame=0x8e6c4d38) at /usr/src/sys/kern/kern_fork.c:811
#35 0x80af96c0 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:271


Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 06
fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0x8084dfe6
stack pointer           = 0x28:0x8e502b28
frame pointer           = 0x28:0x8e502b54
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 29 (irq26: bge1)
trap number             = 12
panic: page fault
cpuid = 2
Uptime: 2h29m46s
Physical memory: 2035 MB
Dumping 144 MB: 129 113 97 81 65 49 33bge1: watchdog timeout -- resetting
<5>bge1: link state changed to DOWN
 17 1



(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0x807f9c67 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0x807f9f39 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0x80b156ec in trap_fatal (frame=0x8e502ae8, eva=12) at
/usr/src/sys/i386/i386/trap.c:
950
#4  0x80b15970 in trap_pfault (frame=0x8e502ae8, usermode=0, eva=12) at
/usr/src/sys/i386/i386/trap.c:863
#5  0x80b16365 in trap (frame=0x8e502ae8) at
/usr/src/sys/i386/i386/trap.c:541

#6  0x80af964b in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0x8084dfe6 in m_copym (m=0x0, off0=1396, len=1376, wait=1) at
/usr/src/sys/kern/uipc_mbuf.c:539
#8  0x808f17c5 in ip_fragment (ip=0x8f0e6810, m_frag=0x8e502c04, mtu=1400,
if_hwassist_flags=0, sw_csum=1) at /usr/src/sys/netinet/ip_output.c:731
#9  0x808e47b5 in ip_fastforward (m=0x8f3afe00) at
/usr/src/sys/netinet/ip_fastfwd.c:568
#10 0x8089c525 in ether_demux (ifp=0x8ec1f000, m=0x8f3afe00) at
/usr/src/sys/net/if_ethersubr.c:770
#11 0x8089c953 in ether_input (ifp=0x8ec1f000, m=0x8f3afe00) at
/usr/src/sys/net/if_ethersubr.c:692
#12 0x8058a042 in bge_rxeof (sc=0x8ec2c000, rx_prod=12, holdlck=1) at
/usr/src/sys/dev/bge/if_bge.c:3392
#13 0x8058c0c2 in bge_intr (xsc=0x8ec2c000) at
/usr/src/sys/dev/bge/if_bge.c:3653
#14 0x807d64bb in ithread_loop (arg=0x8ec257b0) at
/usr/src/sys/kern/kern_intr.c:1181
#15 0x807d2c59 in fork_exit (callout=0x807d6310 <ithread_loop>,
arg=0x8ec257b0, frame=0x8e502d38) at /usr/src/sys/kern/kern_fork.c:811
#16 0x80af96c0 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:271


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00

fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc084bde8
stack pointer           = 0x28:0xcbb4c474
frame pointer           = 0x28:0xcbb4c490

code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 514 (ng_queue0)
trap number             = 12


(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc07f8c57 in boot (howto=260) at /usr/src/sys/kern/kern_
shutdown.c:418
#2  0xc07f8f29 in panic (fmt=Variable "fmt" is not available.

) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0b010dc in trap_fatal (frame=0xcbb4c434, eva=12) at
/usr/src/sys/i386/i386/trap.c:950
#4  0xc0b01360 in trap_pfault (frame=0xcbb4c434, usermode=0, eva=12) at
/usr/src/sys/i386/i386/trap.c:863
#5  0xc0b01d55 in trap (frame=0xcbb4c434) at
/usr/src/sys/i386/i386/trap.c:541
#6  0xc0ae503b in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0xc084bde8 in m_copydata (m=0x0, off=0, len=164, cp=0xcca98a5c "") at
/usr/src/sys/kern/uipc_mbuf.c:815
#8  0xc08e1398 in ip_forward (m=0xcd7bed00, srcrt=0) at
/usr/src/sys/netinet/ip_input.c:1307
#9  0xc08e2b00 in ip_input (m=0xcd7bed00) at
/usr/src/sys/netinet/ip_input.c:609
#10 0xc08a78a5 in netisr_dispatch (num=2, m=0xcd7bed00) at
/usr/src/sys/net/netisr.c:185
#11 0xcc6dfdc5 in ng_iface_rcvdata (hook=0xcc802280, item=0xcc4442a0)

    at /usr/src/sys/modules/netgraph/iface/../../../netgraph/ng_iface.c:777
#12 0xcc3fc7e4 in ng_apply_item (node=0xcc887700, item=0xcc4442a0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#13 0xcc3fb7ec in ng_snd_item (item=0xcc4442a0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#14 0xcc3fc7e4 in ng_apply_item (node=0xcc837080, item=0xcc4442a0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#15 0xcc3fb7ec in ng_snd_item (item=0xcc4442a0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#16 0xcc6f5266 in ng_car_rcvdata (hook=0xcc842200, item=0xcc4442a0)

    at /usr/src/sys/modules/netgraph/car/../../../netgraph/ng_car.c:367
#17 0xcc3fc7e4 in ng_apply_item (node=0xcc837100, item=0xcc4442a0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#18 0xcc3fb7ec in ng_snd_item (item=0xcc4442a0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#19 0xcc3fc7e4 in ng_apply_item (node=0xcc837080, item=0xcc4442a0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#20 0xcc3fb7ec in ng_snd_item (item=0xcc4442a0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#21 0xcc3fc7e4 in ng_apply_item (node=0xcc7c9d00, item=0xcc4442a0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#22 0xcc3fb7ec in ng_snd_item (item=0xcc4442a0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#23 0xcc6e3ca0 in ng_ppp_proto_recv (node=0xcc872180, item=0xcc4442a0,
proto=Variable "proto" is not available.

)
    at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:934
#24 0xcc6e4995 in ng_ppp_rcvdata (hook=0xcc884c80, item=0xcc4442a0)

    at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:1509
#25 0xcc3fc7e4 in ng_apply_item (node=0xcc872180, item=0xcc4442a0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#26 0xcc3fb7ec in ng_snd_item (item=0xcc4442a0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#27 0xcc3fc7e4 in ng_apply_item (node=0xcc86f180, item=0xcc4442a0, rw=0)

---Type <return> to continue, or q <return> to quit---
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#28 0xcc3fb7ec in ng_snd_item (item=0xcc4442a0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#29 0xcc3fc7e4 in ng_apply_item (node=0xcc85ca80, item=0xcc4442a0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#30 0xcc3fb7ec in ng_snd_item (item=0xcc4442a0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#31 0xcc6db8bc in ng_ksocket_incoming2 (node=0xcc85c880, hook=0x0,
arg1=0xcc7e5680, arg2=0)

    at
/usr/src/sys/modules/netgraph/ksocket/../../../netgraph/ng_ksocket.c:1143
#32 0xcc3fc91b in ng_apply_item (node=0xcc85c880, item=0xcc47d5a0, rw=1)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2407
#33 0xcc3fdaaf in ngthread (arg=0x0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:3304
#34 0xc07d1c49 in fork_exit (callout=0xcc3fd940 <ngthread>, arg=0x0,
frame=0xcbb4cd38) at /usr/src/sys/kern/kern_fork.c:811
#35 0xc0ae50b0 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:271

(kgdb) frame 8
#8  0xc08e1398 in ip_forward (m=0xcd7bed00, srcrt=0) at
/usr/src/sys/netinet/ip_input.c:1307
1307                    m_copydata(m, 0, mcopy->m_len, mtod(mcopy,
caddr_t));
(kgdb) p *ip
$1 = {ip_hl = 5, ip_v = 4, ip_tos = 0 '\0', ip_len = 10240, ip_id = 2126,
ip_off = 64, ip_ttl = 128 '\200',
  ip_p = 6 '\006', ip_sum = 28842, ip_src = {s_addr = 3641104562}, ip_dst =
{s_addr = 3958028893}}
(kgdb)


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 06
fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc084cfd6
stack pointer           = 0x28:0xcba6ea50
frame pointer           = 0x28:0xcba6ea7c

code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 27 (irq26: bge1)
trap number             = 12

(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc07f8c57 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc07f8f29 in panic (fmt=Variable "fmt" is not available.

) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0b010dc in trap_fatal (frame=0xcba6ea10, eva=12) at
/usr/src/sys/i386/i386/trap.c:950
#4  0xc0b01360 in trap_pfault (frame=0xcba6ea10, usermode=0, eva=12) at
/usr/src/sys/i386/i386/trap.c:863
#5  0xc0b01d55 in trap (frame=0xcba6ea10) at
/usr/src/sys/i386/i386/trap.c:541
#6  0xc0ae503b in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0xc084cfd6 in m_copym (m=0x0, off0=2772, len=1376, wait=1) at
/usr/src/sys/kern/uipc_mbuf.c:539
#8  0xc08e3aa5 in ip_fragment (ip=0xccb5e810, m_frag=0xcba6eb44, mtu=1400,
if_hwassist_flags=0, sw_csum=1)

    at /usr/src/sys/netinet/ip_output.c:731
#9  0xc08e46d2 in ip_output (m=0xcde4fa00, opt=0x0, ro=0xcba6eb7c, flags=1,
imo=0x0, inp=0x0)
    at /usr/src/sys/netinet/ip_output.c:570
#10 0xc08e1554 in ip_forward (m=0xcde4fa00, srcrt=0) at
/usr/src/sys/netinet/ip_input.c:1366
#11 0xc08e2b00 in ip_input (m=0xcde4fa00) at
/usr/src/sys/netinet/ip_input.c:609
#12 0xc08a78a5 in netisr_dispatch (num=2, m=0xcde4fa00) at
/usr/src/sys/net/netisr.c:185
#13 0xc089b551 in ether_demux (ifp=0xcbefd000, m=0xcde4fa00) at
/usr/src/sys/net/if_ethersubr.c:834
#14 0xc089b943 in ether_input (ifp=0xcbefd000, m=0xcde4fa00) at
/usr/src/sys/net/if_ethersubr.c:692
#15 0xc0589032 in bge_rxeof (sc=0xcbf07000, rx_prod=439, holdlck=1) at
/usr/src/sys/dev/bge/if_bge.c:3392
#16 0xc058b0b2 in bge_intr (xsc=0xcbf07000) at
/usr/src/sys/dev/bge/if_bge.c:3653
#17 0xc07d54ab in ithread_loop (arg=0xcbf037b0) at
/usr/src/sys/kern/kern_intr.c:1181
#18 0xc07d1c49 in fork_exit (callout=0xc07d5300 <ithread_loop>,
arg=0xcbf037b0, frame=0xcba6ed38)

    at /usr/src/sys/kern/kern_fork.c:811
#19 0xc0ae50b0 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:271

(kgdb) frame 8
#8  0xc08e3aa5 in ip_fragment (ip=0xccb5e810, m_frag=0xcba6eb44, mtu=1400,
if_hwassist_flags=0, sw_csum=1)

    at /usr/src/sys/netinet/ip_output.c:731
731                     m->m_next = m_copy(m0, off, len);
(kgdb) p *ip
$1 = {ip_hl = 5, ip_v = 4, ip_tos = 0 '\0', ip_len = 30725, ip_id = 43824,
ip_off = 64, ip_ttl = 51 '3', ip_p = 6 '\006',
  ip_sum = 2651, ip_src = {s_addr = 2377912389}, ip_dst = {s_addr =
1426184370}}


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00

fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc084cfd6
stack pointer           = 0x28:0xcba5ba50
frame pointer           = 0x28:0xcba5ba7c

code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 23 (irq26: bge1)
trap number             = 12

#0  doadump () at pcpu.h:196
#1  0xc07f8c57 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc07f8f29 in panic (fmt=Variable "fmt" is not available.

) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0b010dc in trap_fatal (frame=0xcba5ba10, eva=12) at
/usr/src/sys/i386/i386/trap.c:950
#4  0xc0b01360 in trap_pfault (frame=0xcba5ba10, usermode=0, eva=12) at
/usr/src/sys/i386/i386/trap.c:863
#5  0xc0b01d55 in trap (frame=0xcba5ba10) at
/usr/src/sys/i386/i386/trap.c:541
#6  0xc0ae503b in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0xc084cfd6 in m_copym (m=0x0, off0=16380, len=3332, wait=1) at
/usr/src/sys/kern/uipc_mbuf.c:539
#8  0xc08e3aa5 in ip_fragment (ip=0xcc45d810, m_frag=0xcba5bb44, mtu=16384,
if_hwassist_flags=0, sw_csum=1)

    at /usr/src/sys/netinet/ip_output.c:731
#9  0xc08e46d2 in ip_output (m=0xcc2bb000, opt=0x0, ro=0xcba5bb7c, flags=1,
imo=0x0, inp=0x0)
    at /usr/src/sys/netinet/ip_output.c:570
#10 0xc08e1554 in ip_forward (m=0xcc2bb000, srcrt=0) at
/usr/src/sys/netinet/ip_input.c:1366
#11 0xc08e2b00 in ip_input (m=0xcc2bb000) at
/usr/src/sys/netinet/ip_input.c:609
#12 0xc08a78a5 in netisr_dispatch (num=2, m=0xcc2bb000) at
/usr/src/sys/net/netisr.c:185
#13 0xc089b551 in ether_demux (ifp=0xcbec9c00, m=0xcc2bb000) at
/usr/src/sys/net/if_ethersubr.c:834
#14 0xc089b943 in ether_input (ifp=0xcbec9c00, m=0xcc2bb000) at
/usr/src/sys/net/if_ethersubr.c:692
#15 0xc0589032 in bge_rxeof (sc=0xcbedf000, rx_prod=333, holdlck=1) at
/usr/src/sys/dev/bge/if_bge.c:3392
#16 0xc058b0b2 in bge_intr (xsc=0xcbedf000) at
/usr/src/sys/dev/bge/if_bge.c:3653
#17 0xc07d54ab in ithread_loop (arg=0xcbed44c0) at
/usr/src/sys/kern/kern_intr.c:1181
#18 0xc07d1c49 in fork_exit (callout=0xc07d5300 <ithread_loop>,
arg=0xcbed44c0, frame=0xcba5bd38)

    at /usr/src/sys/kern/kern_fork.c:811
#19 0xc0ae50b0 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:271

(kgdb) frame 8
#8  0xc08e3aa5 in ip_fragment (ip=0xcc45d810, m_frag=0xcba5bb44, mtu=16384,
if_hwassist_flags=0, sw_csum=1)

    at /usr/src/sys/netinet/ip_output.c:731
731                     m->m_next = m_copy(m0, off, len);
(kgdb) p *ip
$1 = {ip_hl = 5, ip_v = 4, ip_tos = 0 '\0', ip_len = 19712, ip_id = 18546,
ip_off = 0, ip_ttl = 126 '~', ip_p = 47 '/',
  ip_sum = 49301, ip_src = {s_addr = 2132803594}, ip_dst = {s_addr =
4210950154}}


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00

fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc084cfd6
stack pointer           = 0x28:0xcbae93a4
frame pointer           = 0x28:0xcbae93d0

code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 505 (ng_queue1)
trap number             = 12


(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc07f8c57 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc07f8f29 in panic (fmt=Variable "fmt" is not available.

) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0b010dc in trap_fatal (frame=0xcbae9364, eva=12) at
/usr/src/sys/i386/i386/trap.c:950
#4  0xc0b01360 in trap_pfault (frame=0xcbae9364, usermode=0, eva=12) at
/usr/src/sys/i386/i386/trap.c:863
#5  0xc0b01d55 in trap (frame=0xcbae9364) at
/usr/src/sys/i386/i386/trap.c:541
#6  0xc0ae503b in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0xc084cfd6 in m_copym (m=0x0, off0=1500, len=1480, wait=1) at
/usr/src/sys/kern/uipc_mbuf.c:539
#8  0xc08e3aa5 in ip_fragment (ip=0xcc29e835, m_frag=0xcbae9498, mtu=1500,
if_hwassist_flags=0, sw_csum=1)

    at /usr/src/sys/netinet/ip_output.c:731
#9  0xc08e46d2 in ip_output (m=0xcc270500, opt=0x0, ro=0xcbae94d0, flags=1,
imo=0x0, inp=0x0)
    at /usr/src/sys/netinet/ip_output.c:570
#10 0xc08e1554 in ip_forward (m=0xcc270500, srcrt=0) at
/usr/src/sys/netinet/ip_input.c:1366
#11 0xc08e2b00 in ip_input (m=0xcc270500) at
/usr/src/sys/netinet/ip_input.c:609
#12 0xc08a78a5 in netisr_dispatch (num=2, m=0xcc270500) at
/usr/src/sys/net/netisr.c:185
#13 0xcc689dc5 in ng_iface_rcvdata (hook=0xcc0f3c00, item=0xcc5270f0)

    at /usr/src/sys/modules/netgraph/iface/../../../netgraph/ng_iface.c:777
#14 0xcc4b17e4 in ng_apply_item (node=0xcc6b3100, item=0xcc5270f0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#15 0xcc4b07ec in ng_snd_item (item=0xcc5270f0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#16 0xcc4b17e4 in ng_apply_item (node=0xcc71b600, item=0xcc5270f0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#17 0xcc4b07ec in ng_snd_item (item=0xcc5270f0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#18 0xcc6a5266 in ng_car_rcvdata (hook=0xcc6b2a80, item=0xcc5270f0)

    at /usr/src/sys/modules/netgraph/car/../../../netgraph/ng_car.c:367
#19 0xcc4b17e4 in ng_apply_item (node=0xcc6b1380, item=0xcc5270f0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#20 0xcc4b07ec in ng_snd_item (item=0xcc5270f0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#21 0xcc4b17e4 in ng_apply_item (node=0xcc71b600, item=0xcc5270f0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#22 0xcc4b07ec in ng_snd_item (item=0xcc5270f0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#23 0xcc4b17e4 in ng_apply_item (node=0xcc798d80, item=0xcc5270f0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#24 0xcc4b07ec in ng_snd_item (item=0xcc5270f0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#25 0xcc692ca0 in ng_ppp_proto_recv (node=0xcc681a80, item=0xcc5270f0,
proto=Variable "proto" is not available.

)
    at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:934
#26 0xcc693995 in ng_ppp_rcvdata (hook=0xcc680d80, item=0xcc5270f0)

    at /usr/src/sys/modules/netgraph/ppp/../../../netgraph/ng_ppp.c:1509
#27 0xcc4b17e4 in ng_apply_item (node=0xcc681a80, item=0xcc5270f0, rw=0)

---Type <return> to continue, or q <return> to quit---
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#28 0xcc4b07ec in ng_snd_item (item=0xcc5270f0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#29 0xcc4b17e4 in ng_apply_item (node=0xcc6b2d80, item=0xcc5270f0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#30 0xcc4b07ec in ng_snd_item (item=0xcc5270f0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#31 0xcc4b17e4 in ng_apply_item (node=0xcc6ace80, item=0xcc5270f0, rw=0)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2336
#32 0xcc4b07ec in ng_snd_item (item=0xcc5270f0, flags=Variable "flags" is
not available.

)
    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2254
#33 0xcc5568bc in ng_ksocket_incoming2 (node=0xcc6ac980, hook=0x0,
arg1=0xcc76dd00, arg2=0)

    at
/usr/src/sys/modules/netgraph/ksocket/../../../netgraph/ng_ksocket.c:1143
#34 0xcc4b191b in ng_apply_item (node=0xcc6ac980, item=0xcc515d20, rw=1)

    at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2407
#35 0xcc4b2aaf in ngthread (arg=0x0) at
/usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:3304
#36 0xc07d1c49 in fork_exit (callout=0xcc4b2940 <ngthread>, arg=0x0,
frame=0xcbae9d38) at /usr/src/sys/kern/kern_fork.c:811
#37 0xc0ae50b0 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:271

(kgdb) frame 8
#8  0xc08e3aa5 in ip_fragment (ip=0xcc29e835, m_frag=0xcbae9498, mtu=1500,
if_hwassist_flags=0, sw_csum=1)

    at /usr/src/sys/netinet/ip_output.c:731
731                     m->m_next = m_copy(m0, off, len);
(kgdb) p *ip
$1 = {ip_hl = 5, ip_v = 4, ip_tos = 0 '\0', ip_len = 14848, ip_id = 1822,
ip_off = 0, ip_ttl = 127 '\177',
  ip_p = 17 '\021', ip_sum = 42256, ip_src = {s_addr = 3120879794}, ip_dst =
{s_addr = 519394911}}


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00

fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc084cfd6
stack pointer           = 0x28:0xcba78a50
frame pointer           = 0x28:0xcba78a7c

code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 29 (irq26: bge1)
trap number             = 12

#0  doadump () at pcpu.h:196
#1  0xc07f8c57 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc07f8f29 in panic (fmt=Variable "fmt" is not available.

) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0b010dc in trap_fatal (frame=0xcba78a10, eva=12) at
/usr/src/sys/i386/i386/trap.c:950
#4  0xc0b01360 in trap_pfault (frame=0xcba78a10, usermode=0, eva=12) at
/usr/src/sys/i386/i386/trap.c:863
#5  0xc0b01d55 in trap (frame=0xcba78a10) at
/usr/src/sys/i386/i386/trap.c:541
#6  0xc0ae503b in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0xc084cfd6 in m_copym (m=0x0, off0=16380, len=9476, wait=1) at
/usr/src/sys/kern/uipc_mbuf.c:539
#8  0xc08e3aa5 in ip_fragment (ip=0xcd7c5010, m_frag=0xcba78b44, mtu=16384,
if_hwassist_flags=0, sw_csum=3073)

    at /usr/src/sys/netinet/ip_output.c:731
#9  0xc08e46d2 in ip_output (m=0xcd8fc300, opt=0x0, ro=0xcba78b7c, flags=1,
imo=0x0, inp=0x0)
    at /usr/src/sys/netinet/ip_output.c:570
#10 0xc08e1554 in ip_forward (m=0xcd8fc300, srcrt=0) at
/usr/src/sys/netinet/ip_input.c:1366
#11 0xc08e2b00 in ip_input (m=0xcd8fc300) at
/usr/src/sys/netinet/ip_input.c:609
#12 0xc08a78a5 in netisr_dispatch (num=2, m=0xcd8fc300) at
/usr/src/sys/net/netisr.c:185
#13 0xc089b551 in ether_demux (ifp=0xcbefd000, m=0xcd8fc300) at
/usr/src/sys/net/if_ethersubr.c:834
#14 0xc089b943 in ether_input (ifp=0xcbefd000, m=0xcd8fc300) at
/usr/src/sys/net/if_ethersubr.c:692
#15 0xc0589032 in bge_rxeof (sc=0xcbf0b000, rx_prod=514, holdlck=1) at
/usr/src/sys/dev/bge/if_bge.c:3392
#16 0xc058b0b2 in bge_intr (xsc=0xcbf0b000) at
/usr/src/sys/dev/bge/if_bge.c:3653
#17 0xc07d54ab in ithread_loop (arg=0xcbf037b0) at
/usr/src/sys/kern/kern_intr.c:1181
#18 0xc07d1c49 in fork_exit (callout=0xc07d5300 <ithread_loop>,
arg=0xcbf037b0, frame=0xcba78d38)

    at /usr/src/sys/kern/kern_fork.c:811
#19 0xc0ae50b0 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:271

(kgdb) frame 8
#8  0xc08e3aa5 in ip_fragment (ip=0xcd7c5010, m_frag=0xcba78b44, mtu=16384,
if_hwassist_flags=0, sw_csum=3073)

    at /usr/src/sys/netinet/ip_output.c:731
731                     m->m_next = m_copy(m0, off, len);
(kgdb) p *ip
$1 = {ip_hl = 5, ip_v = 4, ip_tos = 0 '\0', ip_len = 25856, ip_id = 16977,
ip_off = 0, ip_ttl = 126 '~', ip_p = 47 '/',
  ip_sum = 12998, ip_src = {s_addr = 4212129802}, ip_dst = {s_addr =
4210950154}}


More information about the freebsd-stable mailing list