From owner-freebsd-current Mon Jan 27 1:22:46 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 4B53937B401 for ; Mon, 27 Jan 2003 01:22:45 -0800 (PST) Received: from oahu.WURLDLINK.NET (oahu.WURLDLINK.NET [216.235.52.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99FBD43EB2 for ; Mon, 27 Jan 2003 01:22:44 -0800 (PST) (envelope-from vince@oahu.WURLDLINK.NET) Received: from localhost (vince@localhost) by oahu.WURLDLINK.NET (8.11.3/8.11.3) with ESMTP id h0R9Lk843586; Sun, 26 Jan 2003 23:21:46 -1000 (HST) (envelope-from vince@oahu.WURLDLINK.NET) Date: Sun, 26 Jan 2003 23:21:45 -1000 (HST) From: Vincent Poy To: Dan Nelson Cc: current@FreeBSD.ORG Subject: Re: Options MAXMEM added to GENERIC kernel config causes kernel panic in -current In-Reply-To: <20030124041330.GB7945@dan.emsphone.com> Message-ID: <20030126232016.Q3206-100000@oahu.WURLDLINK.NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Thu, 23 Jan 2003, Dan Nelson wrote: > 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. Actually, it depends on which system you're referring to. This one actually has 576Megs of ram but the IBM ThinkPad BIOS will only show 512Megs. The system sees all memory without the MAXMEM option, I just remember it was needed in older FreeBSD versions from atleast 6 years ago since I remember without the option, it will only see 64megs or something. Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message