[opensuse-factory] modules gobble disk space with built kernel
/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 -- "Therefore, if anyone is in Christ, he is a new creation; the old has gone, the new has come!" 2 Corinthians 5:17 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2007-04-06 at 09:10 -0400, Felix Miata wrote:
/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.
That has happened to me sometimes (with the normal distro), but I don't know why. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGGi+9tTMYHG2NR9URAqIzAJ49JnS7VEhuj+gtPuhq5WhFXsPtzACcD/8y B+hFRJ7w1TiSzogNXhYd+Rc= =N2O6 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-07-13 at 22:41 -0400, Felix Miata wrote:
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 haven't built the factory kernel, but on the stock distro it also takes a lot of space. My guess is that the build includes debug info of some sort, but I don't know which configuration item to change.
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.
I don't know the answer, and I'm also interested. See? You got an answer this time, even if it doesn't solve anything ;-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIey2HtTMYHG2NR9URAktlAJ94ZLEYbryhY35FkOZds7Z/21aGvACaA0Ct HgYvriGxyPl7O9weizA4UkQ= =4rJY -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (3)
-
Carlos E. R.
-
Carlos E. R.
-
Felix Miata