From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JOGtO-00041S-CH for mharc-grub-devel@gnu.org; Sun, 10 Feb 2008 13:27:06 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOGtM-00041N-CT for grub-devel@gnu.org; Sun, 10 Feb 2008 13:27:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOGtK-00041B-R6 for grub-devel@gnu.org; Sun, 10 Feb 2008 13:27:03 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOGtK-000418-M6 for grub-devel@gnu.org; Sun, 10 Feb 2008 13:27:02 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JOGtK-0001QB-9Q for grub-devel@gnu.org; Sun, 10 Feb 2008 13:27:02 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JOGtD-00009u-V8 for grub-devel@gnu.org; Sun, 10 Feb 2008 18:26:55 +0000 Received: from adsl-69-234-204-125.dsl.irvnca.pacbell.net ([69.234.204.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Feb 2008 18:26:55 +0000 Received: from wa1ter by adsl-69-234-204-125.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Feb 2008 18:26:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: walt Date: Sun, 10 Feb 2008 10:27:35 -0800 Organization: none Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-204-125.dsl.irvnca.pacbell.net User-Agent: Thunderbird 3.0a1pre (X11/2008021007) In-Reply-To: Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [PATCH] a.out support for multiboot and freebsd X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 18:27:04 -0000 Bean wrote: > On Feb 10, 2008 5:57 AM, walt wrote: >> Bean wrote: >>> Hi, >>> >>> This patch add a.out support for multiboot. It also support the boot2 >>> loader (a.out format) of freebsd: >>> >>> set root=(hd0,0,a) >>> aout_freebsd /boot/loader >>> boot >>> > ... > i'm using the web interface to send patch, maybe it cause some > problem. here is the raw diff file, it should be fine. Yes, the patch is perfect this time, thanks. I'm still seeing two (small?) problems with aout /boot/loader. The FreeBSD loader has a variable 'currdev' that is not being set correctly. 'currdev' must point to the partition containing /boot/kernel, otherwise loader will say "can't load 'kernel'". If I use the loader interactive shell to set currdev to the correct partition then it will boot the kernel correctly. Well, almost correctly :o) The second problem is that once the kernel starts running, the console never shows the normal dmesg messages. I thought the kernel had died or rebooted until I saw the normal login prompt finally appear. Is this maybe some setting for the console that I can change in grub2 before starting loader? Thanks for all your time and help with this!