Re: Size difference in Kernel Modules

From: Alberto Mattea
Date: Fri Jan 14 2011 - 12:58:49 EST


In data venerdì 14 gennaio 2011 18:47:41, anil joshi ha scritto:
> I have compiled kernel 2.6.35 but there is huge difference in size
> between 2.6.35.6-45.fc14.i686 (fedora core 14 ) and compiled one
> I am using same configuration file as fc14 uses
>
> following details show difference in size
>
>
> [Anil@localhost linux-2.6.35]$ du -h
> /lib/modules/2.6.35.6-45.fc14.i686/kernel/drivers/video/backlight/lcd.ko
> 8.0K
> /lib/modules/2.6.35.6-45.fc14.i686/kernel/drivers/video/backlight/lcd.ko
> [Anil@localhost linux-2.6.35]$ du -h
> /lib/modules/2.6.35/kernel/drivers/video/backlight/lcd.ko
> 160K /lib/modules/2.6.35/kernel/drivers/video/backlight/lcd.ko
> [Anil@localhost linux-2.6.35]$
>
>
> 62M /lib/modules/2.6.35.6-45.fc14.i686/
>
> 587M /lib/modules/2.6.35/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

Usually when this happens to me it is because debugging symbols are included
in the build. Are you sure the configuration file has them disabled? On Ubuntu,
for instance, the configuration file which is described as the same used by
kernel packagers actually has debugging enabled.

Alberto
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/