From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GmYLE-0000UK-9y for mharc-grub-devel@gnu.org; Tue, 21 Nov 2006 11:19:24 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmYLC-0000Ra-5k for grub-devel@gnu.org; Tue, 21 Nov 2006 11:19:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmYL9-0000Oq-IU for grub-devel@gnu.org; Tue, 21 Nov 2006 11:19:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmYL9-0000Og-6N for grub-devel@gnu.org; Tue, 21 Nov 2006 11:19:19 -0500 Received: from [32.97.182.146] (helo=e6.ny.us.ibm.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GmYL8-0004HE-Cu for grub-devel@gnu.org; Tue, 21 Nov 2006 11:19:18 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e6.ny.us.ibm.com (8.13.8/8.12.11) with ESMTP id kALGJWDi027247 for ; Tue, 21 Nov 2006 11:19:32 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id kALGJ8GP126468 for ; Tue, 21 Nov 2006 11:19:09 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id kALGJ7fG009020 for ; Tue, 21 Nov 2006 11:19:07 -0500 Received: from [9.53.41.42] (basalt.austin.ibm.com [9.53.41.42]) by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id kALGJ6xQ008948 for ; Tue, 21 Nov 2006 11:19:06 -0500 From: Hollis Blanchard To: The development of GRUB 2 In-Reply-To: <1163634117.455ba5c54cab9@imp8-g19.free.fr> References: <1163545104.12931.49.camel@basalt> <200611152137.27912.okuji@enbug.org> <1163634117.455ba5c54cab9@imp8-g19.free.fr> Content-Type: text/plain Date: Tue, 21 Nov 2006 10:18:48 -0600 Message-Id: <1164125928.29331.24.camel@basalt> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Subject: Re: multiboot2: make multiboot header optional 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, 21 Nov 2006 16:19:22 -0000 On Thu, 2006-11-16 at 00:41 +0100, tgingold@free.fr wrote: > Quoting "Yoshinori K. Okuji" : > > > On Tuesday 14 November 2006 23:58, Hollis Blanchard wrote: > > > I would like to make the in-kernel multiboot header optional. If it's an > > > ELF file, we can load it, even if it doesn't have the header. We can > > > also pass the address of the multiboot tags to its entry point (it can't > > > hurt anything). > > > > I prefer to keep a multiboot header, because GRUB may not detect an error > > that the offset of a multiboot header is beyond 8192 bytes. > BTW, on ia64 8192 is too small. Linux and Xen put the ivt (interrupt vector > table) at the head of the file because it has the largest alignment > requirement (32Kb). I am not sure there is a big enough hole in the ivt. > And Xen has two ivt (-> 64kB). > However both Linux and Xen use the ELF format. Do you have a proposal to solve this problem? Are you advocating dropping the multiboot header, since we can load ELF files without it? -Hollis