Help with crash

Andrea Venturoli ml.diespammer at netfence.it
Thu Mar 22 12:45:44 UTC 2007


Hello.
I got a reboot and a crash dump on a 6.2/i386 server.
Following is the stack trace.
Any hint?

  bye & Thanks
	av.


------------------------------------------------------
# kgdb kernel.debug /var/crash/vmcore.0
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:


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xdeadc0e2
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0496614
stack pointer           = 0x28:0xd6a16a64
frame pointer           = 0x28:0xd6a16a68
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         = 40858 (make)
trap number             = 12
panic: page fault
Uptime: 21d21h40m30s
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  0xc04c4e60 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc04c510b in panic (fmt=0xc05f115f "%s") at 
/usr/src/sys/kern/kern_shutdown.c:565
#3  0xc05d3ab2 in trap_fatal (frame=0xd6a16a24, eva=3735929058) at 
/usr/src/sys/i386/i386/trap.c:837
#4  0xc05d37e3 in trap_pfault (frame=0xd6a16a24, usermode=0, 
eva=3735929058) at /usr/src/sys/i386/i386/trap.c:745
#5  0xc05d344d in trap (frame=
       {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1021863548, tf_esi 
= -1022262144, tf_ebp = -694064536, tf_isp = -694064560, tf_ebx = 
-1067264512, tf_edx = -1003569664, tf_ecx = -1022262144, tf_eax = 
-559038242, tf_trapno = 12, tf_err = 0, tf_eip = -1068931564, tf_cs = 
32, tf_eflags = 66195, tf_esp = -849800160, tf_ss = -694064516})
     at /usr/src/sys/i386/i386/trap.c:435
#6  0xc05c2a3a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0496614 in g_valid_obj (ptr=0xc3118480) at 
/usr/src/sys/geom/geom_subr.c:939
#8  0xc04966f8 in g_vfs_strategy (bo=0xdeadc0de, bp=0xcd591420) at 
/usr/src/sys/geom/geom_vfs.c:97
#9  0xc057a805 in ffs_geom_strategy (bo=0xc3179a90, bp=0xcd591420) at 
/usr/src/sys/ufs/ffs/ffs_vfsops.c:1800
#10 0xc0586279 in ufs_strategy (ap=0xdeadc0de) at 
/usr/src/sys/ufs/ufs/ufs_vnops.c:1979
#11 0xc05de445 in VOP_STRATEGY_APV (vop=0xc0642cc0, a=0xd6a16ae0) at 
vnode_if.c:1796
#12 0xc050e885 in bufstrategy (bo=0xdeadc0de, bp=0xcd591420) at 
vnode_if.h:928
#13 0xc0509a7b in breadn (vp=0xc3dd16cc, blkno=0, size=2048, 
rablkno=0x0, rabsize=0x0, cnt=0, cred=0x0, bpp=0xdeadc0de) at buf.h:426
#14 0xc050997c in bread (vp=0xc3dd16cc, blkno=0, size=2048, cred=0x0, 
bpp=0xd6a16ba4) at /usr/src/sys/kern/vfs_bio.c:719
#15 0xc057af77 in ffs_read (ap=0xdeadc0de) at 
/usr/src/sys/ufs/ffs/ffs_vnops.c:494
#16 0xc05dccf3 in VOP_READ_APV (vop=0xc0642760, a=0xd6a16bf4) at 
vnode_if.c:643
#17 0xc0525ccf in vn_read (fp=0xc39c3c60, uio=0xd6a16cbc, 
active_cred=0xc4364480, flags=0, td=0xc35dbd80) at vnode_if.h:343
#18 0xc04e92c5 in dofileread (td=0xc35dbd80, fd=3, fp=0xc39c3c60, 
auio=0xd6a16cbc, offset=Unhandled dwarf expression opcode 0x93
) at file.h:240
#19 0xc04e915e in kern_readv (td=0xc35dbd80, fd=3, auio=0xd6a16cbc) at 
/usr/src/sys/kern/sys_generic.c:192
#20 0xc04e9089 in read (td=0xc35dbd80, uap=0xc3118480) at 
/usr/src/sys/kern/sys_generic.c:116
#21 0xc05d3d6b in syscall (frame=
       {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 134811968, tf_esi = 
0, tf_ebp = -1077947752, tf_isp = -694063772, tf_ebx = 134811968, tf_edx 
= 134789028, tf_ecx = 1, tf_eax = 3, tf_trapno = 0, tf_err = 2, tf_eip = 
134721467, tf_cs = 51, tf_eflags = 658, tf_esp = -1077947780, tf_ss = 
59}) at /usr/src/sys/i386/i386/trap.c:983
#22 0xc05c2a8f in Xint0x80_syscall () at 
/usr/src/sys/i386/i386/exception.s:200
#23 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 



More information about the freebsd-questions mailing list