qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Pranith Kumar <bobby.prani@gmail.com>
To: Marwa Hamza <marwahamza63@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] run qemu on x64 system ( ARCH=i386 or ARCH=x86-64) and on x86 system
Date: Sun, 3 Apr 2016 16:02:26 -0400	[thread overview]
Message-ID: <CAJhHMCBNikPGOsrSMYaVrusMY3tmveBoK5h1vBMuicepwkQ-oA@mail.gmail.com> (raw)
In-Reply-To: <CAGF64GVLmmwSjFa6=zXQTcn+OqN-6FBz5paZ3c2XVvnjY2E0wA@mail.gmail.com>

On Sun, Apr 3, 2016 at 3:49 PM, Marwa Hamza <marwahamza63@gmail.com> wrote:
> the output of this command  > ./i386-softmmu/qemu-system-i386 -M pc -kernel
>>
>> /home/marwa/Bureau/lauterbach/i386_qemu/linux-4.1.18/arch/i386/boot/bzImage
>> -initrd
>> /home/marwa/Bureau/lauterbach/i386_qemu/busybox-1.21.0/rootfs.img.gz
>> -append “root=/dev/ram rdinit=/sbin/init”
>>
> starting init :/sbin/init exists but couldn't execute it (error -8)
> starting init : /bin/sh exists but couldn't execute it (error -8)
> kernel panic not syncing : no working init found , try passing init= option
> to kernel
>

I don't think this is a qemu problem. From the error message it looks
like init in your busybox root image is not configured properly. I
would focus on finding why the init file is not able to
run(permissions, maybe?).


-- 
Pranith

  reply	other threads:[~2016-04-03 20:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-03 13:50 [Qemu-devel] run qemu on x64 system ( ARCH=i386 or ARCH=x86-64) and on x86 system Marwa Hamza
2016-04-03 18:20 ` Pranith Kumar
2016-04-03 18:30   ` Marwa Hamza
2016-04-03 18:38 ` Pranith Kumar
2016-04-03 19:49   ` Marwa Hamza
2016-04-03 20:02     ` Pranith Kumar [this message]
2016-04-03 20:13     ` Marwa Hamza
2016-04-03 20:14       ` Marwa Hamza

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=CAJhHMCBNikPGOsrSMYaVrusMY3tmveBoK5h1vBMuicepwkQ-oA@mail.gmail.com \
    --to=bobby.prani@gmail.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).