From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JJDp4-0005mp-Se for mharc-grub-devel@gnu.org; Sun, 27 Jan 2008 15:09:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJDp3-0005lC-7m for grub-devel@gnu.org; Sun, 27 Jan 2008 15:09:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJDox-0005e3-Cq for grub-devel@gnu.org; Sun, 27 Jan 2008 15:09:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJDox-0005dq-99 for grub-devel@gnu.org; Sun, 27 Jan 2008 15:09:39 -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 1JJDox-0000A1-1m for grub-devel@gnu.org; Sun, 27 Jan 2008 15:09:39 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JJDos-0007D4-Nw for grub-devel@gnu.org; Sun, 27 Jan 2008 20:09:34 +0000 Received: from adsl-69-234-223-32.dsl.irvnca.pacbell.net ([69.234.223.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Jan 2008 20:09:34 +0000 Received: from wa1ter by adsl-69-234-223-32.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Jan 2008 20:09:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: walt Date: Sun, 27 Jan 2008 12:09:20 -0800 Message-ID: <1201464560.964.19.camel@k9> References: <87myqvzkqk.fsf@xs4all.nl> <20080124143306.GB8248@thorin> <20080124145317.GA9385@thorin> <1201193272.334.2.camel@k9.localnet> <20080124171206.GA1515@thorin> <1201382697.541.11.camel@k9.localnet> <20080127085329.GA11381@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-223-32.dsl.irvnca.pacbell.net In-Reply-To: <20080127085329.GA11381@thorin> 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: Sun, 27 Jan 2008 20:09:45 -0000 On Sun, 2008-01-27 at 09:53 +0100, Robert Millan wrote: > I just committed a check in grub-probe that attempts to read and verify files > using GRUB filesystems and compares them with output from your system. E.g. > if you do: grub-probe -t fs /full/path/to/file it will compare and verify it > using fs/ufs.c. A few problems. grub-mkdevicemap generates an incomplete file containing only a very long list of (hd0), (hd1) ... (hd35) with no matching device names. I edited the file by hand to this: (hd0) /dev/ad0 (hd1) /dev/ad1 # grub-probe / grub-probe: error: cannot find a device for /. # grub-probe -t fs /kernel grub-probe: error: cannot find a device for /kernel. It seems that grub2 doesn't detect the existing devices including (fd0) on a *BSD system, though it works great on linux. Oh, and I have a FAT32 fs mounted on /c and grub-probe still gives me the same error, so it seems device related rather than fs related. I still have some ideas to try on the different BSD's to see if they all act the same. BTW, gcc on NetBSD *does* support -fstack-protector :o/