From owner-freebsd-questions Wed Jan 1 7:21:22 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F5E237B401 for ; Wed, 1 Jan 2003 07:21:21 -0800 (PST) Received: from tomts25-srv.bellnexxia.net (tomts25.bellnexxia.net [209.226.175.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94C0743E4A for ; Wed, 1 Jan 2003 07:21:20 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.176.107]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030101152119.OJUM23740.tomts25-srv.bellnexxia.net@xena.gsicomp.on.ca>; Wed, 1 Jan 2003 10:21:19 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id h01FJnp80278; Wed, 1 Jan 2003 10:19:50 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <008a01c2b1a9$7a0b3760$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "DoubleF" , References: <20030101105702.27039.qmail@mail.tele-kom.ru> Subject: Re: Limiting kernel core usage Date: Wed, 1 Jan 2003 10:21:36 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hello, > > How do I stop my kernel from using a piece of core? I mean, > if I have 32MB of memory, how do i make it to use only the > low 16,for instance (not removing the chips themselves,though)? I think setting MAXMEM in your kernel config file as follows will do what you want. options MAXMEM="(16*1024)" From the LINT kernel: # MAXMEM specifies the amount of RAM on the machine; if this is not # specified, FreeBSD will first read the amount of memory from the CMOS # RAM, so the amount of memory will initially be limited to 64MB or 16MB # depending on the BIOS. If the BIOS reports 64MB, a memory probe will # then attempt to detect the installed amount of RAM. If this probe # fails to detect >64MB RAM you will have to use the MAXMEM option. # The amount is in kilobytes, so for a machine with 128MB of RAM, it would # be 131072 (128 * 1024). -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message