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

Reply via email to