Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PX4lB-0002Hs-AN for mharc-grub-devel@gnu.org; Sun, 26 Dec 2010 23:32:37 -0500 Received: from [140.186.70.92] (port=38791 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PX4l8-0002Hb-TH for grub-devel@gnu.org; Sun, 26 Dec 2010 23:32:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PX4l7-00012z-ND for grub-devel@gnu.org; Sun, 26 Dec 2010 23:32:34 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]:62896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PX4l7-00012t-Ey for grub-devel@gnu.org; Sun, 26 Dec 2010 23:32:33 -0500 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBR4WV7Y029489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 27 Dec 2010 04:32:32 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBR4UUpx016834 for ; Mon, 27 Dec 2010 04:32:31 GMT Received: from abhmt004.oracle.com by acsmt355.oracle.com with ESMTP id 882429161293424308; Sun, 26 Dec 2010 20:31:48 -0800 Received: from rebs (/10.142.243.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 26 Dec 2010 20:31:47 -0800 Date: Sun, 26 Dec 2010 20:30:25 -0800 (PST) From: Seth Goldberg X-X-Sender: sethg@bergsoft To: grub-devel@gnu.org Message-ID: User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: reed solomon breaks larger pxe images 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: Mon, 27 Dec 2010 04:32:35 -0000 Hi, While trying to test pxe booting, I noticed that creating a pxe image larger than around 100k causes the system hard-hang after control is transferred to pxegrub. I narrowed it down to an unknown problem in grub_reed_solomon_recover (called from startup.S). Unconditionally jumping over the call allows the system to continue to proceed to the menu. So, if you're trying to build a pxe image with a lot of modules, and you get a hard hang, try this: === modified file 'grub-core/kern/i386/pc/startup.S' --- grub-core/kern/i386/pc/startup.S 2010-12-24 06:29:28 +0000 +++ grub-core/kern/i386/pc/startup.S 2010-12-27 04:26:25 +0000 @@ -147,6 +147,8 @@ incl %eax call grub_gate_a20 + jmp post_reed_solomon + movl EXT_C(grub_compressed_size), %edx addl $(GRUB_KERNEL_MACHINE_RAW_SIZE - GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART), %edx movl reed_solomon_redundancy, %ecx --S