Код: Выделить всё
kgdb -q /boot/kernel/kernel /var/crash/vmcore.1
Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from /boot/kernel/ng_ppp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ppp.ko
Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from /boot/kernel/ng_tee.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_tee.ko
Reading symbols from /boot/kernel/ng_pptpgre.ko...Reading symbols from /boot/kernel/ng_pptpgre.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_pptpgre.ko
Reading symbols from /boot/kernel/ng_ksocket.ko...Reading symbols from /boot/kernel/ng_ksocket.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ksocket.ko
Reading symbols from /boot/kernel/ng_vjc.ko...Reading symbols from /boot/kernel/ng_vjc.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_vjc.ko
Reading symbols from /usr/local/lib/dahdi/dahdi.ko...done.
Loaded symbols for /usr/local/lib/dahdi/dahdi.ko
#0 doadump () at pcpu.h:231
231 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0 doadump () at pcpu.h:231
#1 0xc07899d3 in boot (howto=260) at ../../../kern/kern_shutdown.c:419
#2 0xc0789c70 in panic (fmt=Variable "fmt" is not available.
) at ../../../kern/kern_shutdown.c:592
#3 0xc0a50c7b in dblfault_handler () at ../../../i386/i386/trap.c:979
#4 0xc04d2768 in fr_checkstate (fin=0xe7dd113c, passp=0xe7dd1138)
at ../../../contrib/ipfilter/netinet/ip_state.c:2700
#5 0xc04b6560 in fr_check (ip=0xc6305348, hlen=20, ifp=0xc5769c00, out=1, mp=0xe7dd1244)
at ../../../contrib/ipfilter/netinet/fil.c:2591
#6 0xc04b92bf in fr_check_wrapper (arg=0x0, mp=0xe7dd1244, ifp=0xc5769c00, dir=2)
at ../../../contrib/ipfilter/netinet/ip_fil_freebsd.c:186
#7 0xc0843828 in pfil_run_hooks (ph=0xc0bf8ea0, mp=0xe7dd12b4, ifp=0xc5769c00, dir=2, inp=0xc6f4e898)
at ../../../net/pfil.c:82
#8 0xc0886f85 in ip_output (m=0xc6305300, opt=0x0, ro=0xe7dd12bc, flags=Variable "flags" is not available.
) at ../../../netinet/ip_output.c:511
#9 0xc08ef851 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1206
#10 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#11 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#12 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#13 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#14 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#15 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#16 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#17 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#18 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#19 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#20 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#21 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#22 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#23 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#24 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#25 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#26 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#27 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#28 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#29 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#30 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
---Type <return> to continue, or q <return> to quit---
#31 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#32 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#33 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#34 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#35 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#36 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#37 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#38 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#39 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#40 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#41 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#42 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#43 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#44 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#45 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#46 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#47 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#48 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#49 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#50 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#51 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#52 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#53 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#54 0xc08f2648 in tcp_mtudisc (inp=0xc6f4e898, errno=0) at tcp_offload.h:282
#55 0xc08ef941 in tcp_output (tp=0xc69eb768) at ../../../netinet/tcp_output.c:1267
#56 0xc08fbafa in tcp_usr_send (so=0xc62fc4d4, flags=0, m=0xc6300600, nam=0x0, control=0x0, td=0xc6b352d0)
at tcp_offload.h:282
#57 0xc07f28e6 in kern_sendfile (td=0xc6b352d0, uap=0xe7dd2cec, hdr_uio=0xc625ce40, trl_uio=0x0, compat=0)
at ../../../kern/uipc_syscalls.c:2195
#58 0xc07f2cb1 in do_sendfile (td=0xc6b352d0, uap=0xe7dd2cec, compat=0) at ../../../kern/uipc_syscalls.c:1782
#59 0xc07f2d53 in sendfile (td=0xc6b352d0, uap=0xe7dd2cec) at ../../../kern/uipc_syscalls.c:1753
#60 0xc07c48a9 in syscallenter (td=0xc6b352d0, sa=0xe7dd2ce4) at ../../../kern/subr_trap.c:315
#61 0xc0a51254 in syscall (frame=0xe7dd2d28) at ../../../i386/i386/trap.c:1061
#62 0xc0a38261 in Xint0x80_syscall () at ../../../i386/i386/exception.s:264
#63 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) quit
Код: Выделить всё
kgdb -q /boot/kernel/kernel /var/crash/vmcore.0
Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from /boot/kernel/ng_ppp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ppp.ko
Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from /boot/kernel/ng_tee.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_tee.ko
Reading symbols from /boot/kernel/ng_pptpgre.ko...Reading symbols from /boot/kernel/ng_pptpgre.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_pptpgre.ko
Reading symbols from /boot/kernel/ng_ksocket.ko...Reading symbols from /boot/kernel/ng_ksocket.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ksocket.ko
Reading symbols from /boot/kernel/ng_vjc.ko...Reading symbols from /boot/kernel/ng_vjc.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_vjc.ko
Reading symbols from /usr/local/lib/dahdi/dahdi.ko...done.
Loaded symbols for /usr/local/lib/dahdi/dahdi.ko
#0 doadump () at pcpu.h:231
231 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0 doadump () at pcpu.h:231
#1 0xc07899d3 in boot (howto=260) at ../../../kern/kern_shutdown.c:419
#2 0xc0789c70 in panic (fmt=Variable "fmt" is not available.
) at ../../../kern/kern_shutdown.c:592
#3 0xc0a50c7b in dblfault_handler () at ../../../i386/i386/trap.c:979
#4 0x00000000 in ?? ()
(kgdb)
Код: Выделить всё
kgdb -q /boot/kernel/kernel /var/crash/vmcore.2
Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from /boot/kernel/ng_ppp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ppp.ko
Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from /boot/kernel/ng_tee.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_tee.ko
Reading symbols from /boot/kernel/ng_pptpgre.ko...Reading symbols from /boot/kernel/ng_pptpgre.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_pptpgre.ko
Reading symbols from /boot/kernel/ng_ksocket.ko...Reading symbols from /boot/kernel/ng_ksocket.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ksocket.ko
Reading symbols from /boot/kernel/ng_vjc.ko...Reading symbols from /boot/kernel/ng_vjc.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_vjc.ko
#0 doadump () at pcpu.h:231
231 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0 doadump () at pcpu.h:231
#1 0xc07899d3 in boot (howto=260) at ../../../kern/kern_shutdown.c:419
#2 0xc0789c70 in panic (fmt=Variable "fmt" is not available.
) at ../../../kern/kern_shutdown.c:592
#3 0xc0a50c7b in dblfault_handler () at ../../../i386/i386/trap.c:979
#4 0xc04d2768 in fr_checkstate (fin=0xe7fff13c, passp=0xe7fff138)
at ../../../contrib/ipfilter/netinet/ip_state.c:2700
#5 0xc04b6560 in fr_check (ip=0xc57c0448, hlen=20, ifp=0xc58bec00, out=1, mp=0xe7fff244)
at ../../../contrib/ipfilter/netinet/fil.c:2591
#6 0xc04b92bf in fr_check_wrapper (arg=0x0, mp=0xe7fff244, ifp=0xc58bec00, dir=2)
at ../../../contrib/ipfilter/netinet/ip_fil_freebsd.c:186
#7 0xc0843828 in pfil_run_hooks (ph=0xc0bf8ea0, mp=0xe7fff2b4, ifp=0xc58bec00, dir=2, inp=0xc6a43000)
at ../../../net/pfil.c:82
#8 0xc0886f85 in ip_output (m=0xc57c0400, opt=0x0, ro=0xe7fff2bc, flags=Variable "flags" is not available.
) at ../../../netinet/ip_output.c:511
#9 0xc08ef851 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1206
#10 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#11 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#12 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#13 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#14 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#15 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#16 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#17 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#18 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#19 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#20 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#21 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#22 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#23 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#24 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#25 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#26 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#27 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#28 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#29 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#30 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
---Type <return> to continue, or q <return> to quit---
#31 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#32 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#33 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#34 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#35 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#36 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#37 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#38 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#39 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#40 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#41 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#42 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#43 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#44 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#45 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#46 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#47 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#48 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#49 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#50 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#51 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#52 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#53 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#54 0xc08f2648 in tcp_mtudisc (inp=0xc6a43000, errno=0) at tcp_offload.h:282
#55 0xc08ef941 in tcp_output (tp=0xc7116c58) at ../../../netinet/tcp_output.c:1267
#56 0xc08fbafa in tcp_usr_send (so=0xc6a2380c, flags=0, m=0xc612b100, nam=0x0, control=0x0, td=0xc7110b40)
at tcp_offload.h:282
#57 0xc07f28e6 in kern_sendfile (td=0xc7110b40, uap=0xe8000cec, hdr_uio=0xc76f4e80, trl_uio=0x0, compat=0)
at ../../../kern/uipc_syscalls.c:2195
#58 0xc07f2cb1 in do_sendfile (td=0xc7110b40, uap=0xe8000cec, compat=0) at ../../../kern/uipc_syscalls.c:1782
#59 0xc07f2d53 in sendfile (td=0xc7110b40, uap=0xe8000cec) at ../../../kern/uipc_syscalls.c:1753
#60 0xc07c48a9 in syscallenter (td=0xc7110b40, sa=0xe8000ce4) at ../../../kern/subr_trap.c:315
#61 0xc0a51254 in syscall (frame=0xe8000d28) at ../../../i386/i386/trap.c:1061
#62 0xc0a38261 in Xint0x80_syscall () at ../../../i386/i386/exception.s:264
#63 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)