# kgdb kernel.debug /var/crash/vmcore.6 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc fault code = supervisor read, page not present instruction pointer = 0x20:0xc05a47bb stack pointer = 0x28:0xd447db18 frame pointer = 0x28:0xd447db3c 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 = 24 (ath1 taskq) trap number = 12 panic: page fault Uptime: 1d7h56m6s Dumping 511 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) backtrace #0 doadump () at pcpu.h:165 #1 0xc056da25 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402 #2 0xc056dcbc in panic (fmt=0xc07a4185 "%s") at /usr/src/sys/kern/kern_shutdown.c:558 #3 0xc07658c8 in trap_fatal (frame=0xd447dad8, eva=12) at /usr/src/sys/i386/i386/trap.c:836 #4 0xc076562f in trap_pfault (frame=0xd447dad8, usermode=0, eva=12) at /usr/src/sys/i386/i386/trap.c:744 #5 0xc076528d in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -979275436, tf_esi = 370, tf_ebp = -733488324, tf_isp = -733488380, tf_ebx = -979275520, tf_edx = 0, tf_ecx = -1012252656, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1067825221, tf_cs = 32, tf_eflags = 590342, tf_esp = 0, tf_ss = -733488320}) at /usr/src/sys/i386/i386/trap.c:434 #6 0xc0754a6a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc05a47bb in m_copym (m=0x0, off0=1500, len=1480, wait=1) at /usr/src/sys/kern/uipc_mbuf.c:400 #8 0xc06204b8 in ip_fragment (ip=0xc3aa4010, m_frag=0xd447dbec, mtu=-979275520, if_hwassist_flags=0, sw_csum=1) at /usr/src/sys/netinet/ip_output.c:975 #9 0xc0610c4e in ip_fastforward (m=0xc3a7ba00) at /usr/src/sys/netinet/ip_fastfwd.c:561 #10 0xc05de953 in ether_demux (ifp=0xc33ac400, m=0xc3a7ba00) at /usr/src/sys/net/if_ethersubr.c:766 #11 0xc05de715 in ether_input (ifp=0xc33ac400, m=0xc3a7ba00) at /usr/src/sys/net/if_ethersubr.c:620 #12 0xc05f5604 in ieee80211_deliver_data (ic=0xc33ad230, ni=0xc5602000, m=0xc3a7ba00) at /usr/src/sys/net80211/ieee80211_input.c:717 #13 0xc05f507d in ieee80211_input (ic=0xc33ad230, m=0xc3a7ba00, ni=0xc5602000, rssi=30, rstamp=27616) at /usr/src/sys/net80211/ieee80211_input.c:481 #14 0xc04afd66 in ath_rx_proc (arg=0xc33ad000, npending=1) at /usr/src/sys/dev/ath/if_ath.c:2977 #15 0xc058de89 in taskqueue_run (queue=0xc32f4780) at /usr/src/sys/kern/subr_taskqueue.c:217 #16 0xc058e03a in taskqueue_thread_loop (arg=0x0) at /usr/src/sys/kern/subr_taskqueue.c:276 #17 0xc0558068 in fork_exit (callout=0xc058dff8 , arg=0xc33adee0, frame=0xd447dd38) at /usr/src/sys/kern/kern_fork.c:805 #18 0xc0754acc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208 (kgdb) quit # kgdb kernel.debug /var/crash/vmcore.7 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: interrupt total irq14: ata0 34029 irq17: ath0 329111 irq18: ath1 165989 irq19: rl0 15153 irq21: uhci0 ehci0 735 irq23: vr0 110085 cpu0: timer 443218 Total 1098320 panic: watchdog timeout Uptime: 3m42s Dumping 511 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) backtrace #0 doadump () at pcpu.h:165 #1 0xc056da25 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402 #2 0xc056dcbc in panic (fmt=0xc07ae613 "watchdog timeout") at /usr/src/sys/kern/kern_shutdown.c:558 #3 0xc0543e86 in watchdog_fire () at /usr/src/sys/kern/kern_clock.c:583 #4 0xc05439a5 in hardclock (frame=0xc3884900) at /usr/src/sys/kern/kern_clock.c:279 #5 0xc075a68d in lapic_handle_timer (frame= {cf_vec = 0, cf_fs = 8, cf_es = 40, cf_ds = 40, cf_edi = -1015050576, cf_esi = -1018397184, cf_ebp = -660935872, cf_ebx = -1018397184, cf_edx = 116, cf_ecx = -1065296032, cf_eax = -1416560640, cf_eip = -1067795618, cf_cs = 32, cf_eflags = 663, cf_esp = -1015530112, cf_ss = -1014478592}) at /usr/src/sys/i386/i386/local_apic.c:623 #6 0xc0755050 in Xtimerint () at apic_vector.s:137 #7 0xc05abb5e in sbcompress (sb=0xc37f8eb0, m=0xc34c7e00, n=0xc34c7e00) at /usr/src/sys/kern/uipc_socket2.c:1091 #8 0xc05ab2fb in sbappendstream_locked (sb=0xc37f8eb0, m=0xc34c7e00) at /usr/src/sys/kern/uipc_socket2.c:745 #9 0xc05ab345 in sbappendstream (sb=0xc37f8eb0, m=0xc34c7e00) at /usr/src/sys/kern/uipc_socket2.c:761 #10 0xc0630fc0 in tcp_usr_send (so=0xc37f8de8, flags=0, m=0xc34c7e00, nam=0x0, control=0x0, td=0xc3884900) at /usr/src/sys/netinet/tcp_usrreq.c:665 #11 0xc05a7c0b in sosend (so=0xc37f8de8, addr=0x0, uio=0xd89aecbc, top=0xc34c7e00, control=0x0, flags=0, td=0xc3884900) at /usr/src/sys/kern/uipc_socket.c:836 #12 0xc0596152 in soo_write (fp=0xab910000, uio=0xd89aecbc, active_cred=0xc3783d80, flags=0, td=0xc3884900) at /usr/src/sys/kern/sys_socket.c:118 #13 0xc05908bb in dofilewrite (td=0xc3884900, fd=3, fp=0xc37f9000, auio=0xd89aecbc, offset=Unhandled dwarf expression opcode 0x93 ) at file.h:246 #14 0xc059075f in kern_writev (td=0xc3884900, fd=3, auio=0xd89aecbc) at /usr/src/sys/kern/sys_generic.c:402 #15 0xc0590685 in write (td=0xc3884900, uap=0xc080df60) at /usr/src/sys/kern/sys_generic.c:326 #16 0xc0765bdf in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 134715936, tf_esi = 134681128, tf_ebp = -1077943096, tf_isp = -660935324, tf_ebx = 671931192, tf_edx = 134681128, tf_ecx = 3, tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 674475811, tf_cs = 51, tf_eflags = 646, tf_esp = -1077943124, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:981 #17 0xc0754abf in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 #18 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) quit