Mailinglist Archive: opensuse-kernel (148 mails)

< Previous Next >
Re: [opensuse-kernel] Disk space requirement of KOTD build from source
  • From: Jeff Mahoney <jeffm@xxxxxxxx>
  • Date: Thu, 29 Jan 2009 13:16:07 -0500
  • Message-id: <4981F267.4090105@xxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Gollub wrote:
On Thursday 29 January 2009 05:37:40 Markus Koßmann wrote:
Today I run out if diskpscae when building a KOTD with "default"
configuration from sources. I found that the build now nees 3.5G disk
space. the same build of 2.6.27.7-9 only needs 888M.
The installation also need much more spae than before :
rw-r--r-- 1 root root 2511648 29. Jan 04:35 vmlinuz-2.6.27.13-
HEAD_20090128193548_5c4d0ded-default
-rw-r--r-- 1 root root 2576096 5. Dez 03:52 vmlinuz-2.6.27.7-9-default
and the modules
and in /lib/modules:
84M 2.6.27.7-9-default
893M 2.6.27.13-HEAD_20090128193548_5c4d0ded-default

Is that change intended ?

Very likely you build with CONFIG_DEBUG_INFO and didn't stripped the
.debuginfo sections from all the kernel modules. In the buildservice and in
the shipped product we strip this debuginfo into "debug"-subpackages
(debuginfo, debugsource).

On doubt just run:
# objdump -h /lib/modules/2.6.*/kernel/sound/soundcore.ko | grep debug_info

If you don't plan to use kdb, crash, lcrash, systemtap, gdb, ... or so then
you might want to build with CONFIG_DEBUG_INFO=n

Or you can look into "objcopy" how to strip manually the debuginfo sections.

Yeah, it's likely the modules aren't having their debug_info sections
removed during installation. CONFIG_DEBUG_INFO=y is part of the spec
file and has been for years, so the issue isn't just that it's enabled.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkmB8mYACgkQLPWxlyuTD7LFtACgngJhFJCZmbD50nGOI2ZA+3/p
QjQAn0kiOQjGdQyIwlASeEBllNiLMyNE
=FhHX
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups