On 18.05.2018 14:33, Christian Zigotzky wrote: > On 18 May 2018 at 2:16PM, Greg Kurz wrote: >> On Fri, 18 May 2018 13:50:42 +0200 >> Christian Zigotzky <chzigotzky@xxxxxxxxxxx> wrote: >> >>> On 18 May 2018 at 1:13PM, Greg Kurz wrote: >>>> And of course your kernel should be built with virtio support. >>> I think I have enabled virtio support. Please find attached my kernel >>> config. >>> >> Indeed, what about passing root=/dev/vda3 to the kernel ? >> > ./qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -nographic -kernel > /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17 > -drive > file=/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubuntu_MATE_16.04_PowerPC.img,index=0,if=virtio > -net nic,vlan=0,model=e1000 -net user,vlan=0 -append "rw root=/dev/vda3" > -machine dt_compatible=fsl,,P5020DS > > or > > ./qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -nographic -kernel > /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17 > -machine dt_compatible=fsl,,P5020DS -device virtio-scsi -drive > if=none,id=c1,file=/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubuntu_MATE_16.04_PowerPC.img > -device scsi-cd,drive=c1 -append "root=/dev/vda3" > > or > > ./qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -nographic -kernel > /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17 > -machine dt_compatible=fsl,,P5020DS -drive > if=virtio,file=/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubuntu_MATE_16.04_PowerPC.img > -append "root=/dev/vda3" > > Output: > > [ 0.000000] MMU: Supported page sizes > [ 0.000000] 4 KB as direct > [ 0.000000] 4096 KB as direct > [ 0.000000] 16384 KB as direct > [ 0.000000] 65536 KB as direct > [ 0.000000] 262144 KB as direct > [ 0.000000] 1048576 KB as direct > [ 0.000000] MMU: Book3E HW tablewalk not supported > [ 0.000000] Linux version 4.17.0-rc5_A-EON_A1-X5000 > (christian@christian-virtual-machine) (gcc version 5.4.0 20160609 > (Ubuntu 5.4.0-6ubuntu1~16.04.4)) #1 SMP Mon May 14 09:34:52 CEST 2018 > [ 0.000000] Using CoreNet Generic machine description No clue, so just a blind guess: Is "CoreNet Generic" the right machine? What happens if you set "CONFIG_CORENET_GENERIC=n" in your kernel config? Thomas -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html