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

Re: [Xen-devel] dumping Xen stack

On 09/05/16 18:11, Zytaruk, Kelly wrote:
>> -----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.

Ah - plain panic()s don't automatically dump register/stack information.

>> 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.

Oops sorry - I meant dump_execution_state() which takes no parameters.


Xen-devel mailing list



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