Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LUP7X-00019c-EM for mharc-grub-devel@gnu.org; Tue, 03 Feb 2009 12:31:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUP7V-00019B-9o for grub-devel@gnu.org; Tue, 03 Feb 2009 12:31:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUP7T-00018x-Nf for grub-devel@gnu.org; Tue, 03 Feb 2009 12:31:33 -0500 Received: from [199.232.76.173] (port=55572 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUP7T-00018u-JN for grub-devel@gnu.org; Tue, 03 Feb 2009 12:31:31 -0500 Received: from moutng.kundenserver.de ([212.227.126.188]:64216) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUP7T-0004uy-3Q for grub-devel@gnu.org; Tue, 03 Feb 2009 12:31:31 -0500 Received: from [85.180.22.18] (e180022018.adsl.alicedsl.de [85.180.22.18]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis) id 0MKxQS-1LUP7R3LEE-0005oH; Tue, 03 Feb 2009 18:31:30 +0100 From: Felix Zielcke To: The development of GRUB 2 Content-Type: text/plain Date: Tue, 03 Feb 2009 18:31:30 +0100 Message-Id: <1233682290.3434.5.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18hWCcrdcYXbwPs8LL13CFc60oAnjFo2fMaL+9 VujjYEwxBZu4OoJFIRuIbMLSvfcHjd0ulfS53gKaX14YVJ6XsV llHRFpV92aPvY7sp5TDRNq9tb0oXHYE X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Floating point exception with a ext3 journal device 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, 03 Feb 2009 17:31:33 -0000 If you create a journal device with `mke2fs -O journal_dev /dev/sdxy' and then do `ls (hdx,y)' or `search /' then grub-emu crashes with a FPE This has been reported on Debian http://bugs.debian.org/502333 The problem lies in fs/ext2.c:466 grub_ext2_blockgroup (data, ino / grub_le_to_cpu32 (sblock->inodes_per_group), &blkgrp); sblock->inodes_per_group is zero for a journal device. I think the best solution would be Javier's patch which refuses extN filesystems with invalid flags, because journal devices have a INCOMPAT flag journal_dev set Else I don't know how to fix this. -- Felix Zielcke