Huge initrd

Rick Stevens ricks at nerd.com
Wed Mar 17 20:50:21 UTC 2010


On 3/17/10 11:13 AM, Aioanei Rares wrote:
> I compile my own vanilla kernels for testing and I noticed that the
> initrd of those kernels is huge as you will see in a moment[1]. The
> .config is a copy of Fedora's with only two modifications (append
> version and CPU family). The method of compiling is a classic make
> oldconfig; make all; make modules_install; make install. Why is my
> initrd so big? Thanks.
>
> [1]
> ls -alh /boot | grep initr
> -rw-r--r--  1 root root  11M 2010-03-17 14:18
> initramfs-2.6.31.5-127.fc12.x86_64.img
> -rw-r--r--  1 root root  12M 2010-03-17 15:34
> initramfs-2.6.32.9-70.fc12.x86_64.img
> -rw-r--r--  1 root root  94M 2010-03-17 19:36
> initramfs-2.6.34-rc1-00997-ga3d3203.img
>
>
The default configs turn on debug info in the kernel and modules:

	CONFIG_DEBUG_BUGVERBOSE=y
	CONFIG_DEBUG_INFO=y

so you're getting a TON of labels and such in the modules.




More information about the users mailing list