Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2007 09:36:27 -0500 (CDT)
From:      Larry Rosenman <ler@lerctr.org>
To:        freebsd-stable@freebsd.org
Subject:   Panic: Page not present: RELENG_6
Message-ID:  <20070727093524.K20208@thebighonker.lerctr.org>

next in thread | raw e-mail | index | archive | help
I got the following:
  $ kgdb  -c /var/crash/vmcore.1 kernel.debug
[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 "amd64-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xffff803fff800058
fault code              = supervisor read data, page not present
instruction pointer     = 0x8:0xffffffff803abb0e
stack pointer           = 0x10:0xffffffffb5ebfa40
frame pointer           = 0x10:0xffffffffb5ebfa90
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 57526 (sshd)
trap number             = 12
panic: page fault
cpuid = 2
KDB: stack backtrace:
panic() at panic+0x253
trap_fatal() at trap_fatal+0x2c6
trap_pfault() at trap_pfault+0x243
trap() at trap+0x298
calltrap() at calltrap+0x5
--- trap 0xc, rip = 0xffffffff803abb0e, rsp = 0xffffffffb5ebfa40, rbp = 0xffffffffb5ebfa90 ---
pmap_remove_pages() at pmap_remove_pages+0xde
vmspace_exit() at vmspace_exit+0x9a
exit1() at exit1+0x38c
sys_exit() at sys_exit+0xe
syscall() at syscall+0x437
Xfast_syscall() at Xfast_syscall+0xa8
--- syscall (1, FreeBSD ELF64, sys_exit), rip = 0x8016a096c, rsp = 0x7fffffffc038, rbp = 0x53c240 ---
Uptime: 36d18h48m54s
Physical memory: 4088 MB
Dumping 587 MB: 572 556 540 524 508 492 476 460 444 428 412 396 380 364 348 332 316 300 284 268 252 236 220 204 188 172 156 140 124 108 92 76 60 44 28 12

#0  doadump () at pcpu.h:172
172             __asm __volatile("movq %%gs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:172
#1  0xffffffff802857f0 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xffffffff80285cdb in panic (fmt=0xffffffff80410cac "%s") at /usr/src/sys/kern/kern_shutdown.c:565
#3  0xffffffff803b2c56 in trap_fatal (frame=0xc, eva=18446742979115617248) at /usr/src/sys/amd64/amd64/trap.c:668
#4  0xffffffff803b2fe3 in trap_pfault (frame=0xffffffffb5ebf990, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:580
#5  0xffffffff803b3298 in trap (frame=
       {tf_rdi = -140737488355328, tf_rsi = -140462618836904, tf_rdx = 0, tf_rcx = 140733193433088, tf_r8 = 34358689803, tf_r9 = 3, tf_rax = 0, tf_rbx = -2098796528, tf_rbp = -1242826096, tf_r10 = -1096448638976, tf_r11 = 1180350, tf_r12 = -2098796528, tf_r13 = -1094700759104, tf_r14 = -140462610448384, tf_r15 = 140737488355328, tf_trapno = 12, tf_addr = -140462618836904, tf_flags = -2117134080, tf_err = 0, tf_rip = -2143634674, tf_cs = 8, tf_rflags = 66050, tf_rsp = -1242826160, tf_ss = 16}) at /usr/src/sys/amd64/amd64/trap.c:353
#6  0xffffffff8039abdb in calltrap () at /usr/src/sys/amd64/amd64/exception.S:168
#7  0xffffffff803abb0e in pmap_remove_pages (pmap=0xffffff011ec007c0, sva=0, eva=140737488355328) at /usr/src/sys/amd64/amd64/pmap.c:383
#8  0xffffffff803860ca in vmspace_exit (td=0xffffff01251e0be0) at vm_map.h:251
#9  0xffffffff8026c93c in exit1 (td=0xffffff01251e0be0, rv=65280) at /usr/src/sys/kern/kern_exit.c:295
#10 0xffffffff8026d35e in sys_exit (td=0xffff800000000000, uap=0xffff803fff800058) at /usr/src/sys/kern/kern_exit.c:99
#11 0xffffffff803b3937 in syscall (frame=
       {tf_rdi = 255, tf_rsi = 4373030, tf_rdx = 0, tf_rcx = 0, tf_r8 = 0, tf_r9 = 0, tf_rax = 1, tf_rbx = 255, tf_rbp = 5489216, tf_r10 = 0, tf_r11 = 0, tf_r12 = 16, tf_r13 = 5507248, tf_r14 = 20, tf_r15 = 5507296, tf_trapno = 12, tf_addr = 34384731144, tf_flags = 12, tf_err = 2, tf_rip = 34383464812, tf_cs = 43, tf_rflags = 514, tf_rsp = 140737488339000, tf_ss = 35})
     at /usr/src/sys/amd64/amd64/trap.c:803
#12 0xffffffff8039ad78 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:270
#13 0x00000008016a096c in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)

I do have the dump and debug kernel available.

Ideas?

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?20070727093524.K20208>