From nobody@FreeBSD.org  Thu Apr 16 06:14:36 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 96E2D106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 16 Apr 2009 06:14:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 648948FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 16 Apr 2009 06:14:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n3G6EZHd002439
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 16 Apr 2009 06:14:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n3G6EZUC002438;
	Thu, 16 Apr 2009 06:14:35 GMT
	(envelope-from nobody)
Message-Id: <200904160614.n3G6EZUC002438@www.freebsd.org>
Date: Thu, 16 Apr 2009 06:14:35 GMT
From: Vishwas Karmalekar <vishwas.karmalekar@patni.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: MONITOR PANIC: vcpu-0:VMM64 DoubleFault src=MONITOR @ rip=0xfffffffffc24e530 rsp=0xfffffffffc001000 regs=0xfffffffffc048f40 (0xfffffffffc24e9f1,0xfffffffffc24e530)While Powering ON FreeBSD 7.1 -64bit guest with 64GB RAM
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         133768
>Category:       kern
>Synopsis:       [panic] MONITOR PANIC: vcpu-0:VMM64 DoubleFault src=MONITOR @ rip=0xfffffffffc24e530 rsp=0xfffffffffc001000 regs=0xfffffffffc048f40 (0xfffffffffc24e9f1,0xfffffffffc24e530)While Powering ON FreeBSD 7.1 -64bit guest with 64GB RAM
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gavin
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 16 06:20:01 UTC 2009
>Closed-Date:    
>Last-Modified:  Fri Apr 17 16:09:21 UTC 2009
>Originator:     Vishwas Karmalekar
>Release:        FreeBSD 7.1 - 32bit & 64bit
>Organization:
Patni Computer Systems Limited.
>Environment:
FreeBSD 7.1 -32bit

FreeBSD .vishwas.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Apr 16 01:18:34 IST 2009     root@.vishwas.com:/usr/src/sys/i386/compile/PAE  i386

>Description:
FreeBSD 7.1 - 32bit-

Configuring PAE in FreeBSD 6.3 & 7.1 systems follow different steps. 
In FreeBSD 7.1 -32bit, the PAE kernel configuration file is included with the distribution, one doesn't need to create it.
Steps that I followed-
cd /usr/src/sys/i386/conf 
config PAE 
cd ../compile/PAE 
make cleandepend && make depend 
make  
make install 
reboot
Systems works perfectly with 16GB RAM(This means PAE is working in the guest.)

* With 24GB & 32GB memory, system hangs & gives error-
  Panic : Page fault error.

* With 64GB of RAM, the system hangs & gives error-

MONITOR PANIC: vcpu-0:DoubleFault @ 0x4020:0xb91d8 (0xff0,0x1064) (0xb6cb8, 0xb9130)

FreeBSD 7.1 - 64bit
There are no issues uptil 24GB RAM.

* With 32GB RAM,  system hangs & gives error-
  Panic : Page fault error.

* With 64GB of RAM, the system hangs & gives error-

MONITOR PANIC: vcpu-0:VMM64 DoubleFault src=MONITOR @ rip=0xfffffffffc24e530 rsp=0xfffffffffc001000 regs=0xfffffffffc048f40 (0xfffffffffc24e9f1,0xfffffffffc24e530


My query is-
(1) 64GB works fine if PAE is enabled in 32bit FBSD 7.1 32bit?
(2) Am I making any mistake in executing steps.
(3) The reason behind Panic: Page fault
(4) The reason behinf Memory Panic
(5) Is this a OS related issue.


Please let me know the solution for the above issue.

Thanks in advance.

Vishwas

>How-To-Repeat:
If I change the RAM size to 16GB, both of the dead systems are UP & work very well. Ofcourse, it takes a large "UP time". (may be 10-15 mins)

If one changes the system ram to 64GB, the issue can be reproduced.
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Fri Apr 17 15:57:59 UTC 2009 
State-Changed-Why:  
To submitter: it looks like you are attempting this inside a virtual 
machine, is that correct?  If so, what software are you using? 
Secondly, when you have 32GB or 64GB of memory configured, when does 
the panic happen?  Is it during boot, or at some point after boot? 

Coupld you also please provide output from the following commands? (if 
possible, while the machine is configured for 32 or 64GB of RAM) 

"pciconf -lv" 
"dmesg" 
"memcontrol list" 

Thanks! 


Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Fri Apr 17 15:57:59 UTC 2009 
Responsible-Changed-Why:  
Track 

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