-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Markus Koßmann wrote:
Am Donnerstag, 29. Januar 2009 schrieb Jeff Mahoney:
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 Did I understand right ? The normal build process of the the "-default" rpm is: build with CONFIG_DEBUG_INFO=y strip debug_info sectiona ( within rpm build script)
And if I don't want to make a rpm from the kernel-source.rpm but to install that kernel manually with "make modules_install; make install" after compiling it I have to strip these sections manually haven't I?
Ah ok, yeah. That's what's changed. The config files in kernel-source now reflect that. The stripping of the debug_info sections is something that happens automatically as part of the rpm build process though. I'm not actually sure how to do it manually. You're probably better off just disabling it in .config. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkmCF2EACgkQLPWxlyuTD7IEwgCfao0UJ1DaCuCkjTYHQcJ76nnC 59wAnjtulva+tkjkWQIVveF7xLOTS1gU =qYuH -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org