From nobody@FreeBSD.org  Tue Mar 28 03:27:42 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 09D2816A401
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Mar 2006 03:27:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C8F0B43D49
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Mar 2006 03:27:41 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2S3ReAN059759
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Mar 2006 03:27:40 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k2S3ReT3059758;
	Tue, 28 Mar 2006 03:27:40 GMT
	(envelope-from nobody)
Message-Id: <200603280327.k2S3ReT3059758@www.freebsd.org>
Date: Tue, 28 Mar 2006 03:27:40 GMT
From: Balgansuren <balgaa@mongol.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: PAE enabled kernel boot panic
X-Send-Pr-Version: www-2.3

>Number:         95021
>Category:       i386
>Synopsis:       PAE enabled kernel boot panic
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 28 03:30:19 GMT 2006
>Closed-Date:    Sat Feb 24 10:32:45 GMT 2007
>Last-Modified:  Sat Feb 24 10:32:45 GMT 2007
>Originator:     Balgansuren
>Release:        FreeBSD-6.1-PRERELEASE
>Organization:
ICTA
>Environment:
FreeBSD base.icta.gov.mn 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed Mar 22 16:01:51 ULAT 2006     tegshee@base.icta.gov.mn:/usr/obj/usr/src/sys/HUGE  i386

>Description:
I installed FreeBSD-6.0-RELEASE i386 on Dell PowerEdge 6800 with 32GB RAM
without any problem. The server is working without any problem if we compile
without PAE option.

If we enable PAE option on kernel config file, then can't boot kernel.

As I know on PAE kernel config file disabled USB devices, but PowerEdge
6800 has only USB keyboard/mouse.

I compiled kernel with debugging information and got following error message:
 
KDB: debugger backends: ddb
KDB: Current backend :ddb
Too many segments in the physical address map, giving up
 

Fatal trap 12: page fault while in kernel mode 
cpuid=0; apic id = 00
fault virtual address = 0xb5
fault code  = supervisor read, page not present
instruction pointer = 0x20:ox8053f9dc
stack pointer  = 0x28:0x808f6d8c
frame pointer  = 0x28:0x808f6d8c
code segment  = base 0x0, limit 0xfffff, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process  = 0 ()
[thread pid 0 tid 0]
Stopped at _vm_map_lock_read+0xc: cmpb $0,0xb5(%eax)
db> 
db> traceTracing pid 0 tid 0 td 0x8065d860
_vm_map_lock_read(0,805c946,bb5,16d5a00,c) at _vm_map_lock_read+0xc
vm_map_lookup(808f6c44,80a3a000,1,808f6c48,808f6c38) at vm_map_lookup+0x28
vm_fault(0,80a3a000,1,0,8065d860) at vm_fault+0x66
trap_pfault(808f6d0c,0,80a3afe8) at trap_pfault+0x12f
trap(808f0008,803c0028,805b0028,0,80a33000) at trap+0x325
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0x803fca96, esp = 0x808f6d4c, ebp = 0x808f6d54 ---
msgbuf_reinit(80a3afe4,80a33000,7fe4) at msdfug_reinti+0xe
msgbufinit(80a33000,8000,8f0020,8f0000,8fe000) at msgbufinit+0x1d
init386(8fe000) at init386+0x5b7
begin() at begin+0x24
db> 
db> backtrace
No such command
db> where
_vm_map_lock_read(0,805c946,bb5,16d5a00,c) at _vm_map_lock_read+0xc
vm_map_lookup(808f6c44,80a3a000,1,808f6c48,808f6c38) at vm_map_lookup+0x28
vm_fault(0,80a3a000,1,0,8065d860) at vm_fault+0x66
trap_pfault(808f6d0c,0,80a3afe8) at trap_pfault+0x12f
trap(808f0008,803c0028,805b0028,0,80a33000) at trap+0x325
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0x803fca96, esp = 0x808f6d4c, ebp = 0x808f6d54 ---
msgbuf_reinit(80a3afe4,80a33000,7fe4) at msdfug_reinti+0xe
msgbufinit(80a33000,8000,8f0020,8f0000,8fe000) at msgbufinit+0x1d
init386(8fe000) at init386+0x5b7
begin() at begin+0x24
db> step
 

Fatal trap 12: page fault while in kernel mode 
cpuid=0; apic id = 00
fault virtual address = 0xb5
fault code  = supervisor read, page not present
instruction pointer = 0x20:ox8053f9dc
stack pointer  = 0x28:0x808f6d8c
frame pointer  = 0x28:0x808f6d8c
code segment  = base 0x0, limit 0xfffff, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process  = 0 ()
[thread pid 0 tid 0]
Stopped at _vm_map_lock_read+0xc: cmpb $0,0xb5(%eax)
db> 
>How-To-Repeat:
Just boot PAE enabled kernel.
>Fix:

>Release-Note:
>Audit-Trail:

From: John Baldwin <john@baldwin.cx>
To: bug-followup@freebsd.org, balgaa@mongol.net
Cc:  
Subject: Re: i386/95021: PAE enabled kernel boot panic
Date: Mon, 16 Oct 2006 15:52:34 -0400

 Can you try a recent 6.2 snap?  I MFC'd some changes that might fix this.
 
 -- 
 John Baldwin
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Sat Feb 24 10:32:42 UTC 2007 
State-Changed-Why:  
feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95021 
>Unformatted:
