From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KN0yl-0007hn-Ga for mharc-grub-devel@gnu.org; Sun, 27 Jul 2008 03:47:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KN0yk-0007hi-H0 for grub-devel@gnu.org; Sun, 27 Jul 2008 03:47:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KN0yi-0007hW-5T for grub-devel@gnu.org; Sun, 27 Jul 2008 03:47:41 -0400 Received: from [199.232.76.173] (port=37616 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KN0yh-0007hT-Vm for grub-devel@gnu.org; Sun, 27 Jul 2008 03:47:40 -0400 Received: from mx20.gnu.org ([199.232.41.8]:49637) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KN0yh-0003SQ-Pr for grub-devel@gnu.org; Sun, 27 Jul 2008 03:47:39 -0400 Received: from c60.cesmail.net ([216.154.195.49]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KN0yg-0005XF-Ns for grub-devel@gnu.org; Sun, 27 Jul 2008 03:47:38 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 27 Jul 2008 03:47:38 -0400 Received: from [192.168.1.225] (pool-71-185-138-248.phlapa.east.verizon.net [71.185.138.248]) by relay.cesmail.net (Postfix) with ESMTP id 19045618F22 for ; Sun, 27 Jul 2008 03:47:37 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <8d4ac6e00807261856p516c884eldb3ca1c1cda3b37b@mail.gmail.com> References: <8d4ac6e00807261856p516c884eldb3ca1c1cda3b37b@mail.gmail.com> Content-Type: text/plain; charset="ISO-8859-1" Date: Sun, 27 Jul 2008 03:47:35 -0400 Message-Id: <1217144855.16601.51.camel@ct> Mime-Version: 1.0 X-Mailer: Evolution 2.23.4 (2.23.4-3.fc10) Content-Transfer-Encoding: 8bit X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: "Out of Partition" error on XFS still occuring 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 Jul 2008 07:47:42 -0000 On Sat, 2008-07-26 at 20:56 -0500, Dan Callahan wrote: > Hi, I seem to be able to recreate the xfs "out of partition" error > using Debian's most recent grub-pc release, 1.96+20080724-2. > > This bug is being tracked at > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436943 , and was > first reported one year ago. A patch from Niels Böhm last month was > thought to resolve it, but I'm still seeing the issue. > > A dd copy of the offending filesystem is available at > http://neoflux.net/tmp/xfs-boot.tar.gz (8.9 MB compressed, 243 MB > uncompressed, link should remain active through August.) > > Mounted as a loopback device in grub-emu, ls (device) detects that it > is xfs, but ls (device)/ and ls (device)/grub fail with the out of > partition error. Valgrind on x86_64 indicates something interesting: $ valgrind grub-fstest /home/proski/tmp/xfs/xfs-boot.img ls / ==23594== Memcheck, a memory error detector. ==23594== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==23594== Using LibVEX rev 1804, a library for dynamic binary translation. ==23594== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==23594== Using valgrind-3.3.0, a dynamic binary instrumentation framework. ==23594== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==23594== For more details, rerun with: -v ==23594== em.map-2.6.25-2-amd64/ ==23594== Conditional jump or move depends on uninitialised value(s) ==23594== at 0x415FB9: call_hook.2389 (xfs.c:378) ==23594== by 0x4167DB: grub_xfs_iterate_dir (xfs.c:469) ==23594== by 0x41697C: grub_xfs_dir (xfs.c:659) ==23594== by 0x4083EC: grub_cmd_ls (ls.c:176) ==23594== by 0x4011C7: execute_command (grub-fstest.c:120) ==23594== by 0x401452: fstest (grub-fstest.c:305) ==23594== by 0x4016DF: main (grub-fstest.c:513) "em.map-2.6.25-2-amd64/" is apparently the ls output. Yet Linux can mount the volume, and it shows reasonable names. -- Regards, Pavel Roskin