Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2007 09:57:34 -0500
From:      "Larry Rosenman" <ler@lerctr.org>
To:        <freebsd-stable@freebsd.org>
Subject:   Crash
Message-ID:  <017a01c7835c$40927b40$c1b771c0$@org>

next in thread | raw e-mail | index | archive | help
I have the vmcore as well:
# kgdb -c vmcore.0 /usr/obj/usr/src/sys/THEBIGHONKER/kernel.debug
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Unde
fined 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 "amd64-marcel-freebsd".

Unread portion of the kernel message buffer:
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xffffffffffffffd4
fault code              = supervisor read data, page not present
instruction pointer     = 0x8:0xffffffff8038c806
stack pointer           = 0x10:0xffffffffb5ba9950
frame pointer           = 0x10:0xffffffffb5ba9990
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = resume, IOPL = 0
current process         = 24295 (exim-4.66-0)
trap number             = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
panic() at panic+0x253
trap_fatal() at trap_fatal+0x2c6
trap() at trap+0x1a8
calltrap() at calltrap+0x5
--- trap 0xc, rip = 0xffffffff8038c806, rsp = 0xffffffffb5ba9950, rbp =
0xffffff
ffb5ba9990 ---
vm_page_alloc() at vm_page_alloc+0x156
_pmap_allocpte() at _pmap_allocpte+0x31
pmap_allocpte() at pmap_allocpte+0xc5
pmap_copy() at pmap_copy+0x2c6
vmspace_fork() at vmspace_fork+0x3bd
vm_forkproc() at vm_forkproc+0xe1
fork1() at fork1+0xc95
fork() at fork+0x1c
syscall() at syscall+0x437
Xfast_syscall() at Xfast_syscall+0xa8
--- syscall (2, FreeBSD ELF64, fork), rip = 0x80179facc, rsp =
0x7fffffffe778, r
bp = 0x3 ---
Uptime: 9d9h39m48s
Physical memory: 4088 MB
Dumping 546 MB: 531 515calcru: runtime went backwards from 107492416053 usec
to
107491627102 usec for pid 60113 (FahCore_78.exe)
 499calcru: runtime went backwards from 107492416053 usec to 107491839468
usec f
or pid 60113 (FahCore_78.exe)
calcru: runtime went backwards from 107492416053 usec to 107492051756 usec
for p
id 60113 (FahCore_78.exe)
 483calcru: runtime went backwards from 107492416053 usec to 107492262697
usec f
or pid 60113 (FahCore_78.exe)
 467calcru: runtime went backwards from 107492416053 usec to 107491474755
usec f
or pid 60113 (FahCore_78.exe)
 451calcru: runtime went backwards from 107492416053 usec to 107491687421
usec f
or pid 60113 (FahCore_78.exe)
calcru: runtime went backwards from 107492416053 usec to 107491899423 usec
for p
id 60113 (FahCore_78.exe)
 435calcru: runtime went backwards from 107492416053 usec to 107492111202
usec f
or pid 60113 (FahCore_78.exe)
 419calcru: runtime went backwards from 107492416053 usec to 107492322721
usec f
or pid 60113 (FahCore_78.exe)
 403calcru: runtime went backwards from 107492416053 usec to 107491535190
usec f
or pid 60113 (FahCore_78.exe)
 387calcru: runtime went backwards from 107492416053 usec to 107491747090
usec f
or pid 60113 (FahCore_78.exe)
calcru: runtime went backwards from 107492416053 usec to 107491958933 usec
for p
id 60113 (FahCore_78.exe)
 371calcru: runtime went backwards from 107492416053 usec to 107492169950
usec f
or pid 60113 (FahCore_78.exe)
 355calcru: runtime went backwards from 107492416053 usec to 107492381054
usec f
or pid 60113 (FahCore_78.exe)
 339calcru: runtime went backwards from 107492416053 usec to 107491591933
usec f
or pid 60113 (FahCore_78.exe)
calcru: runtime went backwards from 107492416053 usec to 107491802814 usec
for p
id 60113 (FahCore_78.exe)
 323calcru: runtime went backwards from 107492416053 usec to 107492014249
usec f
or pid 60113 (FahCore_78.exe)
 307calcru: runtime went backwards from 107492416053 usec to 107491538097
usec f
or pid 60113 (FahCore_78.exe)
 291calcru: runtime went backwards from 107492416053 usec to 107491749020
usec f
or pid 60113 (FahCore_78.exe)
 275calcru: runtime went backwards from 107492416053 usec to 107491959037
usec f
or pid 60113 (FahCore_78.exe)
calcru: runtime went backwards from 107492416053 usec to 107492169849 usec
for p
id 60113 (FahCore_78.exe)
 259calcru: runtime went backwards from 107492416053 usec to 107492380752
usec f
or pid 60113 (FahCore_78.exe)
 243calcru: runtime went backwards from 107492416053 usec to 107491591931
usec f
or pid 60113 (FahCore_78.exe)
 227calcru: runtime went backwards from 107492416053 usec to 107491802756
usec f
or pid 60113 (FahCore_78.exe)
calcru: runtime went backwards from 107492416053 usec to 107492014136 usec
for p
id 60113 (FahCore_78.exe)
 211calcru: runtime went backwards from 107492416053 usec to 107492224747
usec f
or pid 60113 (FahCore_78.exe)
 195calcru: runtime went backwards from 107492416053 usec to 107491435587
usec f
or pid 60113 (FahCore_78.exe)
 179calcru: runtime went backwards from 107492416053 usec to 107491646622
usec f
or pid 60113 (FahCore_78.exe)
 163calcru: runtime went backwards from 107492416053 usec to 107491857664
usec f
or pid 60113 (FahCore_78.exe)
calcru: runtime went backwards from 107492416053 usec to 107492068758 usec
for p
id 60113 (FahCore_78.exe)
 147calcru: runtime went backwards from 107492416053 usec to 107492279065
usec f
or pid 60113 (FahCore_78.exe)
 131calcru: runtime went backwards from 107492416053 usec to 107491490234
usec f
or pid 60113 (FahCore_78.exe)
 115calcru: runtime went backwards from 107492416053 usec to 107491701727
usec f
or pid 60113 (FahCore_78.exe)
 99calcru: runtime went backwards from 107492416053 usec to 107491912670
usec fo
r pid 60113 (FahCore_78.exe)
calcru: runtime went backwards from 107492416053 usec to 107492123832 usec
for p
id 60113 (FahCore_78.exe)
 83calcru: runtime went backwards from 107492416053 usec to 107492335365
usec fo
r pid 60113 (FahCore_78.exe)
 67calcru: runtime went backwards from 107492416053 usec to 107491546145
usec fo
r pid 60113 (FahCore_78.exe)
 51calcru: runtime went backwards from 107492416053 usec to 107491757253
usec fo
r pid 60113 (FahCore_78.exe)
calcru: runtime went backwards from 107492416053 usec to 107491968870 usec
for p
id 60113 (FahCore_78.exe)
 35calcru: runtime went backwards from 107492416053 usec to 107491492783
usec fo
r pid 60113 (FahCore_78.exe)
 19calcru: runtime went backwards from 107492416053 usec to 107491703760
usec fo
r pid 60113 (FahCore_78.exe)
 3

#0  doadump () at pcpu.h:172
172     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:172
#1  0xffffffff802853b0 in boot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xffffffff8028589b in panic (fmt=0xffffffff8040d54c "%s")
    at /usr/src/sys/kern/kern_shutdown.c:565
#3  0xffffffff803b1916 in trap_fatal (frame=0xc, eva=18446742977252509472)
    at /usr/src/sys/amd64/amd64/trap.c:668
#4  0xffffffff803b1e68 in trap (frame=
      {tf_rdi = -1096384115336, tf_rsi = -2141391232, tf_rdx = 65, tf_rcx =
0, tf_r8 = -1096384411016, tf_r9 = 65, tf_rax = 3, tf_rbx = -1096384115336,
tf_rbp = -1246062192, tf_r10 = 64, tf_r11 = -140737488355328, tf_r12 = 0,
tf_r13 = 2, tf_r14 = 352, tf_r15 = 2, tf_trapno = 12, tf_addr = -44,
tf_flags = 2, tf_err = 0, tf_rip = -2143762426, tf_cs = 8, tf_rflags =
65542, tf_rsp = -1246062240, tf_ss = 16}) at
/usr/src/sys/amd64/amd64/trap.c:239
#5  0xffffffff8039a06b in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:168
#6  0xffffffff8038c806 in vm_page_alloc (object=0x0, pindex=2, req=352)
    at /usr/src/sys/vm/vm_page.c:935
#7  0xffffffff803a8471 in _pmap_allocpte (pmap=0xffffff013f66a7c0,
    ptepindex=2, flags=1) at /usr/src/sys/amd64/amd64/pmap.c:1126
#8  0xffffffff803a8835 in pmap_allocpte (pmap=0xffffff013f66a7c0,
va=4194304,
    flags=1) at /usr/src/sys/amd64/amd64/pmap.c:1313
#9  0xffffffff803aa7d6 in pmap_copy (dst_pmap=0xffffff013f66a7c0,
---Type <return> to continue, or q <return> to quit---
    src_pmap=0xffffff007fe909e0, dst_addr=65, len=0, src_addr=4194304)
    at /usr/src/sys/amd64/amd64/pmap.c:2409
#10 0xffffffff80385d3d in vmspace_fork (vm1=0xffffff00ba6a0d78)
    at /usr/src/sys/vm/vm_map.c:2499
#11 0xffffffff80381281 in vm_forkproc (td=0xffffff00b6114720,
    p2=0xffffff00a9028358, td2=0xffffff010cebc720, flags=20)
    at /usr/src/sys/vm/vm_glue.c:540
#12 0xffffffff8026e4e5 in fork1 (td=0xffffff00b6114720, flags=20, pages=0,
    procp=0xffffffffb5ba9b70) at /usr/src/sys/kern/kern_fork.c:672
#13 0xffffffff8026ebcc in fork (td=0xffffff00b6114720,
uap=0xffffffff805cf680)
    at /usr/src/sys/kern/kern_fork.c:98
#14 0xffffffff803b25f7 in syscall (frame=
      {tf_rdi = 3, tf_rsi = 140737488349072, tf_rdx = 140737488349056,
tf_rcx = 34382993660, tf_r8 = -2143111624, tf_r9 = 140737488349048, tf_rax =
2, tf_rbx = 1, tf_rbp = 3, tf_r10 = 140737488348272, tf_r11 = 2, tf_r12 =
6217728, tf_r13 = 0, tf_r14 = 0, tf_r15 = 0, tf_trapno = 12, tf_addr =
34386217776, tf_flags = 49, tf_err = 2, tf_rip = 34384509644, tf_cs = 43,
tf_rflags = 514, tf_rsp = 140737488349048, tf_ss = 35}) at
/usr/src/sys/amd64/amd64/trap.c:803
#15 0xffffffff8039a208 in Xfast_syscall ()
    at /usr/src/sys/amd64/amd64/exception.S:270
#16 0x000000080179facc in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)

Any ideas?  April 10 6.2/amd64 sources.

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?017a01c7835c$40927b40$c1b771c0$>