From: Andreas Schwab <schwab@suse.de>
To: linux-ia64@vger.kernel.org
Subject: Re: initrd_size inflation breaks initramfs
Date: Mon, 28 Nov 2005 09:44:25 +0000 [thread overview]
Message-ID: <jek6etcdja.fsf@sykes.suse.de> (raw)
In-Reply-To: <1133159027.6062.98.camel@localhost>
dann frazier <dannf@hp.com> writes:
> My guess is that this is a bug in elilo.
Try this patch:
--- initrd.c
+++ initrd.c
@@ -94,6 +94,9 @@
initrd->start_addr = start_addr;
+ /* Clear extra memory since we don't pass the exact size. */
+ Memset(start_addr + size, 0, (pgcnt << EFI_PAGE_SHIFT) - size);
+
return ELILO_LOAD_SUCCESS;
error:
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2005-11-28 9:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-28 6:23 initrd_size inflation breaks initramfs dann frazier
2005-11-28 9:44 ` Andreas Schwab [this message]
2005-11-28 15:57 ` dann frazier
2005-11-28 16:15 ` Jesse Barnes
2005-11-28 16:24 ` dann frazier
2005-11-28 16:27 ` Matthew Wilcox
2005-11-28 16:28 ` dann frazier
2005-11-28 16:45 ` Brett Johnson
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=jek6etcdja.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=linux-ia64@vger.kernel.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.