Mailinglist Archive: opensuse-factory (175 mails)

< Previous Next >
Re: [opensuse-factory] modules gobble disk space with built kernel
  • From: Felix Miata <mrmazda@xxxxxx>
  • Date: Sun, 13 Jul 2008 22:41:18 -0400
  • Message-id: <487ABCCE.3070707@xxxxxx>
On 2007/04/06 09:10 (GMT-0400) Felix Miata apparently typed:

/lib/modules/(stock2.6.21kernel)# du -s
60804 .
/lib/modules/(my2.6.21kernel)# du -s
538292 .

That's a 785% increase in space consumed by my modules over stock modules.
Does that happen for anyone building their own Factory kernel? Can a more
normal space consumption be made to happen by a mere mortal kernel building
novice like myself?

What I did was:
1-apply the patch from http://bugzilla.kernel.org/show_bug.cgi?id=7513
2-zcat /proc/config.gz > .config
3-make menuconfig to add smbfs and change the CONFIG_LOCALVERSION
4-make
5-make modules_install
6-INSTALL_PATH=/boot make install
7-fix the resulting broken /boot/grub/menu.lst

That's right, I asked over a year ago, and no one ever answered. Now I'm
again working on the same bug, but the current 11.0 kernel (2.6.25-1.1),
initrd & modules consume about 650MB. Someone please tell me how to do
whatever it takes to reduce the space down to normal size.

I've looked on
http://en.opensuse.org/Configure%2C_Build_and_Install_a_Custom_Linux_Kernel
and seen that supposedly an RPM can be made from what was built. I need to do
that too, because it turns out I need to try it on a different system from
the one I built it on. However, something seems to be missing on that page. I
don't see where I'm supposed to set BKINSTALLRPM=yes to make it happen, nor
do I see anything there about bloated modules.
--
"Do not let the sun go down while you are still angry."
Ephesians 4:26 NIV

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://fm.no-ip.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups