From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FnLB2-00058r-7R for mharc-grub-devel@gnu.org; Mon, 05 Jun 2006 15:55:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FnLAz-00056A-Dq for grub-devel@gnu.org; Mon, 05 Jun 2006 15:55:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FnLAw-00053q-OC for grub-devel@gnu.org; Mon, 05 Jun 2006 15:55:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnLAw-00053k-6o for grub-devel@gnu.org; Mon, 05 Jun 2006 15:55:46 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FnLI9-0003O2-3v for grub-devel@gnu.org; Mon, 05 Jun 2006 16:03:13 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 3E5953C000395 for ; Mon, 5 Jun 2006 23:32:37 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 5AB263C000394 for ; Mon, 5 Jun 2006 23:32:36 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Mon, 5 Jun 2006 21:55:43 +0200 User-Agent: KMail/1.8.2 References: <5876e7e80606051244r2ae6a105q43027d142c159a9c@mail.gmail.com> In-Reply-To: <5876e7e80606051244r2ae6a105q43027d142c159a9c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606052155.43879.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.157138, version=0.17.2 Subject: Re: Initrd file not loaded 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: Mon, 05 Jun 2006 19:55:50 -0000 On Monday 05 June 2006 21:44, Jes=FAs Velazquez wrote: > In the function grub_rescue_cmd_initrd (at file loader/i386/pc/linux.c), > the following lines of code (lines 335-336) > > if (!linux_mem_size && linux_mem_size < addr_max) > addr_max =3D linux_mem_size; > > Setup the addr_max to linux_mem_size when "mem=3D" option is not specifie= d. I > mean the condition is inverted. Uggh, you are right. I will fix this. > #if 0 > if (grub_le_to_cpu16 (lh->version) >=3D 0x0203) > addr_max =3D grub_cpu_to_le32 (lh->initrd_addr_max); > #else > addr_max =3D GRUB_LINUX_INITRD_MAX_ADDRESS; > #endif Hmm, this is strange. The boot protocl 2.03 is supposed to put a right valu= e=20 there. What value is written in your kernel? Thanks, Okuji