From owner-freebsd-current Fri Oct 18 14: 4: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECB7937B401 for ; Fri, 18 Oct 2002 14:04:04 -0700 (PDT) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86B6A43E3B for ; Fri, 18 Oct 2002 14:04:04 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0209.cvx21-bradley.dialup.earthlink.net ([209.179.192.209] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 182eHh-0007Ow-00; Fri, 18 Oct 2002 14:03:53 -0700 Message-ID: <3DB076F2.FB650CD7@mindspring.com> Date: Fri, 18 Oct 2002 14:02:42 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alexander Leidinger Cc: current@freebsd.org Subject: Re: page fault while in vm86 mode References: <20021018121229.1bff0d43.Alexander@Leidinger.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alexander Leidinger wrote: > Fatal trap 12: page fault while in vm86 mode ^ | a page fault > #4 0xc0265055 in trap_pfault (frame=0xc0545fa8, usermode=0, eva=803202) ^ ^ ^ | | | | | On a user address | In kernel mode A trap from kernel code > This doesn't look much to me. I'm used to see more frames here. What can I do > do debug this further? You can load up gdb, and decode all the variables in the trap_pfault() function, so that we can tell which code path resulted in the problem. Specifically, we need to know whether: o Which map vm->vm_map refers to? o Whether vm_fault failed? o The value of 'map' and the value of 'kmem_map' and 'kernel_map'? o The value of p->p_lock o The value of td->td_intr_nesting_level == 0 o If PCPU_GET(curpcb) is non-NULL o If so, if PCPU_GET(curpcb)->pcb_onfault is non-NULL Notice that this is the same problem that is currently being discussed in two other message threads, one on -current, and one on -hackers. Thanks, -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message