From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OoXrZ-0005GF-HG for mharc-grub-devel@gnu.org; Thu, 26 Aug 2010 04:31:09 -0400 Received: from [140.186.70.92] (port=60805 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoR1v-0003sS-4y for grub-devel@gnu.org; Wed, 25 Aug 2010 21:13:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoR1s-0002rp-Jt for grub-devel@gnu.org; Wed, 25 Aug 2010 21:13:23 -0400 Received: from mail.nebonet.com ([69.168.69.3]:57963) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoR1s-0002rW-E1 for grub-devel@gnu.org; Wed, 25 Aug 2010 21:13:20 -0400 Received: from localhost (scanner.noc.nebonet.com [10.255.255.4]) by mail.nebonet.com (Postfix) with ESMTP id E3BFB19D941 for ; Wed, 25 Aug 2010 19:13:16 -0600 (MDT) Received: from [69.168.72.100] (virtualuplink.omniflux.com [69.168.72.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: josh@mail.nebonet.com) by mail.nebonet.com (Postfix) with ESMTPSA id B07FF19D93E for ; Wed, 25 Aug 2010 19:13:16 -0600 (MDT) Message-ID: <4C75BF92.3060106@omniflux.com> Date: Wed, 25 Aug 2010 19:12:50 -0600 From: Omni Flux User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: The development of GNU GRUB References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Mailman-Approved-At: Thu, 26 Aug 2010 04:31:07 -0400 Subject: Re: Problems booting Linux via PXE X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2010 01:13:24 -0000 I am able to reproduce this with GRUB2 1.97~beta3-1~bpo50+1 from Debian=20 backports attempting to boot the current Debian Lenny net installer=20 kernels (32-bit and 64-bit) on several machines. A packet capture shows the tftp server sending block 3 of the kernel=20 several times with no response from the client. This did work with some version of grub2 and the D-I linux kernel in the=20 past. If I can make time, I will try to test with the current version in the=20 repository later tonight. --=20 Omni Flux On 2010-08-25 13:02, Turner, Ian wrote: > I=92m having some trouble using GRUB to boot Linux via PXE. It seems th= at > for some reason the call to the PXE BIOS fails when retrieving the thir= d > packet of the Linux kernel. I don=92t have this problem loading multibo= ot > kernels or GRUB modules. This is using GRUB 1.98. > I=92ve seen the problem on all three servers where I=92ve tested, which= are > as follows: > - A Sun Fire X4100 > - with four Dual Core AMD Opteron(tm) Processor 285 SE > - Running Intel Boot Agent GE 1.2.50 > Intel Boot Agent PXE Base Code (PXE-2.1 build 086) > - A Sun Fire X4150 > - with two Intel X5440 processors > - Running Intel Boot Agent GE 1.2.42 > Intel Boot Agent PXE Base Code (PXE-2.1 build 085) > - A Dell PowerEdge R610 > - With two Intel X5570 processors > - Running Broadcom NetXtreme II Ethernet Boot Agent v5.0.5 > Broadcom UNDI PXE-2.1 v5.0.5 > Broadcom Base Code PXE-2.1 v1.1.1 > On the Sun servers, the relevant call to > grub_pxe_call(GRUB_PXENV_TFTP_READ) at fs/i386/pc/pxe.c:300 simply does > not return. On the Dell server, some dots (2-200) are printed to the > console at the time this call is placed, and sometimes the call does > return, but with a (invalid) status code of 65536. Other times the call > hangs after printing the dots. > Looking at loader/i386/linux.c, the grub_file_read() at line 638 works, > as does the one at line 698. It=92s the third read, at line 891, which > creates the failure. > I should emphasize that the PXE code seems to work fine for everything > else. I am able to load dozens of GRUB modules, multiple configuration > files, and multiboot and linux16 kernels with no problem. It=92s only t= he > bzImage that seems to create trouble, and only the third packet of that > image. It doesn=92t seem to matter what kernel I use; at least, I see t= his > problem with RHEL kernels from 5.2 up to 5.5. > I hypothesize that something between linux.c line 698 and linux.c line > 891 writes to a region of memory reserved by the PXE bios. Is there a > way to test this theory? > Has anyone else been able to make this work? Is there something simple > that I am missing? I would love to hear your thoughts. Also, if I shoul= d > take this over to grub-help or grub-bugs, let me know. > Cheers, > --Ian Turner > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel