From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MO2D5-00009I-3Z for mharc-grub-devel@gnu.org; Tue, 07 Jul 2009 00:23:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MO2D3-000090-4J for grub-devel@gnu.org; Tue, 07 Jul 2009 00:23:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MO2Cx-00008O-Nx for grub-devel@gnu.org; Tue, 07 Jul 2009 00:23:12 -0400 Received: from [199.232.76.173] (port=36703 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MO2Cx-00008F-IT for grub-devel@gnu.org; Tue, 07 Jul 2009 00:23:07 -0400 Received: from c60.cesmail.net ([216.154.195.49]:39049) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1MO2Cx-0007As-28 for grub-devel@gnu.org; Tue, 07 Jul 2009 00:23:07 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 07 Jul 2009 00:23:09 -0400 Received: from [192.168.0.22] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id 67D1D34C6A for ; Tue, 7 Jul 2009 00:31:20 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: References: <4A51AE6A.6060708@impulze.org> <2m2ai6-i7b.ln1@ppp121-45-136-118.lns11.adl6.internode.on.net> <1246927104.31361.43.camel@mj> <1246931931.2549.21.camel@mj> Content-Type: text/plain Date: Tue, 07 Jul 2009 00:23:03 -0400 Message-Id: <1246940583.2549.57.camel@mj> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] Caseless UUID comparsion in search command 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: Tue, 07 Jul 2009 04:23:13 -0000 On Tue, 2009-07-07 at 13:08 +0930, Arthur Marsh wrote: > Pavel Roskin wrote, on 07/07/09 11:28: > > On Tue, 2009-07-07 at 10:41 +0930, Arthur Marsh wrote: > > > >> using grub-emu at the moment. I'll try in real grub when I reboot. > > > > Could you please try booting Linux in grub-emu? You can interrupt qemu > > before the kernel tries to mount anything. Or you can remove the > > "linux" line. What matters is whether the "search" command works. That > > would show if BIOS limitations play any role. > > I haven't used grub-emu to boot linux. Sorry, I was thinking about qemu when I wrote this. > In grub-emu I get: > > sh:grub> ls -l > Device hd0: Partition table > Partition hd0,7: Filesystem type ext2, Last modification time > 2009-07-07 > 03:21:45 Tuesday, UUID 96c96a61-8615-4715-86d0-09cb8c62638c > Partition hd0,6: Filesystem type fat, UUID 7417-5aff > Partition hd0,5: Unknown filesystem > Partition hd0,1: Filesystem type ext2, Last modification time > 2009-07-07 > 03:23:54 Tuesday, UUID bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea > > sh:grub> search -l "" > Segmentation fault This should be fixed in Subversion. My mistake. Please test it. The patch for unifying search won't help solve this problem. > In real grub: > > ls -l > > hd0: Partition table > Partition hd0,1: Filesystem cannot be accessed > Device hd1: filesysetm cannot be accessed > Device hd2: filesystem cannot be accessed > Device fd0: Filesystem cannot be accessed > error: no such disk That means that grub_device_open() fails for all of them. Something is seriously wrong here. Yet somehow the Linux kernel can be loaded. One possibility is that some error condition happens when accessing (hd0,1) and cannot be cleared. Another possibility is a compiler bug. Maybe we need more instances of NESTED_FUNC_ATTR. What is the compile version you are using to compile GRUB? -- Regards, Pavel Roskin