From owner-freebsd-current Sat Nov 9 13:43: 6 2002 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 ECEC837B401 for ; Sat, 9 Nov 2002 13:43:04 -0800 (PST) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41F8943E42 for ; Sat, 9 Nov 2002 13:43:04 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id gA9LfkjV008717; Sat, 9 Nov 2002 13:41:46 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id gA9LffDC008716; Sat, 9 Nov 2002 13:41:41 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Sat, 9 Nov 2002 13:41:41 -0800 From: David Schultz To: Mitsuru IWASAKI Cc: gallatin@cs.duke.edu, petry@NetMasters.Com, julian@elischer.org, sidcarter@symonds.net, current@FreeBSD.ORG Subject: Re: Kernel not booting....Immediate crash Message-ID: <20021109214141.GA8555@HAL9000.homeunix.com> Mail-Followup-To: Mitsuru IWASAKI , gallatin@cs.duke.edu, petry@NetMasters.Com, julian@elischer.org, sidcarter@symonds.net, current@FreeBSD.ORG References: <200211071859.gA7IxbEV075350@netwolf.NetMasters.Com> <15818.50698.91676.542116@grasshopper.cs.duke.edu> <20021108.135430.68032362.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021108.135430.68032362.iwasaki@jp.FreeBSD.org> 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 Thus spake Mitsuru IWASAKI : > Hmmm, I didn't notice that there is a BIOS which requires > memory area below 640K even when calling INT 15H/E820. > > We cannot trust that today's BOISes have INT 12H, so it's > difficult to determine base memory size w/o INT 15H/E820. You keep saying this, which really surprises me, because the int 12h interface has been standard for over two decades. I have not heard any great clammoring that DOS and NetBSD fail to boot on modern machines, and yet they both use int 12h. Are you *sure* int 12h is really broken, or do you think perhaps the breakage you're seeing is a side-effect of another bug? Does int 12h work in real mode? Exactly what hardware has this problem? Also, you mentioneded earlier that Linux doesn't use int 12h anymore. But notice that they call 15:E820 in real mode, rather than turning on virtual memory and then temporarily mapping an arbitrary chunk of the first 640K of RAM. Why don't you just put the memory size detection code in locore.s? I'd be happy to help out with this, although my time is constrained after Monday. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message