From owner-freebsd-current Fri Oct 18 13:40:12 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 43B5037B401 for ; Fri, 18 Oct 2002 13:40:10 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1B3143E9C for ; Fri, 18 Oct 2002 13:40:09 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021018204009.FLRZ18217.rwcrmhc51.attbi.com@InterJet.elischer.org>; Fri, 18 Oct 2002 20:40:09 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA08636; Fri, 18 Oct 2002 13:35:46 -0700 (PDT) Date: Fri, 18 Oct 2002 13:35:45 -0700 (PDT) From: Julian Elischer To: Glenn Gombert Cc: current@freebsd.org Subject: Re: Remote GDB Trap 12 Fatal On Target In-Reply-To: <20021018005423.9C1D22FD34@server3.fastmail.fm> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Fri, 18 Oct 2002, Glenn Gombert wrote: > > > I am trying to get a remote gdb kernel debugging session and on the > Target macine I get the following error: > > "Fatal trap 12: page fault while in kernel mode" .. > fault vurtual address = 0x26 > fault code = supervisor read, page not present" > > is anyone else getting this as well ?? > I get lots of these on the console (which is a different port from the gdb (may be important.... so thety don't colide) but eventually it works.. > There is a thread in -Current last June sometime, with the "fix" being > to add the following line > to the config file: > > ............ > Turns out the workaround is to use DISABLE_PG_G. > > Two things made me try this. One: In his commit of pmap.c > and locore.s on 7/12 7:56 Peter had this to say: > > +-- > |- Try and fix some very bogus PG_G and PG_PS interactions that were bad > | enough to cause vm86 bios calls to break. vm86 depended on our > existing > ... > |New option: DISABLE_PG_G - In case I missed something. > > ---------------------\ > > This did not fix the problem thought, any other ideas appreaciated!! > > > Thanks: > > -- > Glenn Gombert > freebsd@fastmail.fm > > "Never trust any operating system you don't have the source code for" > > -- > http://fastmail.fm - The holy hand grenade of email services > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message