From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1BgD3b-0006bN-8c for mharc-grub-devel@gnu.org; Thu, 01 Jul 2004 21:41:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BgD3Z-0006b1-Fp for grub-devel@gnu.org; Thu, 01 Jul 2004 21:41:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BgD3X-0006ap-4E for grub-devel@gnu.org; Thu, 01 Jul 2004 21:41:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgD3X-0006am-19 for grub-devel@gnu.org; Thu, 01 Jul 2004 21:41:35 -0400 Received: from [159.226.39.7] (helo=webmail.ict.ac.cn) by monty-python.gnu.org with smtp (Exim 4.34) id 1BgD1R-0000hS-Vf for grub-devel@gnu.org; Thu, 01 Jul 2004 21:39:26 -0400 Received: (qmail 19766 invoked by uid 507); 2 Jul 2004 01:23:29 -0000 Received: from unknown (HELO ThinkPadT22) (fengshuo@159.226.39.251) by webmail.ict.ac.cn with SMTP; 2 Jul 2004 01:23:29 -0000 From: "Feng Shuo" To: "'The development of GRUB 2'" Date: Fri, 2 Jul 2004 09:39:08 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <87d63falyb.fsf@marco.marco-g.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-index: AcRfbt159nPflv17ToiYUsnrsCLkrgAZMBXw Message-Id: Subject: RE: calling UNDI API X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.4 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, 02 Jul 2004 01:41:37 -0000 The interrupt handle is different between GRUB and Etherboot. I don't know the detail, but this makes some Etherboot drivers not work properly in GRUB (even with my diskless patch). For instance, the new pcnet32 driver hang in GRUB, for it will raise an interrupt to initialize the card ---- the UNDI driver has the similar problem :-( In grub2, I think, we must make a decision on which framework to use before we do anything, so that we may change the grub2 base code or architecture to support the frame work better. -----Original Message----- From: grub-devel-bounces+fengshuo=ict.ac.cn@gnu.org [mailto:grub-devel-bounces+fengshuo=ict.ac.cn@gnu.org] On Behalf Of Marco Gerards Sent: Thursday, July 01, 2004 9:36 PM To: The development of GRUB 2 Subject: Re: calling UNDI API "Yoshinori K. Okuji" writes: > If you look at the header file include/grub/net.h, you can see what I > had in my mind. Basically, network devices should provide a generic > interface to network protocols. Ok. >> How will we support the other cards? By using etherboot (or whatever >> it was used in GRUB Legacy)? What I would prefer is to have our own >> TCP/IP stack that is platform independent. > GRUB doesn't assume that hardware interrupts occur during normal > execution, since this makes the implementation very complex, due to > the switch between real mode and protected mode on i386. So I prefer > the polling approach to the interruption-based approach. For this, > Etherboot fits gracefully. Ok, I agree. > If my understanding is correct, Etherboot is now being ported to other > architectures, although it was only for i386 like GRUB Legacy. This > looks very interesting to us. i did not know that. Interesting indeed. > BTW, do you really need TCP in GRUB? I know some people want to use TCP > protocols for netboot, such as HTTP and FTP. But I feel this is > overkill. If you need only UDP, it's quite easy to implement. You can > just copy the code from GRUB Legacy with a few modifications for > portability. No, I just said TCP/IP because I am used to it and it is the name of the protocol, I did not mean TCP specifically. But I know a lot of people would like TCP support. It is at least an option that should be left open, IMHO. Thanks, Marco _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel