From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JpOG8-0006nL-Ph for mharc-grub-devel@gnu.org; Fri, 25 Apr 2008 09:46:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JpOG5-0006lp-RB for grub-devel@gnu.org; Fri, 25 Apr 2008 09:46:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JpOG5-0006lG-4T for grub-devel@gnu.org; Fri, 25 Apr 2008 09:46:37 -0400 Received: from [199.232.76.173] (port=38053 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpOG4-0006l1-TS for grub-devel@gnu.org; Fri, 25 Apr 2008 09:46:36 -0400 Received: from ns39764.ovh.net ([91.121.25.85] helo=nexedi.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JpOG4-0000IR-4t for grub-devel@gnu.org; Fri, 25 Apr 2008 09:46:36 -0400 Received: from [10.8.0.46] (unknown [10.8.0.46]) by nexedi.com (Postfix) with ESMTP id 165743D92A for ; Fri, 25 Apr 2008 15:46:56 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Fri, 25 Apr 2008 15:46:34 +0200 User-Agent: KMail/1.9.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804251546.34571.okuji@enbug.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Issue with OpenSolaris kernels on GRUB2 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: Fri, 25 Apr 2008 13:46:38 -0000 On Saturday 19 April 2008 13:45, Patrick Georgi wrote: > Yet, GRUB2 differs in behaviour from GRUB legacy: > > GRUB first looks if the file is multiboot and an ELF image. If not, it > looks for the aout flag, and handles the file accordingly. So in case of > the OpenSolaris kernel, it never looks at the flag. I think you refer to an older version of GRUB Legacy here. This behavior has been fixed. > GRUB2 first looks if the flag is set and assumes the file is aout (and > fails), and only if not, tries ELF. This is correct, and consistent with the latest GRUB Legacy. > I'm not sure if that change in behaviour is intended, which is why I ask > here. If the new behaviour is to stay, making the aout parser more > robust, and fail with a more meaningful error, might be a good idea. Yes, I agree. There must be a bug. :) Okuji