All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] run qemu with x86_64 arch (host arch)
@ 2016-04-19 21:10 Marwa Hamza
  2016-04-20 13:46 ` KONRAD Frederic
  0 siblings, 1 reply; 2+ messages in thread
From: Marwa Hamza @ 2016-04-19 21:10 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 932 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] run qemu with x86_64 arch (host arch)
  2016-04-19 21:10 [Qemu-devel] run qemu with x86_64 arch (host arch) Marwa Hamza
@ 2016-04-20 13:46 ` KONRAD Frederic
  0 siblings, 0 replies; 2+ messages in thread
From: KONRAD Frederic @ 2016-04-20 13:46 UTC (permalink / raw)
  To: Marwa Hamza; +Cc: qemu-devel



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-20 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.