Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JIsWd-0001vS-RC for mharc-grub-devel@gnu.org; Sat, 26 Jan 2008 16:25:19 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIsWb-0001v0-NC for grub-devel@gnu.org; Sat, 26 Jan 2008 16:25:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIsWb-0001uo-5M for grub-devel@gnu.org; Sat, 26 Jan 2008 16:25:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIsWb-0001ul-05 for grub-devel@gnu.org; Sat, 26 Jan 2008 16:25:17 -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 1JIsWa-00081f-Tf for grub-devel@gnu.org; Sat, 26 Jan 2008 16:25:17 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JIsWT-0001A4-KY for grub-devel@gnu.org; Sat, 26 Jan 2008 21:25:09 +0000 Received: from adsl-69-234-204-161.dsl.irvnca.pacbell.net ([69.234.204.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Jan 2008 21:25:09 +0000 Received: from wa1ter by adsl-69-234-204-161.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Jan 2008 21:25:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: walt Date: Sat, 26 Jan 2008 13:24:57 -0800 Organization: gmane Message-ID: <1201382697.541.11.camel@k9.localnet> References: <87myqvzkqk.fsf@xs4all.nl> <20080124143306.GB8248@thorin> <20080124145317.GA9385@thorin> <1201193272.334.2.camel@k9.localnet> <20080124171206.GA1515@thorin> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-204-161.dsl.irvnca.pacbell.net In-Reply-To: X-Mailer: Evolution 2.12.3 Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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: Sat, 26 Jan 2008 21:25:18 -0000 On Sat, 2008-01-26 at 23:01 +0800, Bean wrote: > this is the patch, problems found: > > 1, the mbi structure is not initialized to all zeros, this means some > important member, like mods_count, will contain trash. > 2, the entry point in the header is virtual address, we need to > translate it to physical address... Yes! I just discovered that I can multiboot the netbsd kernel off of a FAT32 fs or even an NTFS fs, but *not* off of a UFS fs :o/ Apparently "something bad" happens to the kernel in the process of reading or loading it from the UFS fs. I can read small text files from a UFS fs, however, so I'm thinking maybe this has something to do with the size of the netbsd kernel? BTW, I've tried booting the netbsd kernel off of a FreeBSD UFS1 fs but I can't tell if my NetBSD partition is UFS1 or UFS2 -- dumpfs doesn't say which kind it is. I confess I really don't remember if I have any UFS2 partitions or not. Excellent work so far in just one day! Got any other tricks? :o)