Linux Archive

Linux Archive (
-   Debian Kernel (
-   -   detecting architecture from vmlinuz (

Ben Hutchings 07-14-2010 09:35 PM

detecting architecture from vmlinuz
On Wed, 2010-07-14 at 21:16 +0200, Joachim Wiedorn wrote:
> Hello,
> [ I am not subscribed to debian-kernel ]
> I have found a problem in the bootloader lilo because lilo compute the
> uncompressed size of vmlinuz (-> vmlinux) with an algorithm which is false
> for especially the amd64 architecture.
> My question: is there a way to detect the right architecture only from
> the compressed file vmlinuz to compute the size of the uncompressed
> file vmlinux depending on the architecture?
> Or does anyone know another (quick) way for reading the real size
> of vmlinux without uncompressing vmlinuz?
> (Reason: It make no sense for each detection to uncompress the vmlinuz
> file, which is need to know how much memory is need for the kernel).

You should really ask the upstream developers about this.


Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

All times are GMT. The time now is 07:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.