From: Prasad Joshi <prasadjoshi124@gmail.com>
To: Prasad Joshi <prasadjoshi124@gmail.com>
Subject: [Qemu-devel] QEMU Uncompressing Linux.... stalls
Date: Wed, 8 Dec 2010 19:04:54 +0000 [thread overview]
Message-ID: <AANLkTinA7WUOJyd-o+fbMR-p+fAriU7TyVjLzy7AP6F_@mail.gmail.com> (raw)
Hello All,
I built an arm-linux kernel and trying to boot it using QEMU. But it
stalls after showing 'Uncompressing Linux...'
$ qemu-system-arm -M realview-pbx-a9 -kernel clfskernel-2.6.36 -initrd
rootfs.gz -append "console=ttyAMA0 root=/dev/sda1 rw
ramdisk_size=32678" -m 256 -nographic
Uncompressing Linux...
To debug I tried adding few prints in QEMU code, it seems to be
working I could see continues calls to cpu_exec() and cpu_arm_exec().
Then I added few prints around gunzip code in the kernel, the function
zlib_inflate() is not returning.
root@prasad-desktop:~# du -sh clfskernel-2.6.36
1.7M clfskernel-2.6.36
root@prasad-desktop:~# du -sh rootfs.gz
744K rootfs.gz
root@prasad-desktop:~# du -sh initrd-rootfs
128M initrd-rootfs
root@prasad-desktop:~# du -sh initrd-rootfs.gz
37M initrd-rootfs.gz
initially I was using initrd-rootfs.gz (37M) as my root file system. I
thought of creating one more rootfs with less size (744K). None of
them is working.
So the problem seems to be with the kernel image (zImage) but it is
already very small (1.7M).
Can someone please help?
Please keep me in CC as I am not subscribed to the mailing list.
Thanks and Regards,
Prasad
reply other threads:[~2010-12-08 19:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=AANLkTinA7WUOJyd-o+fbMR-p+fAriU7TyVjLzy7AP6F_@mail.gmail.com \
--to=prasadjoshi124@gmail.com \
/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).