From owner-freebsd-questions  Tue Sep  3  2:42:52 2002
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9A95337B400
	for <freebsd-questions@FreeBSD.ORG>; Tue,  3 Sep 2002 02:42:49 -0700 (PDT)
Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 674E343E6E
	for <freebsd-questions@FreeBSD.ORG>; Tue,  3 Sep 2002 02:42:48 -0700 (PDT)
	(envelope-from m.seaman@infracaninophile.co.uk)
Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1])
	by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g839gkGk020833;
	Tue, 3 Sep 2002 10:42:46 +0100 (BST)
	(envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk)
Received: (from matthew@localhost)
	by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g839geeK020832;
	Tue, 3 Sep 2002 10:42:40 +0100 (BST)
Date: Tue, 3 Sep 2002 10:42:40 +0100
From: Matthew Seaman <m.seaman@infracaninophile.co.uk>
To: "F A.S" <fowas@hotmail.com>
Cc: freebsd-questions@FreeBSD.ORG
Subject: Re: Kernel Bug
Message-ID: <20020903094240.GC20142@happy-idiot-talk.infracaninophi>
References: <F48dnmKLjqOnX5fFvYO00023a36@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <F48dnmKLjqOnX5fFvYO00023a36@hotmail.com>
User-Agent: Mutt/1.5.1i
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-questions.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
X-Loop: FreeBSD.ORG

On Tue, Sep 03, 2002 at 10:49:46AM +0300, F A.S wrote:

> I sent this email already two days ago, but I got no response. I am really 
> in desperate need for help, since I have a deadline in 5 days.

Hmmm... fatal trap 12 often indicates hardware problems: overheating,
bad memory, bad CPU are all fairly common.  Try pulling out one SIMM
at a time and running for a while on reduced memory, or swap out with
known good memory.  Check fans are operational and that vents aren't
clogged with dust.
 
> I have a fresh FreeBSD installation on a PC with Squid running on top. But, 
> I've noticed that the system reboots on a fatal trap 12 every 3-4 hours. 
> Here are the details:
> 
> - FreeBSD 4.0-RELEASE #0
> - Default installation: /usr/src/sys/compile/GENERIC  i386
> - PC: Compaq EP Series P450/6.4 ARA

4.0-RELEASE is pretty old and had some nasty bugs.  First thing to do
is try upgrading to something more up to date, like 4.6.2-RELEASE

> The Trap:
> /kernel: Fatal trap 12: page fault while in kernel mode
> /kernel: fault virtual address	= 0x8
> /kernel: fault code		= supervisor read, page not present
> /kernel: instruction pointer	= 0x8:0xc01cf0c4
> /kernel: stack pointer	        = 0x10:0xc031ac64
> /kernel: frame pointer	        = 0x10:0xc031ac6c
> /kernel: code segment		= base 0x0, limit 0xfffff, type 0x1b
> /kernel: = DPL 0, pres 1, def32 1, gran 1
> /kernel: processor eflags	= interrupt enabled, resume, IOPL = 0
> /kernel: current process		= Idle
> /kernel: interrupt mask		=
> /kernel: trap number		= 12
> /kernel: panic: page fault
> /kernel:
> /kernel: syncing disks... 2
> --------------------------------
> Please, if anyone can help in any way, I'll really appreciate it.

This output, in and of itself, isn't actually very helpful.  Take a
look at:

    http://www.onlamp.com/pub/a/bsd/2002/03/21/Big_Scary_Daemons.html
    http://www.onlamp.com/pub/a/bsd/2002/04/04/Big_Scary_Daemons.html
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

which will show you how to get a lot more detailed information out of
your system and hopefully that should be enough to track down the
cause of the problem.

	Cheers,

	Matthew

--
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

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