Kernel 2.6.7 modules vs FC2 kernel module file size differences

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sat Jun 26 13:32:03 UTC 2004


Am Sa, den 26.06.2004 schrieb Ow Mun Heng um 3:44:

> 	I have a question here on the sizes of the modules.
> 
> eg: for the default FC2's kernel (2.6.6-1.435) vs the new vanilla
> kernel.org's 2.6.7 kernel
> 
> ls -lgGh /lib/modules/2.6.6-1.435/kernel/fs/nls
> -rwxr--r--  1 2.9K Jun 14 07:04 nls_koi8-ru.ko
> -rwxr--r--  1 6.2K Jun 14 07:04 nls_koi8-u.ko
> -rwxr--r--  1 2.8K Jun 14 07:04 nls_utf8.ko
> 
> ls -lgGh /lib/modules/2.6.7-2.jun25/kernel/fs/nls
> -rw-r--r--  1 101K Jun 25 16:54 nls_koi8-ru.ko
> -rw-r--r--  1 105K Jun 25 16:54 nls_koi8-u.ko
> -rw-r--r--  1 101K Jun 25 16:54 nls_utf8.ko
> 
> This causes my modules directory to be a whopping 300MB in size. using
> redhat's supplied config file still gives me that. What's happening?

Dave Jones explained that here recently: your custom compiled modules contain debug code
while the modules of the default Fedora kernel are stripped.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435 
Serendipity 15:30:26 up 3 days, 14:08, load average: 1.15, 1.08, 1.01 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040626/b702932a/attachment-0001.sig>


More information about the fedora-list mailing list