Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JiYYj-0005Qj-Tl for mharc-grub-devel@gnu.org; Sun, 06 Apr 2008 13:21:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JiYYh-0005O9-TL for grub-devel@gnu.org; Sun, 06 Apr 2008 13:21:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JiYYf-0005Lq-IB for grub-devel@gnu.org; Sun, 06 Apr 2008 13:21:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiYYf-0005Lb-AE for grub-devel@gnu.org; Sun, 06 Apr 2008 13:21:33 -0400 Received: from c60.cesmail.net ([216.154.195.49]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1JiYYf-0001Hd-4U for grub-devel@gnu.org; Sun, 06 Apr 2008 13:21:33 -0400 Received: from unknown (HELO epsilon2) ([192.168.1.60]) by c60.cesmail.net with ESMTP; 06 Apr 2008 13:21:31 -0400 Received: from pool-96-227-100-231.phlapa.east.verizon.net (pool-96-227-100-231.phlapa.east.verizon.net [96.227.100.231]) by webmail.spamcop.net (Horde MIME library) with HTTP; Sun, 06 Apr 2008 13:21:31 -0400 Message-ID: <20080406132131.jlcomedo2og0ocwc@webmail.spamcop.net> Date: Sun, 06 Apr 2008 13:21:31 -0400 From: Pavel Roskin To: The development of GRUB 2 , Christian Franke References: <47F7643D.2070204@t-online.de> In-Reply-To: <47F7643D.2070204@t-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Cc: grub-devel@gnu.org Subject: Re: Infinite loop regression due to recent change in hostfs.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: Sun, 06 Apr 2008 17:21:36 -0000 Quoting Christian Franke : > The change in hostfs.c introduces an interesting regression: hostfs now > appears in *_init.lst and grub_hostfs_init() is called twice in > grub-emu and grub-fstest. This results in a infinite loop because the > hostfs entry of grub_fs_list points to itself. Thanks for noticing the problem and for the analysis! > You should either undo this change or remove extra calls to > grub_hostfs_init/fini from grub-emu.c and grub-fstest.c. The latter > might not work if it is necessary to init hostfs first for some reason. I've removed the extra calls. I don't see any reasons why hostfs should be registered first. -- Regards, Pavel Roskin