Subject: Re: fatal page fault
To: Tom T. Thai <>
From: Jason Thorpe <>
List: current-users
Date: 11/25/1996 08:16:24
On Mon, 25 Nov 1996 02:31:00 -0600 (CST) 
 "Tom T. Thai" <> wrote:

 > fatal page fault in supervisor mode
 > trap type 6 code 2 eip f8118c97 cs 8 eflags 10086 cr2 18 cp1 c0000000

eip == the program counter.  You can use gdb or look at the symbol table
with nm to determine which routine the crash occurred in.  In fact, you
can get right down to the instruction that caused the fault, and examine
the source code along side the disassembler output to figure out
which line of C the fault occurs in.

This is probably a NULL pointer reference.

do "gdb /netbsd"
then "disas 0xf8118c97"

What does it tell you?

Jason R. Thorpe                             
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939