Stripped kernel modules?

Adam J. Richter (adam@yggdrasil.com)
Thu, 14 May 1998 11:39:39 -0700


It used to be that you could strip the kernel module ".o" files
and they would still load, as long as those modules did not export
any symbols. If the module did export symbols and another module
attempted to reference one of those symbols, you would get a kernel
panic (this was clearly a bug). Well, it appears that somebody has
fixed this bug, and the kernel now refused to load any stripped .o
file. I wish that I could still load stripped .o files for the
modules that do not export symbols, because stripping these files
makes a big difference, because only twenty one modules in the 2.1.101
kernel export any variables that are referenced by other kernel
modules. If I recall correctly, this saves something like 200kB
just in the scsi and fs subdirectories. This is important because
the number of modules that fit on a floppy disk determines how
wide of a variety of hardware one boot floppy can support. Anyhow,
this is just a little feedback for anyone who is interested. I will
probably dig into it after take care of some other things.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 205
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu