From: KONRAD Frederic <fred.konrad@greensocs.com>
To: Marwa Hamza <marwahamza63@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] run qemu with x86_64 arch (host arch)
Date: Wed, 20 Apr 2016 15:46:31 +0200 [thread overview]
Message-ID: <57178837.9000402@greensocs.com> (raw)
In-Reply-To: <CAGF64GWK+39Cr+RPhymtAgxmgmp4CkMRve6viyG6J725gjZ4pQ@mail.gmail.com>
Le 19/04/2016 23:10, Marwa Hamza a écrit :
> hello
> i'm trying to run qemu with x86_64 arch
> i prepared file system with busybox
> i got that elf file
> _install/bin/busybox: format de fichier elf64-x86-64
> architecture: i386:x86-64, fanions 0x00000102:
> EXEC_P, D_PAGED
> adresse de départ 0x0000000000522024
> and i compiled linux kernel
> make ARCH=x86_64 x86_64_defconfig
> make ARCH=x86_64
> and i configured qemu
> ./configure --target-list=x86_64-softmmu --disable-vnc --enable-sdl
> --disable-kvm --enable-debug
> make
> then when i run qemu i got a kernel panic _ not syncing vfs :unable to
> mount rootfs on unknown block(1,0)
> ./x86_64-softmmu/qemu-system-x86_64 -M pc -kernel
> /linux-4.1.18/arch/x86_64/boot/bzImage -initrd
> /busybox-1.21.0/rootfs.img.gz -append "root=/dev/ram rdinit=/bin/sh"
> thanks
Hi,
The complete end of the log would help, but I might have two clues for you:
Do you have enabled ramdisk support in your kernel configuration?
What is the format of rootfs.img.gz? Is that supported by your kernel?
Fred
prev parent reply other threads:[~2016-04-20 13:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-19 21:10 [Qemu-devel] run qemu with x86_64 arch (host arch) Marwa Hamza
2016-04-20 13:46 ` KONRAD Frederic [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=57178837.9000402@greensocs.com \
--to=fred.konrad@greensocs.com \
--cc=marwahamza63@gmail.com \
--cc=qemu-devel@nongnu.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).