From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JPLMC-0006KM-Sr for mharc-grub-devel@gnu.org; Wed, 13 Feb 2008 12:25:16 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPLMA-0006Hc-L8 for grub-devel@gnu.org; Wed, 13 Feb 2008 12:25:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPLM8-0006HG-Bh for grub-devel@gnu.org; Wed, 13 Feb 2008 12:25:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPLM8-0006HD-3x for grub-devel@gnu.org; Wed, 13 Feb 2008 12:25:12 -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 1JPLM7-0001BF-TQ for grub-devel@gnu.org; Wed, 13 Feb 2008 12:25:12 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JPLM5-0000Pd-45 for grub-devel@gnu.org; Wed, 13 Feb 2008 17:25:09 +0000 Received: from adsl-69-234-191-77.dsl.irvnca.pacbell.net ([69.234.191.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Feb 2008 17:25:09 +0000 Received: from wa1ter by adsl-69-234-191-77.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Feb 2008 17:25:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: walt Date: Wed, 13 Feb 2008 09:25:53 -0800 Organization: none Message-ID: References: <1202766709.5108.7.camel@k9.localnet> <20080212111902.GC18073@thorin> <20080212193650.GA3319@thorin> 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-191-77.dsl.irvnca.pacbell.net User-Agent: Thunderbird 3.0a1pre (X11/2008021304) 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: Wed, 13 Feb 2008 17:25:14 -0000 Bean wrote: > Ok. I also fix the alloc magic broken problem, it's caused by > grub_elf_file, which will close the file when the elf magic is not > found. However, the upper level still use that file, that cause the > memory problem. > > The patch should be applied after the previous bsd.diff... I'm very confused by the results :o/ I'm now running today's cvs plus bsd.diff plus bsd_2.diff. Some things work and some don't. I can boot openbsd perfectly -- but only if I load the 'bsd' kernel from a different filesystem e.g. FAT32. I can't read any files from the FFS/UFS on my openbsd partition -- I get 'outside of partition'. I can multiboot netbsd perfectly -- but not from the netbsd partition. If I 'multiboot /netbsd' from the netbsd partition I get 'broken magic'. However, I can 'netbsd /netbsd' perfectly from the netbsd partition. (See why I'm confused?) When I 'freebsd /boot/loader' or 'freebsd /boot/kernel/kernel' from the FreeBSD partition I get 'broken magic'. If I 'freebsd /kernel' from a FAT32 partition the kernel seems to load okay but then when I 'boot' nothing prints to the console and the OS never starts. If I 'freebsd /loader' from a FAT fs then the loader runs correctly but of course I need to set 'currdev' by hand. I'm wondering if you have commited all of your UFS/FFS patches to cvs. Seems like I'm seeing some old UFS problems that you fixed once already(?).