Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 22:13:30 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Vincent Poy <vince@oahu.WURLDLINK.NET>
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>
In-Reply-To: <20030123173821.F3206-100000@oahu.WURLDLINK.NET>
References:  <20030123173821.F3206-100000@oahu.WURLDLINK.NET>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030124041330.GB7945>