From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amoOd-00051b-Mx for qemu-devel@nongnu.org; Sun, 03 Apr 2016 16:13:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amoOc-0006CZ-N0 for qemu-devel@nongnu.org; Sun, 03 Apr 2016 16:13:19 -0400 Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]:33513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amoOc-0006CV-G1 for qemu-devel@nongnu.org; Sun, 03 Apr 2016 16:13:18 -0400 Received: by mail-vk0-x22b.google.com with SMTP id k1so157614680vkb.0 for ; Sun, 03 Apr 2016 13:13:18 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 3 Apr 2016 21:13:18 +0100 Message-ID: From: Marwa Hamza Content-Type: multipart/alternative; boundary=001a1144fcc22d44bd052f9a3e53 Subject: Re: [Qemu-devel] run qemu on x64 system ( ARCH=i386 or ARCH=x86-64) and on x86 system List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pranith Kumar Cc: qemu-devel --001a1144fcc22d44bd052f9a3e53 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable it shows: -rwxr-xr-x 1 root root 265848 =D9=8A=D9=88=D9=84 18 2014 /sbin/init 2016-04-03 20:49 GMT+01:00 Marwa Hamza : > 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/bzIma= ge > > -initrd > /home/marwa/Bureau/lauterbach/i386_qemu/busybox-1.21.0/rootfs.img.gz > > -append =E2=80=9Croot=3D/dev/ram rdinit=3D/sbin/init=E2=80=9D > > > 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=3D > option to kernel > > 2016-04-03 19:38 GMT+01:00 Pranith Kumar : > >> On Sun, Apr 3, 2016 at 9:50 AM, Marwa Hamza >> wrote: >> >> > ./i386-softmmu/qemu-system-i386 -M pc -kernel >> > >> /home/marwa/Bureau/lauterbach/i386_qemu/linux-4.1.18/arch/i386/boot/bzIm= age >> > -initrd >> /home/marwa/Bureau/lauterbach/i386_qemu/busybox-1.21.0/rootfs.img.gz >> > -append =E2=80=9Croot=3D/dev/ram rdinit=3D/sbin/init=E2=80=9D >> > >> >> Can you post the output when you run this command? In particular, does >> the /sbin/init exist in the rootfs? >> >> -- >> Pranith >> > > --001a1144fcc22d44bd052f9a3e53 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
it shows:
-rwxr-xr-x 1 root root 265848 =D9=8A=D9=88=D9= =84 18=C2=A0 2014 /sbin/init


2016-04-03 20:49 GMT+01:00 Marwa Hamza <ma= rwahamza63@gmail.com>:
the output of this command=C2=A0 > ./i= 386-softmmu/qemu-system-i386 -M pc -kernel
> /home/marwa/Bureau/lauterbach/i386_qemu/linux-4.1.18/arch/i386/boot/bz= Image
> -initrd /home/marwa/Bureau/lauterbach/i386_qemu/busybox-1.21.0/rootfs.= img.gz
> -append =E2=80=9Croot=3D/dev/ram rdinit=3D/sbin/init=E2=80=9D
>
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 pas= sing init=3D option to kernel

2016-= 04-03 19:38 GMT+01:00 Pranith Kumar <bobby.prani@gmail.com>:
On Sun, Apr 3, 2016 at 9:50 AM= , Marwa Hamza <marwahamza63@gmail.com> wrote:

> ./i386-softmmu/qemu-system-i386 -M pc -kernel
> /home/marwa/Bureau/lauterbach/i386_qemu/linux-4.1.18/arch/i386/boot/bz= Image
> -initrd /home/marwa/Bureau/lauterbach/i386_qemu/busybox-1.21.0/rootfs.= img.gz
> -append =E2=80=9Croot=3D/dev/ram rdinit=3D/sbin/init=E2=80=9D
>

Can you post the output when you run this command? In particular, do= es
the /sbin/init exist in the rootfs?

--
Pranith


--001a1144fcc22d44bd052f9a3e53--