From owner-freebsd-hackers Thu Jul 1 10:59:40 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id D2FBC14EF0 for ; Thu, 1 Jul 1999 10:59:34 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.1/8.9.1) with ESMTP id NAA25913 for ; Thu, 1 Jul 1999 13:59:32 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.3/8.9.1) id NAA60430; Thu, 1 Jul 1999 13:59:32 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 1 Jul 1999 13:59:32 -0400 (EDT) To: hackers@freebsd.org Subject: npx0 to set maxmem broken in -current? X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14203.43667.496647.806250@grasshopper.cs.duke.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a user with a need to run a machine in varying memory configurations. The machine has 512MB & she needs to artificially constrain memory to multiples of 32MB from 32MB to 512MB. (32MB, 64MB, 96MB, 128MB ...) I was planning on having her edit /kernel.config & change the value of iosize npx0 and have the bootloader do a load -t userconfig_script /kernel.config at boottime. However, this feature appears to be broken in current. The resource_int_value() call which grabs msize is returning ENOENT & we're seeing the full 512MB of ram. Is there any way around this, short of building her 16 different kernels? Thanks, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message