How to strip the vanilla kernel modules on FC4?
Robinson Tiemuqinke
hahaha_30k at yahoo.com
Wed Mar 8 09:05:38 UTC 2006
Dave and all,
Thanks. I'll disable it and rebuild kernel from
scrach again.
I've just tried another way inspired by redhat FC4
stock kernels -- I run 'strip -g' on all .ko files
under /usr/lib/<custom_kernel>/to strip _ONLY_ the
debugging section out, then the disk space usage
shrinks to ~40MB from >200MB. I tried to run
"modprobe" on the debug-stripped kernel modules and
the latter work without problems.
Which way would you like to suggest? disable
CONFIG_DEBUG_INFO in "make config", or "strip -g|d|S'
on kernel modules created?
Any suggestions are greatly welcomed -- I'm just a
newbie and needs a lot of help.
--Robin
--- Dave Jones <davej at redhat.com> wrote:
> On Tue, Mar 07, 2006 at 05:47:31PM -0800, Robinson
> Tiemuqinke wrote:
>
> > How to let the vanilla to occupying less space
> if we
> > can not use "strip"??? If there are any "make
> strip"
> > or "make module_strip" options in vanilla kernel
> > building?
>
> disable CONFIG_DEBUG_INFO
> (This is almost an FAQ)
>
> Dave
>
> --
> http://www.codemonkey.org.uk
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the fedora-list
mailing list