[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initrd file not loaded

From: Yoshinori K. Okuji
Subject: Re: Initrd file not loaded
Date: Mon, 5 Jun 2006 21:55:43 +0200
User-agent: KMail/1.8.2

On Monday 05 June 2006 21:44, Jesús 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 = linux_mem_size;
> Setup the addr_max to linux_mem_size when "mem=" option is not specified. I
> mean the condition is inverted.

Uggh, you are right. I will fix this.

> #if 0
>   if (grub_le_to_cpu16 (lh->version) >= 0x0203)
>     addr_max = grub_cpu_to_le32 (lh->initrd_addr_max);
> #else
> #endif

Hmm, this is strange. The boot protocl 2.03 is supposed to put a right value 
there. What value is written in your kernel?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]