[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen on ARM basic questions



On Mon, 2013-12-02 at 09:13 -0500, Vaibhav Bedia wrote:
> On Mon, Dec 2, 2013 at 8:32 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > On Mon, 2013-12-02 at 08:26 -0500, Vaibhav Bedia wrote:
> >> I really should keep the system map around a bit longer.
> >
> > FWIW I strongly recommend:
> >         CONFIG_DEBUG_INFO=y
> >         CONFIG_DEBUG_INFO_REDUCED=y
> > and either addr2line or gdb "list *0xABCDEF". System.map will just tell
> > you which function, after inlining and all that jazz has hidden a bunch
> > of stuff from you, and not a source line number.
> >
> Ok i'll keep this in mind :)
> 
> addr2line points me to irq_restore so that's definitely interesting.
> 
> vaibhav@vaibhav-VirtualBox:~/src/linux$ arm-linux-gnueabi-addr2line -f
> -e vmlinux c0097518
> arch_local_irq_restore
> /home/vaibhav/src/linux/arch/arm/include/asm/irqflags.h:152

Assuming your file has the same content as mine that would point to 
arch_local_irq_restore, which is, erm, interesting...

I'm not sure what to make of that, if reenabling interrupts were a
problem I'd expect the PC to be pointing to some interrupt handler not
at the instructing which enabled them.

Does your version of the file line up with mine? IOW what do you have at
line 152?

Ian.

> 
> My kernel is based off v3.12 and the topmost commit in xen sources is:
> 
> commit 720f45ad01b6a3af2d77fb8fe122d934bbadba47
> Author: Julien Grall <julien.grall@xxxxxxxxxx>
> Date:   Mon Oct 14 23:19:37 2013 +0100
> 
>     xen/evtchn: Fix build on ARM
> 
>     The recent event channel changes introduced by commit a77eb86 and 
> before...
>     break the compilation on Xen ARM. This commit adds missing includes in
>     common/event_fifo.c and include/xen/sched.h.
> 
>     Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
>     Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> 
> I got the xen tools updated. Will update the xen image also and check
> if it makes
> a difference.
> 
> Regards,
> Vaibhav



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.