[fedora-arm] Debugging our kernels under qemu + gdb
Richard W.M. Jones
rjones at redhat.com
Fri May 11 20:15:12 UTC 2012
On Fri, May 11, 2012 at 09:04:40PM +0100, Richard W.M. Jones wrote:
> => 0x005fe934: nop ; (mov r0, r0)
> 0x005fe938: b 0x5fe934
Well I guess there's more than one way to skin this cat. I
disassembled the whole of vmlinux and found the code:
c05fe934 <__error>:
c05fe934: e1a00000 nop ; (mov r0, r0)
c05fe938: eafffffd b c05fe934 <__error>
Of the two call sites, it seems most likely to be a failure in
__lookup_processor_type. Unfortunately the exact error message is not
shown, but at least I can adjust the addresses and breakpoint it now.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
More information about the arm
mailing list