[starfire:10:01]# kgdb kernel.debug /var/crash/vmcore.1 [p0] kgdb: kvm_nlist(_stopped_cpus): kgdb: kvm_nlist(_stoppcbs): [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: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x78 fault code = supervisor read, page not present instruction pointer = 0x20:0xc058c693 stack pointer = 0x28:0xdea99a64 frame pointer = 0x28:0xdea99a68 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 1256 (zebra) trap number = 12 panic: page fault Uptime: 4d16h16m3s Dumping 510 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 510MB (130544 pages) 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc056704a in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0567354 in panic (fmt=0xc0756c52 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0xc0730461 in trap_fatal (frame=0xdea99a24, eva=0) at /usr/src/sys/i386/i386/trap.c:837 #4 0xc072fb79 in trap (frame= {tf_fs = -559349752, tf_es = -1068040152, tf_ds = -1020723160, tf_edi = -1013906004, tf_esi = -1013704448, tf_ebp = -559310232, tf_isp = -559310256, tf_ebx = -1013870528, tf_edx = -1013704448, tf_ecx = 4, tf_eax = 4, tf_trapno = 12, tf_err = 0, tf_eip = -1067923821, tf_cs = 32, tf_eflags = 65539, tf_esp = -1013704448, tf_ss = -559310196}) at /usr/src/sys/i386/i386/trap.c:270 #5 0xc071cf7a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #6 0xc058c693 in turnstile_setowner (ts=0xc3919040, owner=0x4) at /usr/src/sys/kern/subr_turnstile.c:432 #7 0xc058c9bf in turnstile_wait (lock=0xc3652270, owner=0x4) at /usr/src/sys/kern/subr_turnstile.c:591 #8 0xc055cc27 in _mtx_lock_sleep (m=0xc3652270, tid=3281262848, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:579 #9 0xc05f3800 in rtrequest1 (req=2, info=0xdea99b24, ret_nrt=0xdea99b10) at /usr/src/sys/net/route.c:703 #10 0xc05f54a1 in route_output (m=0xc5bfd400, so=0xc3544000) at /usr/src/sys/net/rtsock.c:391 #11 0xc05f27ce in raw_usend (so=0x4, flags=0, m=0xc3941900, nam=0x0, control=0x4, td=0xc3941900) at /usr/src/sys/net/raw_usrreq.c:263 #12 0xc05f5113 in rts_send (so=0x4, flags=4, m=0x4, nam=0x4, control=0x4, td=0x4) at /usr/src/sys/net/rtsock.c:269 #13 0xc05a8da0 in sosend (so=0xc3544000, addr=0x0, uio=0xdea99cb0, top=0xc5bfd400, control=0x0, flags=0, td=0xc3941900) at /usr/src/sys/kern/uipc_socket.c:836 #14 0xc0594d5c in soo_write (fp=0x4, uio=0xdea99cb0, active_cred=0xc3538300, flags=0, td=0xc3941900) at /usr/src/sys/kern/sys_socket.c:118 #15 0xc058e4a8 in dofilewrite (td=0xc3941900, fd=4, fp=0xc34e1240, auio=0xdea99cb0, offset=Unhandled dwarf expression opcode 0x93 ) at file.h:252 #16 0xc058e2df in kern_writev (td=0xc3941900, fd=6, auio=0x4) at /usr/src/sys/kern/sys_generic.c:402 #17 0xc058e1b1 in write (td=0x4, uap=0x4) at /usr/src/sys/kern/sys_generic.c:326 #18 0xc0730817 in syscall (frame= {tf_fs = 134873147, tf_es = 134873147, tf_ds = -1078001605, tf_edi = -1077941808, tf_esi = -1077942364, tf_ebp = -1077941880, tf_isp = -559309468, tf_ebx = 28, tf_edx = -1077942512, tf_ecx = 0, tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 673041331, tf_cs = 51, tf_eflags = 514, tf_esp = -1077942532, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:983 #19 0xc071cfcf in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 #20 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) list *0xc071cfcf 0xc071cfcf is at /usr/src/sys/i386/i386/exception.s:202. 197 movl $KPSEL,%eax 198 movl %eax,%fs 199 FAKE_MCOUNT(TF_EIP(%esp)) 200 call syscall 201 MEXITCOUNT 202 jmp doreti 203 204 ENTRY(fork_trampoline) 205 pushl %esp /* trapframe pointer */ 206 pushl %ebx /* arg1 */ (kgdb)