From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: 1) too big kernel on 1.92. 2) unrecognized: %lex-param.
Date: Wed, 19 Apr 2006 13:58:08 +0200 [thread overview]
Message-ID: <200604191358.08272.okuji@enbug.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0604191910210.7064@boston.corp.fedex.com>
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
next prev parent reply other threads:[~2006-04-19 11:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-19 11:16 1) too big kernel on 1.92. 2) unrecognized: %lex-param Jeff Chua
2006-04-19 11:58 ` Yoshinori K. Okuji [this message]
2006-04-20 0:15 ` Jeff Chua
2006-04-20 0:50 ` Jeff Chua
2006-04-20 2:34 ` Yoshinori K. Okuji
2006-04-19 13:06 ` Marco Gerards
2006-04-19 15:28 ` Jeff Chua
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=200604191358.08272.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.