Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K483W-0003fn-Gm for mharc-grub-devel@gnu.org; Thu, 05 Jun 2008 01:30:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K483T-0003fd-Ay for grub-devel@gnu.org; Thu, 05 Jun 2008 01:30:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K483T-0003fL-07 for grub-devel@gnu.org; Thu, 05 Jun 2008 01:30:31 -0400 Received: from [199.232.76.173] (port=42821 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K483S-0003fH-KX for grub-devel@gnu.org; Thu, 05 Jun 2008 01:30:30 -0400 Received: from ti-out-0910.google.com ([209.85.142.186]:20391) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K483R-0000DX-Ud for grub-devel@gnu.org; Thu, 05 Jun 2008 01:30:30 -0400 Received: by ti-out-0910.google.com with SMTP id u5so116556tia.10 for ; Wed, 04 Jun 2008 22:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=uzNev+JQ6a4fIRSd8qIcnMtxUKXQM1nQOJdRcAo9cbs=; b=PV6gWG9aBQlpJbTkLjjbSwpiFK14KjYFtUyKTAL8Oi4W5n7JKDNPpnN/cbWqZftThG pxwa6mUfXNtNXQcTiE8qmJIZTvm1rHRHu5kO8AVgrFhablnGfzkd8NHChhROs8T2KSlM HntFtas9+9nPGPuQS2c7bBzAWWV8vtfGagDRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HtTp9zeJ33lqFt6s3X5Pg854pTwY7TlbEpG1dxEADyloYCSOrxco46Z3Vv13RORvWH 1bnvsMxpwORijtyWTV30n6AkonKQb7ziRFsY4fgHUQPDa3ejntZ9T96jblohCAMBDHv3 EreIxSXAuGzxFzfdgcWaTgIOuqfSTrvHZ7RPg= Received: by 10.110.92.8 with SMTP id p8mr269780tib.25.1212643826771; Wed, 04 Jun 2008 22:30:26 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Wed, 4 Jun 2008 22:30:26 -0700 (PDT) Message-ID: Date: Thu, 5 Jun 2008 13:30:26 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <1212619138.20351.32.camel@dv> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080604221257.GA23843@thorin> <1212619138.20351.32.camel@dv> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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: Thu, 05 Jun 2008 05:30:32 -0000 On Thu, Jun 5, 2008 at 6:38 AM, Pavel Roskin wrote: > 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. Hi, I believe it's the new journal support for ext2 that cause the problem. Can you create a small disk image for me to test ? -- Bean