From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FHpa9-0006Mt-LU for mharc-grub-devel@gnu.org; Fri, 10 Mar 2006 16:55:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FHpa7-0006AO-25 for grub-devel@gnu.org; Fri, 10 Mar 2006 16:55:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FHpa4-0005y8-Nt for grub-devel@gnu.org; Fri, 10 Mar 2006 16:55:30 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHpa4-0005x6-FT for grub-devel@gnu.org; Fri, 10 Mar 2006 16:55:28 -0500 Received: from [194.109.24.24] (helo=smtp-vbr4.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FHpdR-0006Gn-CS for grub-devel@gnu.org; Fri, 10 Mar 2006 16:58:57 -0500 Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by smtp-vbr4.xs4all.nl (8.13.3/8.13.3) with ESMTP id k2ALtOSm089791 for ; Fri, 10 Mar 2006 22:55:25 +0100 (CET) (envelope-from mgerards@xs4all.nl) Mail-Copies-To: mgerards@xs4all.nl To: The development of GRUB 2 References: <44100C67.6000402@itwm.fraunhofer.de> <878xriwfyv.fsf@xs4all.nl> <20060310154510.GA11141@soul.cs.tau.ac.il> From: Marco Gerards Date: Fri, 10 Mar 2006 22:55:26 +0100 In-Reply-To: <20060310154510.GA11141@soul.cs.tau.ac.il> (Yedidyah Bar-David's message of "Fri, 10 Mar 2006 17:45:10 +0200") Message-ID: <87slpqt169.fsf@xs4all.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: Status of UNDI Support 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, 10 Mar 2006 21:55:31 -0000 didi@tau.ac.il (Yedidyah Bar-David) writes: > On Fri, Mar 10, 2006 at 03:07:36PM +0100, Marco Gerards wrote: >> Martin Vogt writes: >> > Isnt it possible to re-use some UNDI support from pxelinux and put it >> > into grub2? > > While I do not know the internals of grub2, I guess some parts of it run > in protected mode, while pxelinux is realmode only. I think this means > it won't be easy to use parts of it. GRUB is able to switch to realmode and back. It's what's done when accessing the BIOS to read from disk. >> >> I don't know. I think it is better that we write it ourselves, it >> does not appear too hard to implement... > > Looking at the sources of pxelinux, it seems somewhat more complex than > what you can tell from reading the specs, mainly because you want, as > reasonably as possible, to support also buggy PXE stacks etc. So while > it's probably not that hard, it would make sense to look at pxelinux for > reference if not for the code. > > I personally was a user of both etherboot, grub with etherboot drivers > and grub with undi (which indeed did not work well for me back then - I > did not try it recently), and I agree it would make more sense for grub2 > to support undi only, unlike grub legacy which tried to support > everything etherboot supported, which was probably too much > synchronization work and therefore did not work well. I prefer to support both. The etherboot drivers usually work better than UNDI, AFAIK. But when etherboot does not support a card, people can fall back to UNDI. Don't forget that not all cards support UNDI, so I don't want UNDI only. -- Marco