From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K41dK-0007su-TF for mharc-grub-devel@gnu.org; Wed, 04 Jun 2008 18:39:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K41dI-0007q6-Ud for grub-devel@gnu.org; Wed, 04 Jun 2008 18:39:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K41dH-0007ni-1s for grub-devel@gnu.org; Wed, 04 Jun 2008 18:39:04 -0400 Received: from [199.232.76.173] (port=60651 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K41dG-0007nZ-UC for grub-devel@gnu.org; Wed, 04 Jun 2008 18:39:02 -0400 Received: from c60.cesmail.net ([216.154.195.49]:21603) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1K41dF-0003dt-3J for grub-devel@gnu.org; Wed, 04 Jun 2008 18:39:01 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 04 Jun 2008 18:38:59 -0400 Received: from [192.168.0.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 7B56D619058 for ; Wed, 4 Jun 2008 18:38:59 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <20080604221257.GA23843@thorin> References: <20080604221257.GA23843@thorin> Content-Type: text/plain Date: Wed, 04 Jun 2008 18:38:58 -0400 Message-Id: <1212619138.20351.32.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: regression in fs/ext2.c 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: Wed, 04 Jun 2008 22:39:05 -0000 On Thu, 2008-06-05 at 00:12 +0200, Robert Millan wrote: > The following commit: > > 2008-05-20 Bean > > introduced a regression in fs/ext2.c. The effect is that when attempting > to access an ext2 filesystem from grub-emu (and AFAICT only from grub-emu), > it will spend a lot of time (a minute or so) in a loop that calls lseek() > repeatedly (with increasingly higher offsets). > > I'm sorry, I spent a while looking into this, but haven't been able to > find the source of the problem. Actually I noticed that grub won't work in qemu anymore. I would normally do this: qemu -hda /dev/sda and that would show the menu. Sometimes the menu would be old, but running "grub-install /dev/sda" would synchronize the cache. In the recent days, grub would simply hang or report "out of partition". I was installing Fedora 9 around that time, so I blamed it on qemu changes. But now I did a bisect in git, and sure enough, it pointed exactly to that change from May 20. It looks like grub has problems accessing mounted filesystem. That's a problem because the OS can reboot suddenly, leaving the filesystem in a state that grub cannot grok. I'm using ext3 everywhere, so I suspect that the problem may have to do with the journal support implemented in that commit. -- Regards, Pavel Roskin