Inflated modules result from compiling custom 2.6.0-0.test11.1.99 kernel

Willem Riede wrrhdev at riede.org
Sun Dec 14 00:55:15 UTC 2003


I installed kernel-source-2.6.0-0.test11.1.99 from Arjan's web pages,
copied kernel-2.6.0-test11-i686-smp.config and selected to compile
ide-scsi:

--- configs/kernel-2.6.0-test11-i686-smp.config 2003-11-26 17:00:09.000000000 -0500
+++ .config     2003-12-07 16:11:27.000000000 -0500
@@ -388,7 +388,7 @@
 CONFIG_BLK_DEV_IDECD=m
 CONFIG_BLK_DEV_IDETAPE=m
 CONFIG_BLK_DEV_IDEFLOPPY=y
-# CONFIG_BLK_DEV_IDESCSI is not set
+CONFIG_BLK_DEV_IDESCSI=m
 # CONFIG_IDE_TASK_IOCTL is not set
 # CONFIG_IDE_TASKFILE_IO is not set

To my surprise, the result of compilation is wildly bloated modules:

[root at fallguy root]# du -s /lib/modules/2.6.0-0.test11.1.99smp /lib/modules/2.6.0-0.test11.1.99wr0
51740   /lib/modules/2.6.0-0.test11.1.99smp
312216  /lib/modules/2.6.0-0.test11.1.99wr0

Does anybody understand why that may be, and how I can put them on a diet?

Thanks, Willem Riede.





More information about the fedora-devel-list mailing list