kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: wintermute@paranoici.org (wintermute)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Issue in uncompressing zImage
Date: Fri, 13 Apr 2012 08:07:53 +0200	[thread overview]
Message-ID: <20120413060753.GA2525@computer> (raw)
In-Reply-To: <CANev7oU7fKhRX8eRO-F3=AgEtNS8Y6cqofksKooSg8ykV5Ku1w@mail.gmail.com>

On Thu, Apr 12, 2012 at 03:37:37PM +0530, KARTHIK SEKURU wrote:
> But when I load zImage at the same address i.e 0x80008000, I am getting
> *Uncompressing Linux...*
> *uncompression error*
> * -- System halted*
> I made sure that I am enabling the config options CONFIG_XZ_DEC (xz
> decompression support) through menuconfig.
> 
> I suspected on the cramfs memory location and then tried loading only
> zImage at 0x80008000.,even after this the result is same.
> Please let me know where could be the issue.

I think that the kernel is uncompressing itself at an address too near
to the image address, thus overwriting the compressed image.
Anyways you can see that the error you encounter is caused by this
routine:
http://lxr.linux.no/#linux+v3.3.1/lib/decompress_inflate.c#L159

Hope it helps

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120413/9b82625b/attachment.bin 

      reply	other threads:[~2012-04-13  6:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 10:07 Issue in uncompressing zImage KARTHIK SEKURU
2012-04-13  6:07 ` wintermute [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120413060753.GA2525@computer \
    --to=wintermute@paranoici.org \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).