[fedora-arm] Debugging our kernels under qemu + gdb

Richard W.M. Jones rjones at redhat.com
Sun May 13 20:58:21 UTC 2012


On Mon, May 14, 2012 at 08:34:13AM +1200, Michael Hope wrote:
> On 12 May 2012 22:12, Richard W.M. Jones <rjones at redhat.com> wrote:
> > On Fri, May 11, 2012 at 01:41:43PM -0700, Brendan Conoboy wrote:
> >> On 05/11/2012 01:04 PM, Richard W.M. Jones wrote:
> >> >Has anyone tried to debug our Fedora/arm kernels under qemu-system-arm?
> >> >(In this case, the host is also arm, but I don't think that matters.)
> >>
> >> Richard,
> >>
> >> FYI, we as of a few hours ago have nearly-official F17-beta images
> >> for versatile express on the following page:
> >>
> >> http://scotland.proximity.on.ca/arm-nightlies/
> >>
> >> There's a link for vexpress and vexpress+x rootfs images.  A second
> >> link provides a kernel, initramfs, and script for starting qemu.
> >> Note that vexpress is much faster than versatile and allows more ram
> >> (1GB). Recommend you try this out!
> >
> > So one issue appears to be lack of PCI support (according to Linaro's
> > notes: https://wiki.linaro.org/PeterMaydell/QemuVersatileExpress).
> >
> > Unfortunately all of the virtio hardware is PCI-based, so it doesn't
> > seem like this is going to work for the virt tools :-(
> 
> Hi Richard.  The plan is to use virtio-mmio and use Device Tree to set
> where the virtio devices are.  virtio-mmio is in the mainline kernel
> and in the queue for QEMU.

Thanks -- I was not aware of virtio-mmio until now, but it looks like
it'll solve the problem.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/


More information about the arm mailing list