From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JJTZl-0007hj-DJ for mharc-grub-devel@gnu.org; Mon, 28 Jan 2008 07:59:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJTZk-0007hY-7i for grub-devel@gnu.org; Mon, 28 Jan 2008 07:59:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJTZi-0007hG-MR for grub-devel@gnu.org; Mon, 28 Jan 2008 07:58:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJTZi-0007hD-Ie for grub-devel@gnu.org; Mon, 28 Jan 2008 07:58:58 -0500 Received: from smtp-vbr3.xs4all.nl ([194.109.24.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJTZi-00086t-9z for grub-devel@gnu.org; Mon, 28 Jan 2008 07:58:58 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0SCwu01067088 for ; Mon, 28 Jan 2008 13:58:57 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20080124145317.GA9385@thorin> <1201193272.334.2.camel@k9.localnet> <20080124171206.GA1515@thorin> <1201382697.541.11.camel@k9.localnet> <1201464791.964.23.camel@k9> <1201485266.11624.12.camel@k9.localnet> Mail-Copies-To: mgerards@xs4all.nl Date: Mon, 28 Jan 2008 14:00:27 +0100 In-Reply-To: (bean123ch@gmail.com's message of "Mon, 28 Jan 2008 18:02:37 +0800") Message-ID: <87tzkym7f8.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2) 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: Mon, 28 Jan 2008 12:59:00 -0000 Bean writes: > On Jan 28, 2008 9:54 AM, walt wrote: >> >> On Mon, 2008-01-28 at 04:25 +0800, Bean wrote: >> ... >> > > > please make a small ufs image containing the netbsd kernel, i don't a >> > > > a bsd system at hand >> >> http://leaf.dragonflybsd.org/~wa1ter/ufs.gz >> >> I included a small text file (motd) to demonstrate that you can cat it >> okay, but when you try 'multiboot /netbsd' you should get the same error >> I've been describing. >> >> >> > btw, if you have time, please try the a.out loader, it should be able >> > to boot /boot/loader of freebsd, i don't know if openbsd and netbsd >> > use the same booting method. >> >> diff --git a/conf/i386-pc.rmk b/conf/i386-pc.rmk >> >> Heh. I'm assuming an .rmk file involves ruby somehow? The bonehead >> build process that I'm using doesn't turn an .rmk into a .mk AFAICT, >> but I'd like to know how to do it. > > all you need to do is do install ruby. > > here is a patch for ufs, it fix the indirect block calculation problem. > > * fs/ufs.c (INODE_BLKSZ): Fix incorrect value. > (grub_ufs_get_file_block): Fix indirect block calculation problem. Fine for me, if you tested this. This patch fixes this specific problem regarding loading this multiboot kernel from UFS? -- Marco