Re: Kernel Compile Problem
High,
On Fri, 7 Sep 2001, Tao Liu wrote:
> When compile 2.4.9 kernel with gcc 3.0.2 :
>
> #make-kpkg clean
> #make-kpkg --append-to-version -tao3 kernel_image
>
> #make-kpkg clean
> #make-kpkg --append-to-version -tao4 kernel_image
>
> #make-kpkg clean
> #make-kpkg --append-to-version -tao5 kernel_image
>
>
> (install the three kernels)
>
>
> #cd /boot
> #ls -l
> ...
> -rw-r--r-- 1 root root 706298 Sep 7 12:50 vmlinuz-2.4.9-tao3
> -rw-r--r-- 1 root root 706300 Sep 7 13:36 vmlinuz-2.4.9-tao4
> -rw-r--r-- 1 root root 706299 Sep 7 13:52 vmlinuz-2.4.9-tao5
> ....
>
> the configuration of the three kernels are same, why the size of them are
> diffient?
>
I do not think this is a big problem. The kernels are different too,
though the only difference is a 3,4 and 5. The kernels are packed, so
perhaps the number 3 is used a lot more in the kernel than the number 4,
and therefore packed better.
Another wild guess is that gzipping zips a bit different every time. I am
not sure of this, but I have heard that some packagers (powerpacker, DMS)
pack different every time.
You should try something like this:
#make-kpkg clean
#make-kpkg --append-to-version -tao4 kernel_image
install kernel
note the size
delete the kernel
#make-kpkg clean
#make-kpkg --append-to-version -tao4 kernel_image
install kernel
note the size
delete the kernel
and see if the sizes change.
Greetz,
Sebastiaan
Reply to: