linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help: 2.4 -> 2.6 (test11,bk2) kernel module file size (due to debug options?)
@ 2003-12-06  9:17 Jens Benecke
  2003-12-06 11:40 ` Jacek Kawa
  2003-12-07 17:05 ` Christian
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Benecke @ 2003-12-06  9:17 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

Hi,

after installing (actually - creating a debian package for) 2.6.0-test11-bk2
I have this:

2.3M    /boot
366M    /lib/modules/2.6.0-test11-bk2                           !!!
15k     /usr/share/doc/kernel-image-2.6.0-test11-bk2

Almost all .ko files are >200k in size. What kernel setting is/can be
responsible for this?

N.B. I'm compiling the test11 to test it on my hardware, so ATM I'm not too
worried about size if debugging is made easier. But this is _quite_ a
drastic size increase compared to 2.4.22, where most driver files were
10-40k in size.

.config attached. Compiled cleanly, with a couple warnings. 
I'll now test it on my laptop.


Thanks!


-- 
Jens Benecke
-
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/

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

* Re: Help: 2.4 -> 2.6 (test11,bk2) kernel module file size (due to debug options?)
  2003-12-06  9:17 Help: 2.4 -> 2.6 (test11,bk2) kernel module file size (due to debug options?) Jens Benecke
@ 2003-12-06 11:40 ` Jacek Kawa
  2003-12-07 17:05 ` Christian
  1 sibling, 0 replies; 3+ messages in thread
From: Jacek Kawa @ 2003-12-06 11:40 UTC (permalink / raw)
  To: Jens Benecke; +Cc: linux-kernel

Jens Benecke wrote:

> after installing (actually - creating a debian package for) 2.6.0-test11-bk2
> I have this:
> 2.3M    /boot
> 366M    /lib/modules/2.6.0-test11-bk2                           !!!
> 15k     /usr/share/doc/kernel-image-2.6.0-test11-bk2
> 
> Almost all .ko files are >200k in size. What kernel setting is/can be
> responsible for this?

IIRC CONFIG_DEBUG_INFO

[...]
> .config attached. 

Not here...

bye

-- 
Jacek Kawa  **Trust practically no-one... Except trustworthy people.** ['Jingo']

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

* Re: Help: 2.4 -> 2.6 (test11,bk2) kernel module file size (due to debug options?)
  2003-12-06  9:17 Help: 2.4 -> 2.6 (test11,bk2) kernel module file size (due to debug options?) Jens Benecke
  2003-12-06 11:40 ` Jacek Kawa
@ 2003-12-07 17:05 ` Christian
  1 sibling, 0 replies; 3+ messages in thread
From: Christian @ 2003-12-07 17:05 UTC (permalink / raw)
  To: Jens Benecke, linux-kernel

Jens Benecke wrote:
> Hi,
> 
> after installing (actually - creating a debian package for) 2.6.0-test11-bk2
> I have this:
> 
> 2.3M    /boot
> 366M    /lib/modules/2.6.0-test11-bk2                           !!!
> 15k     /usr/share/doc/kernel-image-2.6.0-test11-bk2

you don't use "du -cahL" when counting /lib/modules/2.6.0-test11-bk2, 
don you? /lib/modules/2.6.0-test11-bk2/build is a symbolic link to your 
kernel sources, "-L" in "du" counts them too. (man du)

evil@sheep:~$ du -cahL /lib/modules/2.6.0-test11/ | tail -n1
422M    total
evil@sheep:~$ du -cah /lib/modules/2.6.0-test11/ | tail -n1
2.2M    total


Christian.
-- 
BOFH excuse #265:

The mouse escaped.

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

end of thread, other threads:[~2003-12-07 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-06  9:17 Help: 2.4 -> 2.6 (test11,bk2) kernel module file size (due to debug options?) Jens Benecke
2003-12-06 11:40 ` Jacek Kawa
2003-12-07 17:05 ` Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).