Mailinglist Archive: opensuse-factory (528 mails)

< Previous Next >
Re: [opensuse-factory] recompiled stock kernel modules take many X more disk space than modules from installed rpm
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Tue, 1 May 2007 06:38:36 -0700
  • Message-id: <200705010638.36485.rschulz@xxxxxxxxx>
On Tuesday 01 May 2007 01:37, Andreas Jaeger wrote:
> Felix Miata <mrmazda@xxxxxx> writes:
> > What I did:
> > ...
> >
> > On my 10.2 smbfs.ko is only size 75753. Why do my modules consume
> > 9.2 times as much overall disk space as the stock modules? What did
> > I do wrong?
>
> Stripping?  We apply strip unneeded during RPM build,

I'd thought of that, but as an experiment, I looked at the kernel
modules on my 10.0 system (105 of them are present
in /lib/modules/2.6.13-15.11-smp) and all of them are like this one:

% file extra/acx_pci.ko
extra/acx_pci.ko: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

According to nm, that particular module (the first in an alphabetical
list) has 384 symbols:

% nm extra/acx_pci.ko |wc -l
384


> Andreas


Randall Schulz
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
References