Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2002 10:10:40 -0400 (EDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        current@FreeBSD.org
Subject:   vm_map_lookup_entry: Fatal trap 12: page fault while in kernel mode
Message-ID:  <Pine.NEB.3.96L.1020428100827.55944D-100000@fledge.watson.org>

next in thread | raw e-mail | index | archive | help

It could be this was fixed by Alan's commit last night to fix locking in
VM.  In any case, here's the panic anyway.  This is from box2, again,
-current from last night, nfs root via pxeboot, GENERIC, spinning {boot,
buildkernel}.  I'll update the two boxes when I get back from the hospital
later today.


NFS ROOT: 192.168.50.1:/cboss/devel/nfsroot/crash2.cboss.tislabs.com


Fatal trap 12: page fault while in kernel mode
cpuid = 1; lapic.id = 01000000
fault virtual address   = 0x676f6c3b
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc033b34b
stack pointer           = 0x10:0xc93b6ba4
frame pointer           = 0x10:0xc93b6bc0
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         = 8 (init)
kernel: type 12 trap, code=0
Stopped at      vm_map_lookup_entry+0x57:       cmpl    %ebx,0xc(%eax)
db> trace
vm_map_lookup_entry(c93b1190,80d6000,c93b6bec) at vm_map_lookup_entry+0x57
vm_map_lookup(c93b6c70,80d6000,2,c93b6c74,c93b6c68) at vm_map_lookup+0x5d
vm_fault1(c93b1190,80d6000,2,8,c93ae1dc) at vm_fault1+0x7e
vm_fault(c93b1190,80d6000,2,8,c) at vm_fault+0x17
trap_pfault(c93b6d48,1,80d6538,8048fe0,0) at trap_pfault+0xdd
trap(2f,2f,2f,0,0) at trap+0x1d3
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0x8056e36, esp = 0xbfbffc8c, ebp = 0xbfbffc94 ---
db> 

(kgdb) l *vm_map_lookup_entry+0x57
0xc033b34b is in vm_map_lookup_entry (../../../vm/vm_map.c:646).
641
642             /*
643              * Search linearly
644              */
645             while (cur != last) {
646                     if (cur->end > address) {
647                             if (address >= cur->start) {
648                                     /*
649                                      * Save this lookup for future
hints, and
650                                      * return



Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
robert@fledge.watson.org      NAI Labs, Safeport Network Services


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020428100827.55944D-100000>