Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 00:54:23 UT
From:      "Glenn Gombert" <freebsd@fastmail.fm>
To:        current@freebsd.org
Subject:   Remote GDB Trap 12 Fatal On Target
Message-ID:  <20021018005423.9C1D22FD34@server3.fastmail.fm>

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


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 ??

  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021018005423.9C1D22FD34>