public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Size difference in Kernel Modules
@ 2011-01-14 17:47 anil joshi
  2011-01-14 17:58 ` Alberto Mattea
  0 siblings, 1 reply; 2+ messages in thread
From: anil joshi @ 2011-01-14 17:47 UTC (permalink / raw)
  To: LKML, anil joshi

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Size difference in Kernel Modules
  2011-01-14 17:47 Size difference in Kernel Modules anil joshi
@ 2011-01-14 17:58 ` Alberto Mattea
  0 siblings, 0 replies; 2+ messages in thread
From: Alberto Mattea @ 2011-01-14 17:58 UTC (permalink / raw)
  To: LKML

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@vger.kernel.org
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-14 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-14 17:47 Size difference in Kernel Modules anil joshi
2011-01-14 17:58 ` Alberto Mattea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox