From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FWBJk-00038o-VB for mharc-grub-devel@gnu.org; Wed, 19 Apr 2006 07:57:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWBJj-00038j-8q for grub-devel@gnu.org; Wed, 19 Apr 2006 07:57:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWBJh-000387-OF for grub-devel@gnu.org; Wed, 19 Apr 2006 07:57:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWBJh-00037y-J7 for grub-devel@gnu.org; Wed, 19 Apr 2006 07:57:53 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FWBKn-000860-62 for grub-devel@gnu.org; Wed, 19 Apr 2006 07:59:01 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id E38C53C00628E for ; Wed, 19 Apr 2006 15:14:07 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 051623C00628A for ; Wed, 19 Apr 2006 15:14:07 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Wed, 19 Apr 2006 13:58:08 +0200 User-Agent: KMail/1.8.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604191358.08272.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.499935, version=0.17.2 Subject: Re: 1) too big kernel on 1.92. 2) unrecognized: %lex-param. 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, 19 Apr 2006 11:57:55 -0000 On Wednesday 19 April 2006 13:16, Jeff Chua wrote: > I got this message trying to boot linux using grub2 on a Dell Optiplex > GX620 which has 4GB RAM. The same kernel booted fine on a IBM notebook > using the same grub2 with 2GB RAM. > > version is Grub2 1.92. > > "Too big kernel" > > Why? Can you debug it yourself a bit? I cannot afford buying so much memory. ;) In loader/i386/pc/linux.c, there is a piece of code like this: if (grub_file_size (file) > (grub_ssize_t) grub_os_area_size) { grub_error (GRUB_ERR_OUT_OF_RANGE, "too big kernel"); goto fail; } Can you see what is printed when you change this to: if (grub_file_size (file) > (grub_ssize_t) grub_os_area_size) { grub_error (GRUB_ERR_OUT_OF_RANGE, "too big kernel (0x%x > 0x%x)", grub_file_size (file), grub_os_area_size); goto fail; } Cheers, Okuji