All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: for ppc, include all modules in the core image
Date: Thu, 18 Oct 2012 20:08:38 +0200	[thread overview]
Message-ID: <508045A6.6040309@gmail.com> (raw)
In-Reply-To: <20121016062854.Horde.IYLUrZir309QfTbmkvaCoBA@imap.linux.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

On 16.10.2012 12:28, Paulo Flabiano Smorigo/Brazil/IBM wrote:

> Hi all!
> 
> This patch implements the solution suggested by Gustavo Luiz Duarte
> <gustavold@linux.vnet.ibm.com>:
> 
> Adding more modules to be built-in to the grub core ELF is easy. It is a
> parameter passed by grub2-install to grub2-mkimage. However, there is a
> downside
> on adding many modules to the core ELF: they are fully initialized in
> the grub's
> first stage. It means you could hit a bug on a module you don't need and
> end up
> with a non-bootable system.
> 
> Another downside is that you wouldn't get updates for these built-in
> modules, as
> updating the grub2 package only updates the modules residing in /boot
> and not
> the grub core ELF in the PReP partition.
> 
> A proper solution would be to add to grub the ability of having built-in
> *inactive* modules which would be loaded and initialized only on demand
> (i.e.
> explicitly calling the insmod command).
> 

This is what memdisk does (i.a.). Why do you need anything else?

> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  reply	other threads:[~2012-10-18 18:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-16 10:28 for ppc, include all modules in the core image Paulo Flabiano Smorigo/Brazil/IBM
2012-10-18 18:08 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-10-22 17:30   ` Paulo Flabiano Smorigo/Brazil/IBM
2012-10-22 17:53     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-02-02  6:33       ` Andrey Borzenkov

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=508045A6.6040309@gmail.com \
    --to=phcoder@gmail.com \
    --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.