System Crash - Panic Page Fault

Clayton Barbier clayton at xstaticsolutions.com
Fri Sep 22 16:36:29 PDT 2006


Good morning,

 

I was hoping someone may be able to help me debug my system. I'm currently
running FreeBSD 6.1 RELEASE.

 

Below is a partial kernel debug log of the crash.

 

Thanks for any assistance!

 

- Clayton

 

server1# kgdb kernel.debug /var/crash/vmcore.10

[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   = 0x58

fault code              = supervisor write, page not present

instruction pointer     = 0x20:0xc06e9e5b

stack pointer           = 0x28:0xdf32cb18

frame pointer           = 0x28:0xdf32cb34

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         = 99398 (ircd)

trap number             = 12

panic: page fault

Uptime: 24d15h35m13s

Dumping 510 MB (2 chunks)

  chunk 0: 1MB (160 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) where

#0  doadump () at pcpu.h:165

#1  0xc064dee1 in boot (howto=260) at ../../../kern/kern_shutdown.c:402

#2  0xc064e178 in panic (fmt=0xc088d24a "%s") at
../../../kern/kern_shutdown.c:558

#3  0xc08424d4 in trap_fatal (frame=0xdf32cad8, eva=88) at
../../../i386/i386/trap.c:836

#4  0xc084223b in trap_pfault (frame=0xdf32cad8, usermode=0, eva=88) at
../../../i386/i386/trap.c:744

#5  0xc0841e79 in trap (frame=

      {tf_fs = -1003880440, tf_es = -974913496, tf_ds = 40, tf_edi = 0,
tf_esi = 0, tf_ebp = -550319308, tf_isp = -550319356, tf_ebx = -550318960,
tf_edx = -550318704, tf_ecx = 0, tf_eax = 16, tf_trapno = 12, tf_err = 2,
tf_eip = -1066492325, tf_cs = 32, tf_eflags = 66183, tf_esp = -550319028,
tf_ss = 16})

    at ../../../i386/i386/trap.c:434

#6  0xc08313da in calltrap () at ../../../i386/i386/exception.s:139

#7  0xc06e9e5b in ip_ctloutput (so=0x10, sopt=0xdf32cc90) at
../../../netinet/ip_output.c:1210

#8  0xc06f9e4f in tcp_ctloutput (so=0xc42a0590, sopt=0xdf32cc90) at
../../../netinet/tcp_usrreq.c:1038

#9  0xc06878ac in sosetopt (so=0xc42a0590, sopt=0xdf32cc90) at
../../../kern/uipc_socket.c:1560

#10 0xc068cb3d in kern_setsockopt (td=0xc4678300, s=528, level=16, name=16,
val=0xdf32cd90, valseg=UIO_USERSPACE, valsize=0)

    at ../../../kern/uipc_syscalls.c:1351

#11 0xc068ca6e in setsockopt (td=0xc4678300, uap=0x10) at
../../../kern/uipc_syscalls.c:1307

#12 0xc08427eb in syscall (frame=

      {tf_fs = 705036347, tf_es = 59, tf_ds = -1078001605, tf_edi =
141443072, tf_esi = -1077941380, tf_ebp = -1077941368, tf_isp = -550318748,
tf_ebx = 528, tf_edx = -1077941324, tf_ecx = 141344960, tf_eax = 105,
tf_trapno = 0, tf_err = 2, tf_eip = 673642671, tf_cs = 51, tf_eflags = 642,
tf_esp = -1077941428, tf_ss = 59}) at ../../../i386/i386/trap.c:981

#13 0xc083142f in Xint0x80_syscall () at ../../../i386/i386/exception.s:200

#14 0x00000033 in ?? ()

Previous frame inner to this frame (corrupt stack?)

(kgdb)



More information about the freebsd-stable mailing list