Comment 11 for bug 43706

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 43706] Re: Excessive memory usage on live CD

On Thu, Oct 04, 2007 at 10:52:28PM -0000, Mantas Kriaučiūnas wrote:
> Matt Zimmerman wrote:
> > what could we do to work around it?
> >- Delete the copied-up versions of the .ko files after hardware detection is complete?
>
> I think there is the very simple solution for Gutsy - nvidia*.ko (nvidia_legacy.ko, nvidia_new.ko, nvidia.ko) and fcdsl*.ko take biggest part of space (more, than 25 MB, ATI/fglrx takes only about 1,5 MB), so, it's very simple to detect if computer has nvidia/ATI hardware and do not build 3 nvidia modules if there are no nvidia hardware on the system.

We disable restricted-manager in the live session anyway, so it should be
fine to simply disable lrm-manager entirely.

> Btw, why this bug isn't assigned to linux-restricted-modules-common ?

Because there are two slightly different issues here:

1. casper wants to reduce the memory needed for the live session, and can do
so by disabling the video modules unconditionally (since they're difficult
to enable in that environment anyway)

2. It would be nice if linux-restricted-modules-common would dynamically
generate only the appropriate modules

--
 - mdz