From nobody@FreeBSD.org  Sun Aug  7 21:45:02 2005
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 6644116A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  7 Aug 2005 21:45:02 +0000 (GMT)
	(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 3754F43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  7 Aug 2005 21:45:02 +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 j77Lj1RC056160
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 7 Aug 2005 21:45:01 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j77LOObN047409;
	Sun, 7 Aug 2005 21:24:24 GMT
	(envelope-from nobody)
Message-Id: <200508072124.j77LOObN047409@www.freebsd.org>
Date: Sun, 7 Aug 2005 21:24:24 GMT
From: Hans Meyer <asstech@matik.com.br>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kernel panic when kern.maxdsiz is => hw.physmem
X-Send-Pr-Version: www-2.3

>Number:         84656
>Category:       kern
>Synopsis:       [panic] when kern.maxdsiz is => hw.physmem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jhb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 07 21:50:09 GMT 2005
>Closed-Date:    Sun Mar 02 02:32:03 UTC 2008
>Last-Modified:  Sun Mar 02 02:32:03 UTC 2008
>Originator:     Hans Meyer
>Release:        5.4R - 5.3R 4.11R
>Organization:
Infomatik
>Environment:
FreeBSD gw.lucenet.com.br 5.4-RELEASE FreeBSD 5.4-RELEASE #5: Fri Aug  5 11:42:14 BRST 2005    hmm@gw.lucenet.com.br:/usr/src/sys/i386/compile/wipgw  i386
>Description:
I saw the other PRs

when setting kern.maxdsiz in /boot/loader.conf to a higher value than hw.physmem a kernel panic right after the kernel load when real memory and available memory should appear.

this appearently is hardware related because it happens on Sempron and other P4/Asus motherboards but not on AMD XP/Asus MBs. Memory amount does not matter, I get it on 1 to 4GB RAM. On AMD the higher value is accepted and the machine runs fine even when swapping after.

Compiling MAXDSIZ or setting in loader.conf makes no diference as well as acpi enable or not

The panic messages are cannot allocate virtual memory

there is no core 
>How-To-Repeat:
      
>Fix:
      

remove /boot/loder.conf
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: kmacy 
State-Changed-When: Fri Nov 16 09:08:26 UTC 2007 
State-Changed-Why:  

jhb - my knee jerk response is to just close this as it is a serious PEBKAC, close if you agree,  
toss it back if you disagree. 
Thanks. 


Responsible-Changed-From-To: freebsd-bugs->jhb 
Responsible-Changed-By: kmacy 
Responsible-Changed-When: Fri Nov 16 09:08:26 UTC 2007 
Responsible-Changed-Why:  

jhb - my knee jerk response is to just close this as it is a serious PEBKAC, close if you agree,   
toss it back if you disagree.  
Thanks.  


http://www.freebsd.org/cgi/query-pr.cgi?pr=84656 

From: John Baldwin <jhb@freebsd.org>
To: bug-followup@freebsd.org, asstech@matik.com.br
Cc: kmacy@freebsd.org
Subject: Re: kern/84656: [panic] when kern.maxdsiz is =&gt; hw.physmem
Date: Fri, 16 Nov 2007 17:55:27 -0500

 Does this still occur?  I think I actually recall there being an issue along 
 these lines that was fixed.
 
 FYI, this can be a possibly valid setting for kern.maxdsiz if you have, say, 
 256 MB of RAM in the box and set maxdsiz to 512 MB (which is the default on
 i386).  It shouldn't panic certainly.  More details would be helpful.
 
 -- 
 John Baldwin
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Mar 2 02:31:19 UTC 2008 
State-Changed-Why:  
Feedback timeout (> 2 months).  The problem is believed to be fixed. 

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