From owner-freebsd-current Thu Jan 23 20:13:39 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4709337B401 for ; Thu, 23 Jan 2003 20:13:38 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D21443EB2 for ; Thu, 23 Jan 2003 20:13:37 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id h0O4DUxE002227; Thu, 23 Jan 2003 22:13:30 -0600 (CST) (envelope-from dan) Date: Thu, 23 Jan 2003 22:13:30 -0600 From: Dan Nelson To: Vincent Poy Cc: current@FreeBSD.ORG Subject: Re: Options MAXMEM added to GENERIC kernel config causes kernel panic in -current Message-ID: <20030124041330.GB7945@dan.emsphone.com> References: <20030123173821.F3206-100000@oahu.WURLDLINK.NET> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030123173821.F3206-100000@oahu.WURLDLINK.NET> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jan 23), Vincent Poy said: > Greetings everyone, > > With the latest -CURRENTs ever since atleast September 12, 2002 > that I have tested on several different machines ranging from > PII/PIII/PIV Desktop and Notebooks, whenever the following option is > added to the GENERIC kernel config, the kernel will panic on booting > up. I used this option in the January 2002 -currents without > problems. The tested systems range in memory from 128MB to 1GIG. > > options MAXMEM=786432 I have used the equivalent loader variable hw.physmem to limit memory usage for quite a while with no panics. Try putting hw.physmem="768M" in /boot/loader.conf and see if it does what you want. > Physical memory use set to 786432K [...] > real memory = 536870912 (524288K bytes) > Physical memory chunk(s): > 0x00001000 - 0x0009efff, 647168 bytes (158 pages) > 0x00651000 - 0x1fff7fff, 530214912 bytes (129447 pages) > avail memory = 513802240 (501760K bytes) It looks like there is just 512M of available memory in the system anyhow. Setting MAXMEM to 768M isn't going to do you any good. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message