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

Re: [Xen-users] how to analyse xen call trace?



On Sat, 2015-12-12 at 10:37 +0000, quizyjones wrote:
> I got this while do operations on hypercalls, any idea on how to analysis
> the error? Look at the sentence in bold, the virtual address of do_hvm_op
> isÂ0xffff82d0801c988e in xen symbol files, while this log shows it
> isÂffff82d0801b7f68. What does '+0x1a98/0x1fd0' mean?

It means the given RIP is 0x1a98 bytes into the function do_hvm_op(). The
entire function is 0x1fd0 bytes (i.e. the RIP is about 4/5ths of the way
through the function).

Unless this annotation indicates the very start of end of the function I
usually ignore it and instead use gdb to look at the actual rip using "list
*0xffff82d0801b7f68" or "disas 0xffff82d0801b7f68".

Others I know prefer addr2line.

Ian.

> 
> (XEN) Xen call trace:
> (XEN) Â Â[<ffff82d080128132>] _write_unlock+0x22/0x40
> (XEN) Â Â[<ffff82d0801dee6e>] paging_log_dirty_range+0x13e/0x180
> (XEN) Â Â[<ffff82d08020d9f3>] hap_track_dirty_vram+0x393/0x4f0
> (XEN) Â Â[<ffff82d08015f08d>] context_switch+0x13d/0xe80
> (XEN) Â Â[<ffff82d08012a3bb>] add_entry+0x4b/0xb0
> (XEN) Â Â[<ffff82d0801b7f68>] do_hvm_op+0x1a98/0x1fd0
> (XEN) Â Â[<ffff82d080158635>] reprogram_timer+0x75/0xe0
> (XEN) Â Â[<ffff82d080215908>] toggle_guest_mode+0x48/0xc0
> (XEN) Â Â[<ffff82d080215a40>] do_iret+0xc0/0x1a0
> (XEN) Â Â[<ffff82d08021aef9>] syscall_enter+0xa9/0xae
> (XEN)
> (XEN)
> (XEN) ****************************************
> (XEN) Panic on CPU 0:
> (XEN) FATAL TRAP: vector = 6 (invalid opcode)
> (XEN) ****************************************
> (XEN)
> (XEN) Reboot in five seconds...
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users

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

 


Rackspace

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