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

Re: [Xen-devel] printk() incomplete



On 25/11/16 04:11, Yuming Wu wrote:
> Hi,
> 
> I'm debugging some xen code during hypervisor initialization. Before it
> reset stack and jump to cpu loop, I triggered a bug (may be change a
> readonly page). Usually, system will panic and give me stack info and
> backtrace. But before printk finish printing initialization message it
> just crash leaving an incomplete log. 
> 
> How can I make it flush log buffer more frequently or how can I get a
> full log/backtrace before system crash? 
> 
> I'm using serial ttyS2 to debug xen. dom0 earlyprink is xen.

Add "sync_console" to your hypervisor boot parameters.


Juergen

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

 


Rackspace

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