Hello everybody, I know this is a mailing list regarding kernel development newbies, and my question therefore might be a bit off-topic (sorry!), but hopefully someone here can point me to the "problem" I have: My system is a Fedora Core 4 installation, and additionally to installing the FC4 kernel updates I always compile the latest -mm kernel on my system. One thing I noticed is that there is a _big_ difference in the size of the kernel modules between FC4- and self compiled kernels, for example here is an output of "ls -l" on the e1000 module file: -rwxr--r-- 1 root root 122792 Jul 15 08:15 2.6.12-1.1398_FC4/kernel/drivers/net/e1000/e1000.ko -rw-r--r-- 1 root root 853861 Oct 17 10:59 2.6.14-rc4-mm1_10/kernel/drivers/net/e1000/e1000.ko As can easily be seen, the file of the self compiled kernel is 7 times the size of the file of the FC4 kernel. Both files are not stripped which can easily be shown by using the file command: 2.6.12-1.1398_FC4/kernel/drivers/net/e1000/e1000.ko: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped 2.6.14-rc4-mm1_10/kernel/drivers/net/e1000/e1000.ko: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped I've already checked some of the debugging Kconfig options, but no big differences here between the configs. I've already noted this problem since I started compiling my own kernels at 2.6.13-rc stage. Both the FC4 and my own kernels are compiled with gcc-4 as shipped (and updated) with FC4. When I still had Redhat 9 on my machine before I also didn't observe such behaviour. The total size of the /lib/modules/xx directory as shown by "du -sm" is 45 MB for an FC4 kernel, 324 (!!!) MB for a kernel self-compiled on FC4 and 22 MB for a kernel self compiled on RH9. Does anybody have an idea what might cause this?? Thanks in advance!!! Have a nice day :-) Sven -- Linux zion.homelinux.com 2.6.14-rc2-mm2_9 #9 Tue Oct 11 20:25:40 CEST 2005 i686 athlon i386 GNU/Linux 13:08:18 up 5 days, 13:27, 1 user, load average: 0.01, 0.02, 0.00
Attachment:
pgpGS3C67dtj0.pgp
Description: PGP signature