Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JJTd9-0000cN-14 for mharc-grub-devel@gnu.org; Mon, 28 Jan 2008 08:02:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJTd7-0000cI-RW for grub-devel@gnu.org; Mon, 28 Jan 2008 08:02:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJTd6-0000c6-CZ for grub-devel@gnu.org; Mon, 28 Jan 2008 08:02:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJTd6-0000c3-6r for grub-devel@gnu.org; Mon, 28 Jan 2008 08:02:28 -0500 Received: from hs-out-0708.google.com ([64.233.178.244] helo=hs-out-2122.google.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJTd6-0000po-0g for grub-devel@gnu.org; Mon, 28 Jan 2008 08:02:28 -0500 Received: by hs-out-2122.google.com with SMTP id 55so1659614hsc.10 for ; Mon, 28 Jan 2008 05:02:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=9n67UbECKu4QV6zSmNmLawFNPHBqBsGVQcwQ9J4opRA=; b=pxHduiW++BKVDQcNGm+aUb1GWF7mBESRd1J1hfG5QJoC41vqdAx2/PLU5PfjBgQp6jLXmudP9MFkKE/jKpRxKgCmHu3UJ3YdZ4CuTxfUlqRHlLEl0HakXuG/EEAI0OL94kHJvoJBAcBrWBGzO/25v6kfq7h+3MPFiJXoPMTDl6E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cs8Y3NnrqQx08KDK0n4R44sQX35zEOeOmk5dn3njlYTkSWaIgbB1REB7hTuNAeqLqKkOMj2TSVQ0vIUDXyXH16hwL33haayoRWDpM59HSPk0V608KBgYFskDVfLF9kcN4ah59x8mIG/pOxnH/zMFKpppYUM8llO+zNlxR7Lg+ng= Received: by 10.110.11.10 with SMTP id 10mr1853548tik.43.1201525345044; Mon, 28 Jan 2008 05:02:25 -0800 (PST) Received: by 10.110.31.8 with HTTP; Mon, 28 Jan 2008 05:02:24 -0800 (PST) Message-ID: Date: Mon, 28 Jan 2008 21:02:24 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <87tzkym7f8.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080124171206.GA1515@thorin> <1201382697.541.11.camel@k9.localnet> <1201464791.964.23.camel@k9> <1201485266.11624.12.camel@k9.localnet> <87tzkym7f8.fsf@xs4all.nl> X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 (Google crawlbot) 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 13:02:30 -0000 On Jan 28, 2008 9:00 PM, Marco Gerards wrote: > 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? yes, it works for me. -- Bean