Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1E5Was-00055r-HI for mharc-grub-devel@gnu.org; Wed, 17 Aug 2005 18:41:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E5Wao-00053q-O5 for grub-devel@gnu.org; Wed, 17 Aug 2005 18:41:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E5Wak-0004zr-Gz for grub-devel@gnu.org; Wed, 17 Aug 2005 18:41:04 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5Waj-0004lu-TI for grub-devel@gnu.org; Wed, 17 Aug 2005 18:41:01 -0400 Received: from [66.163.179.108] (helo=web35314.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1E5WdQ-0000oJ-HP for grub-devel@gnu.org; Wed, 17 Aug 2005 18:43:48 -0400 Received: (qmail 13990 invoked by uid 60001); 17 Aug 2005 22:27:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Q/mG1Amr2yghWfdGvG0xpxve7wUqYRefKv3qVpZWQ5b+eEz/BKrEaTNUzF/FD+ml7Ln9lLrHUBylKYzhFiG3r9aLiVto79BIewuHLtdD2iO6ZwYyo7e/BwqUKYi9MVPpD9Qd2aHz9WrG3a+KyXTrXUUN8T5zxUp0xth7G86w5wc= ; Message-ID: <20050817222726.13988.qmail@web35314.mail.mud.yahoo.com> Received: from [84.53.202.16] by web35314.mail.mud.yahoo.com via HTTP; Wed, 17 Aug 2005 15:27:26 PDT Date: Wed, 17 Aug 2005 15:27:26 -0700 (PDT) From: Ruslan Nikolaev To: grub-devel@gnu.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1979676142-1124317646=:13762" Content-Transfer-Encoding: 8bit Subject: [DISCUSSION] Multiboot entry point 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: Wed, 17 Aug 2005 22:41:08 -0000 --0-1979676142-1124317646=:13762 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi! I have a one question. GRUB requires have a kernel as an executable file (at least for ELF). This is not very good from user point. For example user can try to load such kernel at operating system and get something like "Segmentation fault". I think that having kernel as a non-executable file (for example ET_REL for ELF) is better. However we need another "entry" point (special symbol). It is possible to have something like "multiboot_start". ...And doesn't have "_start" or "start" symbols in kernel at all. Of course for backward compatibility GRUB can provide both variants (ET_EXEC with "_start" and ET_REL with "multiboot_start"). What do you think about it? --------------------------------- Start your day with Yahoo! - make it your home page --0-1979676142-1124317646=:13762 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi!
 
I have a one question. GRUB requires have a kernel as an executable file (at least for ELF). This is not very good from user point. For example user can try to load such kernel at operating system and get something like "Segmentation fault".
 
I think that having kernel as a non-executable file (for example ET_REL for ELF) is better. However we need another "entry" point (special symbol). It is possible to have something like "multiboot_start". ...And doesn't have "_start" or "start" symbols in kernel at all.
 
Of course for backward compatibility GRUB can provide both variants (ET_EXEC with "_start" and ET_REL with "multiboot_start").
 
What do you think about it?
 


Start your day with Yahoo! - make it your home page --0-1979676142-1124317646=:13762--