Kernel 2.6.7 modules vs FC2 kernel module file size differences

Ow Mun Heng Ow.Mun.Heng at wdc.com
Sat Jun 26 01:44:32 UTC 2004


Hi,

	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?

as an aside, I'm using reiserfs on my / directory. compiling my own
kernel has been a nightmare. I tried to use my old 2.6.3 kernel config
file (from RH9) and I get a kernel panic related to XFS:SB validate
failed etc..  (doesn't happen when I use fedora's config - which
incidently includes _a_ lot of unneeded modules!)

I've checked, the initrd image contains the reiserfs.ko module. Even if
I compile _all_ the fs into the kernel, this still happens! 

Anyone has any idea on why this is happening? module dependencies?? I
know it's not my XFS (/home) partition, since I can use it just fine
now.

/help


-- 





More information about the fedora-list mailing list