From owner-freebsd-current@FreeBSD.ORG Fri Apr 25 09:48:17 2003 Return-Path: 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 14D1A37B401 for ; Fri, 25 Apr 2003 09:48:17 -0700 (PDT) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C1DF43FCB for ; Fri, 25 Apr 2003 09:48:16 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 25541 invoked from network); 25 Apr 2003 16:48:19 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 25 Apr 2003 16:48:19 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h3PGm1Ov003832; Fri, 25 Apr 2003 12:48:03 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030425164323.GA66424@vega.vega.com> Date: Fri, 25 Apr 2003 12:48:04 -0400 (EDT) From: John Baldwin To: Maxim Sobolev cc: Ruslan Ermilov cc: current@FreeBSD.ORG Subject: Re: i386/loader compiled with NOFORTH X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 16:48:17 -0000 On 25-Apr-2003 Maxim Sobolev wrote: > On Fri, Apr 25, 2003 at 12:07:35PM -0400, John Baldwin wrote: >> >> On 25-Apr-2003 Ruslan Ermilov wrote: >> > On Thu, Apr 24, 2003 at 05:45:15PM -0400, John Baldwin wrote: >> >> >> >> On 24-Apr-2003 Ruslan Ermilov wrote: >> >> > On Thu, Apr 24, 2003 at 02:21:17PM -0400, John Baldwin wrote: >> >> >> >> >> >> On 24-Apr-2003 Ruslan Ermilov wrote: >> >> >> > On 5.x, loader(8) compiled with -DNOFORTH, results in >> >> >> > a system without a console. This does not affect the >> >> >> > RELENG_4. >> >> >> > >> >> >> > Can someone who knows this code please look into it? >> >> >> >> >> >> No kernel console or no loader console? The usual problem with >> >> >> no kernel console on 5.x is lack of device.hints. >> >> >> >> >> > No kernel console. The device.hints, it's there under /boot; >> >> > I only reinstalled loader(8) with -DNOFORTH, and this gave me >> >> > "no console" behavior. Can you try it locally? >> >> >> >> Since device.hints is read in by Forth code, I wouldn't be >> >> surprised if it didn't work. When you break into the 10 >> >> second countdown, do you have any hints set in the loader >> >> environment? >> >> >> > Yes, figured this out by myself already. I've ended up >> > uncommenting the "hints" line in GENERIC config, everything >> > is OK now, and bzip2(1) also works, modulo the memory >> > restrictions -- only level 1 bzipping works that requires >> > ~250K of memory. >> > >> > John, is there a way to fix btx/loader/whatever so that >> > heap memory is not limited to 640K? >> >> Not really. At least, not easily. We load the kernel up above 1mb, >> but we don't know how much memory lives up above 1mb and we assume >> that there is enough for the kernel and that's it. > > Why we can't just test it - i.e. write some value into each page and > try to read it back? This will give at least rough estimate. Some of these pages may be memmory mapped I/O. Really, it is safer to not get too fancy with the loader if we can help it. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/