From frodef@dslab7.cs.uit.no  Tue Jan 26 13:34:30 1999
Received: from dslab7.cs.uit.no (dslab7.cs.UiT.No [129.242.16.27])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03484
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 26 Jan 1999 13:34:27 -0800 (PST)
          (envelope-from frodef@dslab7.cs.uit.no)
Received: (from frodef@localhost)
	by dslab7.cs.uit.no (8.9.1/8.9.1) id WAA22855;
	Tue, 26 Jan 1999 22:28:48 +0100 (CET)
	(envelope-from frodef)
Message-Id: <199901262128.WAA22855@dslab7.cs.uit.no>
Date: Tue, 26 Jan 1999 22:28:48 +0100 (CET)
From: Frode Vatvedt Fjeld <frodef@dslab7.cs.uit.no>
Reply-To: frodef@dslab7.cs.uit.no
To: FreeBSD-gnats-submit@freebsd.org
Subject: Kernel page faults during boot with 2GB RAM
X-Send-Pr-Version: 3.2

>Number:         9709
>Category:       i386
>Synopsis:       Kernel page faults during boot with 2GB RAM
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    n_hibma
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 26 13:40:01 PST 1999
>Closed-Date:    Sun Nov 21 09:38:12 PST 1999
>Last-Modified:  Sun Nov 21 09:39:09 PST 1999
>Originator:     Frode Vatvedt Fjeld
>Release:        FreeBSD 3.0-RELEASE i386
>Organization:
University of Tromso
>Environment:

A
	The 3.0-RELEASE installation floppy, an i386 box with 2GB memory.

>Description:

	The kernel page faults and dies early in the boot process.
	The console output looks something like this:

...
The regents of the University of California. All right reserved.

Fatal trap 12: Page fault while in kernel mode
Fault virtual address    = 0x68
Fault code		 = supervisor read, page not present
instruction pointer      = 0x8:0xf01ec5c0
stack pointer            = 0x10:0xf03f2e8c
frame pointer            = 0x10:0xf03f2eac
code segment		 = base 0x0, limit 0xfffff, type 0x1b
			 = DPL 0, pres 1, def32 1, gran 1
processor eflags	 = resume, IOPL = 0
current process		 = 0 ()
interrupt mask		 = net tty bio cam
trap number		 = 12
panic: page fault
Automatic reboot etc...



>How-To-Repeat:

	Insert installation floppy, boot.

>Fix:
	
	

>Release-Note:
>Audit-Trail:

From: "Kenneth D. Merry" <ken@plutotech.com>
To: frodef@dslab7.cs.uit.no
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: i386/9709: Kernel page faults during boot with 2GB RAM
Date: Thu, 28 Jan 1999 10:26:25 -0700 (MST)

 Frode Vatvedt Fjeld wrote...
 > 	The 3.0-RELEASE installation floppy, an i386 box with 2GB memory.
 > 
 > >Description:
 > 
 > 	The kernel page faults and dies early in the boot process.
 > 	The console output looks something like this:
 > 
 > ...
 > The regents of the University of California. All right reserved.
 > 
 > Fatal trap 12: Page fault while in kernel mode
 > Fault virtual address    = 0x68
 > Fault code		 = supervisor read, page not present
 > instruction pointer      = 0x8:0xf01ec5c0
 > stack pointer            = 0x10:0xf03f2e8c
 > frame pointer            = 0x10:0xf03f2eac
 > code segment		 = base 0x0, limit 0xfffff, type 0x1b
 > 			 = DPL 0, pres 1, def32 1, gran 1
 > processor eflags	 = resume, IOPL = 0
 > current process		 = 0 ()
 > interrupt mask		 = net tty bio cam
 > trap number		 = 12
 > panic: page fault
 > Automatic reboot etc...
 
 I think this has been fixed since 3.0-RELEASE.
 
 I would suggest that you try a recent snapshot, but it looks like the
 snapshot building machine (current.freebsd.org) isn't up and running.
 
 My guess is that the snapshot building stuff hasn't caught up with the
 3.0/4.0 branch split.
 
 If you can remove some memory from the machine, you may be able to install
 FreeBSD at least.  Then, you can compile your kernel with the following
 fix from Luoqi Chen <luoqi@watermarkgroup.com>
 
 =============
 In i386/i386/pmap.c function pmap_init(), try to move the allocation of
 kptobj to the beginning of the function (before the kmem_alloc call).
 
 -lq
 =============
 
 That may get you up and running with 3.0R.
 
 If the -stable or -current snapshot servers get up and running again, you
 can try installing one of those, which should work out of the box.
 
 Ken
 -- 
 Kenneth Merry
 ken@plutotech.com
State-Changed-From-To: open->analyzed 
State-Changed-By: n_hibma 
State-Changed-When: Fri Jul 23 06:58:18 PDT 1999 
State-Changed-Why:  
Kenneth Merry has sent a possible solution to the problem off to the originator. 


Responsible-Changed-From-To: freebsd-bugs->n_hibma 
Responsible-Changed-By: n_hibma 
Responsible-Changed-When: Fri Jul 23 06:58:18 PDT 1999 
Responsible-Changed-Why:  
Remind me to close the PR after feedback from originator 

From: Nick Hibma <nick.hibma@jrc.it>
To: freebsd-gnats-submit@freebsd.org, frodef@dslab7.cs.uit.no
Cc:  
Subject: Re: i386/9709: Kernel page faults during boot with 2GB RAM
Date: Fri, 23 Jul 1999 15:59:41 +0200

 Does the problem still persist? Did you try the patch supplied in
 http://www.freebsd.org/cgi/query-pr.cgi?pr=9709
 
 Nick
 -- 
 ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy
 

From: Nick Hibma <nick.hibma@jrc.it>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: i386/9709: Kernel page faults during boot with 2GB RAM
Date: Mon, 26 Jul 1999 16:09:12 +0200

 Mail to originator bounces. Again too slow :-(
 
State-Changed-From-To: analyzed->closed 
State-Changed-By: n_hibma 
State-Changed-When: Sun Nov 21 09:38:12 PST 1999 
State-Changed-Why:  
Mail bounces, and the problems with large memory configurations 
have been solved, me thinks. 
>Unformatted:
