Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    problem with enormous linux-image.deb files when I compile the debian way

    The topic pretty much sums up my experience compiling a kernel the debian way under Ubuntu 8.10.

    I compiled my kernel using the /boot/config-2.6.27-9-generic file as a starting point (just added a few minor tweaks including my processor type which is Newer Core2/Xeon and upping the timer frequency from 250 to 300 Hz). I also disabled Xen support because it gives errors otherwise. The main reason I recompiled was so that my cpu frequency scaler would work which is doesn't with the stock Ubuntu kernel.

    ANYWAY, here is my problem: my linux-image- is enormous at 236 M. This is in stark contrast to the standard kernel-image.deb which is 22 M. Also, when I compile kernels under Debian/Lenny using the Debian config, they are also around 22 M.

    Is there an option in the menuconfig that adds in source or something that would explain the 11x size difference?

    5.9M 2008-12-25 12:42 linux-headers-
    20M 2008-12-25 12:41 linux-image-
    6.5M 2008-12-28 14:37 linux-headers-
    257M 2008-12-28 14:36 linux-image-

  2. #2
    I went though line-by-line with the Debian kernel config and indeed, the Ubuntu config had a bunch of debugging options enabled under Kernel and elsewhere. Just got the kernel built and it's the right size after disabling these debugging options.

    6.5M 2008-12-28 16:36 linux-headers-
    22M 2008-12-28 16:36 linux-image-
    Now the real question is why doesn't the kernel-image in the repo have the same huge size? After all, it is built from the same config file as the one I copied over from the /boot isn't it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts