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

Re: [Xen-devel] dumping Xen stack


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • From: "Zytaruk, Kelly" <Kelly.Zytaruk@xxxxxxx>
  • Date: Mon, 9 May 2016 17:11:30 +0000
  • Accept-language: en-US
  • Delivery-date: Mon, 09 May 2016 17:11:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23
  • Thread-index: AdGqESD43EUVnOzjR7G3Ee6HR0+v8gAAEHgAAAD2M6A=
  • Thread-topic: [Xen-devel] dumping Xen stack


> -----Original Message-----
> From: Andrew Cooper [mailto:andrew.cooper3@xxxxxxxxxx]
> Sent: Monday, May 09, 2016 12:40 PM
> To: Zytaruk, Kelly; xen-devel@xxxxxxxxxxxxx
> Subject: Re: [Xen-devel] dumping Xen stack
> 
> On 09/05/16 17:37, Zytaruk, Kelly wrote:
> > Does Xen have an equivalent function to the Linux dump_stack() function?
> >
> > I am hitting a panic followed by a reboot and would like to find out where 
> > I am
> coming from.
> 
> At the point of a crash, the stack should be printed on the console.

The only thing I am seeing on the console is the panic message followed by the 
system will reboot in 5 sec.
> 
> Alternatively, show_execution_state() at any point should dump the Xen
> register/stack.

I looked up show_execution_state() and show_trace() and they both require a 
pointer to registers.
I am hitting a panic during boot in queue_invalidate_wait() in 
.../drivers/passthrough/vtd/qinval.c .  I am not sure how to get the register 
pointer from here.

> 
> ~Andrew
_______________________________________________
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®.