From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Initrd file not loaded
Date: Mon, 5 Jun 2006 21:55:43 +0200 [thread overview]
Message-ID: <200606052155.43879.okuji@enbug.org> (raw)
In-Reply-To: <5876e7e80606051244r2ae6a105q43027d142c159a9c@mail.gmail.com>
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
> addr_max = GRUB_LINUX_INITRD_MAX_ADDRESS;
> #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?
Thanks,
Okuji
next prev parent reply other threads:[~2006-06-05 19:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-05 19:44 Initrd file not loaded Jesús Velazquez
2006-06-05 19:55 ` Yoshinori K. Okuji [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-05-31 1:18 Jesús Velazquez
2006-06-01 15:44 ` Yoshinori K. Okuji
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200606052155.43879.okuji@enbug.org \
--to=okuji@enbug.org \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.