[root@squirrel /usr/obj/usr/src/sys/SCOUT]# [root@squirrel /usr/obj/usr/src/sys/SCOUT]# kgdb kernel.debug /var/crash/vmcore.5 [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 = 0xb fault code = supervisor read, page not present instruction pointer = 0x20:0xc0a8ab69 stack pointer = 0x28:0xdc20c800 frame pointer = 0x28:0xdc20c808 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 = 29220 (gltext) trap number = 12 panic: page fault Uptime: 1h16m5s Dumping 511 MB (2 chunks) chunk 0: 1MB (160 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 0xc04fd21f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402 #2 0xc04fd546 in panic (fmt=0xc0666b37 "%s") at /usr/src/sys/kern/kern_shutdown.c:558 #3 0xc06414dc in trap_fatal (frame=0xdc20c7c0, eva=0) at /usr/src/sys/i386/i386/trap.c:836 #4 0xc06411e2 in trap_pfault (frame=0xdc20c7c0, usermode=0, eva=11) at /usr/src/sys/i386/i386/trap.c:744 #5 0xc0640dad in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -601831292, tf_esi = -1016397824, tf_ebp = -601831416, tf_isp = -601831444, tf_ebx = -1010540544, tf_edx = 0, tf_ecx = -1016113152, tf_eax = -1, tf_trapno = 12, tf_err = 0, tf_eip = -1062687895, tf_cs = 32, tf_eflags = 66182, tf_esp = -601831420, tf_ss = -1010540544}) at /usr/src/sys/i386/i386/trap.c:434 #6 0xc062eb6a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc0a8ab69 in ?? () #8 0xc3c46000 in ?? () #9 0xdc20c828 in ?? () #10 0xc0849b1a in ?? () #11 0xffffffff in ?? () #12 0x00000001 in ?? () #13 0x00000000 in ?? () #14 0xc1d00051 in ?? () ---Type to continue, or q to quit--- #15 0xdc20c858 in ?? () #16 0x0000003e in ?? () #17 0xdc20c858 in ?? () #18 0xc082030f in ?? () #19 0xc36b0000 in ?? () #20 0xc3c46000 in ?? () #21 0xdc20c848 in ?? () #22 0xc1d00051 in ?? () #23 0xdc20c844 in ?? () #24 0x00000005 in ?? () #25 0xc4e08800 in ?? () #26 0x0000003e in ?? () #27 0xc1d00051 in ?? () #28 0xbeef0003 in ?? () #29 0xdc20c898 in ?? () #30 0xc082ee60 in ?? () #31 0xc1d00051 in ?? () #32 0xbeef0003 in ?? () #33 0xdc20c884 in ?? () #34 0xdc20c888 in ?? () #35 0x00000000 in ?? () #36 0xdc20c88c in ?? () #37 0xc43fc5b0 in ?? () ---Type to continue, or q to quit--- #38 0x00000020 in ?? () #39 0xc1d00051 in ?? () #40 0x00000000 in ?? () #41 0x00000041 in ?? () #42 0x00000020 in ?? () #43 0xc1d00051 in ?? () #44 0xbeef0003 in ?? () #45 0xdc20c8d8 in ?? () #46 0xc082e6b9 in ?? () #47 0xc1d00051 in ?? () #48 0xbeef0003 in ?? () #49 0x0000003e in ?? () #50 0x08112700 in ?? () #51 0xc3679800 in ?? () #52 0xc3679000 in ?? () #53 0x00000000 in ?? () #54 0xc4e08800 in ?? () #55 0xc379a000 in ?? () #56 0x00000020 in ?? () #57 0xc3c93800 in ?? () #58 0x00000000 in ?? () #59 0xc4e08800 in ?? () #60 0x00000000 in ?? () ---Type to continue, or q to quit--- #61 0xdc20c908 in ?? () #62 0xc082e4a2 in ?? () #63 0xc1d00051 in ?? () #64 0xbeef0003 in ?? () #65 0xc3c93800 in ?? () #66 0x00000140 in ?? () #67 0xc1d00051 in ?? () #68 0xc1d00051 in ?? () #69 0xdc20c908 in ?? () #70 0xc1d00051 in ?? () #71 0xc1d00051 in ?? () #72 0x00000000 in ?? () #73 0xdc20c958 in ?? () #74 0xc082e2a9 in ?? () #75 0xc1d00051 in ?? () #76 0xdc20c948 in ?? () #77 0x00000140 in ?? () #78 0x00000000 in ?? () #79 0xc46b0960 in ?? () #80 0xc36b0000 in ?? () #81 0xdc20c934 in ?? () #82 0x00000246 in ?? () #83 0xc36c3740 in ?? () ---Type to continue, or q to quit--- #84 0xdc20c93c in ?? () #85 0xc04f2882 in _mtx_unlock_spin_flags (m=0x0, opts=1, file=0x0, line=-1043333039) at /usr/src/sys/kern/kern_mutex.c:408 Previous frame inner to this frame (corrupt stack?) (kgdb)