Kernel 2.6.7 modules vs FC2 kernel module file size differences
Sanjeev Das
sanjeevdas at yahoo.com
Sat Jun 26 18:31:05 UTC 2004
Is there a way to custom compile without the debug code?
On Sat, 26 Jun 2004 15:32:03 +0200, Alexander Dalloz wrote:
> 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
More information about the fedora-list
mailing list