On 6 January 2014 20:26, Peter Maydell <peter.maydell@linaro.org> wrote:
On 6 January 2014 19:46, Ryan Harkin <ryan.harkin@linaro.org> wrote:
> Hello,
>
> I'm trying to fire up an ARM fastmodel using a virtio block device rather
> than the emulated MMC block device.
>
> UEFI is reading the kernel & DTB off the virtio device, so I know the device
> is present.

> So far, I don't see any vda devices being enumerated (or any other virtio
> messages) and it rootwaits for /dev/vda2.

Stupid question: does the DTB you're passing to the kernel
definitely have the virtio-mmio devices in it? (hopefully in the
right locations).

OMG, I think my brain has been in deep sleep.  No, the DTB doesn't have virtio-mmio.

I'll try it again tomorrow, but I'm pretty sure that's it.  Thanks!


I generally when trying to debug QEMU virtio-mmio found the
kernel a bit less than chatty about what was happening; if you
need to debug this further it might be worth throwing printk
statements into the appropriate bits of the kernel, to see if
it's not looking for a virtio-mmio transport, or if it is but it
doesn't find it (bad magic number) or if it is and finds it but
doesn't start the backend for some reason.

thanks
-- PMM