[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Size problem compiling kernel modules



Hi,

I am recompiling the 2.6.5-1.358 kernel from
the patched source, using gcc 3.3 on Fedora Core2

I have made no more than two modifications to the
.config (to enable NFS_ROOT and DEVFS).

The resulting module object files are enormous.

For example, the orginal £com driver as installed:

drwxr--r--  1 root root 40100 May  8 14:46 kernel/drivers/net/3c59x.ko

And the same file as compiled:

-rw-r--r--    1 root     root       271889 Jun  4 14:16 drivers/net/3c59x.ko

All the .ko are like this, increasing the size of /lib/modules/2.6.5-1.358
from c. 58MB to 337MB

The files are not stripped, in either case.

Am I doing something wrong here? Anyone got any ideas?

Cheers,

Dave

-- 
Dave Abbott, UNIX SysAdmin       | mailto:d abbott dcs shef ac uk
Department of Computer Science   | http://www.dcs.shef.ac.uk/~davea
The University of Sheffield      | Room: G14
Regent Court, 211 Portobello St. | Tel : +44 114 222 1854
Sheffield, S1 4DP, U.K.          | Fax : +44 114 222 1810



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]