[clue-tech] Re: [clue-announce] Kernel Customization

Ben Klopfenstein benklop at gmail.com
Thu May 21 16:56:59 MDT 2009


if the config doesn't exist in /boot, you can (depending on whether support
has been added to the current kernel) pull the current kernel's .config from
"cat /proc/config.gz | gunzip"
if you want to be sure you are building ONLY modules you need, you would
need to probably either manually tune the kernel after copying in your
current .config, or loading everything you think you will need and using
some variation of the pipe mentioned a few messages ago. if you are
interested, there's a LKML thread that might point you in the right
direction, and there's a few scattered blogs out there that discuss some
solutions. Nothing I have seen seems very current, but is probably all a
good place to start.

On Thu, May 21, 2009 at 1:28 AM, Keith Hellman
<khellman at mcprogramming.com>wrote:

> On Wed, May 20, 2009 at 11:50:49PM -0600, Red Mop wrote:
> > On Wednesday 20 May 2009 11:38:46 pm Keith Hellman wrote:
> > > On Wed, May 20, 2009 at 05:03:40PM -0600, Shawn - Red Mop wrote:
> > > > for X in $(lsmod | awk '{ print $1 }') ; do grep ^CONFIG_$X -i /boot/
> > config-$
> > > > (uname -r) ; done
> > >
> > > That's a nice pipe, but it depends on all the critical modules being
> loaded
> > > *and* that certain modules haven't been built directly into the kernel.
> > >
> > > Why not just use the /boot/config-* that is being grepped?
> > >
> >
> >
> > Did you mean to send that to the list?
> >
> Yep, my bad.
>
> --
> Keith Hellman                             #include <disclaimer.h>
> khellman at mcprogramming.com                from disclaimer import standard
> khellman at mines.edu
>                                   -*-
>                    public key @ pgp.mit.edu 9FCF40FD
>    Y!M: mcprogramming                           AIM/ICQ: 485403897
>   gtalk (xmpp jabber): mrtuple at jabber.org, jabber at mcprogramming.com
>                                   -*-
>
> Before you criticize someone, run a mile in their shoes. When you do
> criticize them, you'll be a mile away and you'll have their shoes.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkoVAqIACgkQeAsFcZ/PQP0bnwCgpISmY51rWGLaQn0UGiPvh9Cf
> zW0AoMi7iYhb3ozklAXwn6BPbuOW7Acb
> =4Hx1
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20090521/148d1d14/attachment.html


More information about the clue-tech mailing list