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

Re: [Xen-devel] printk() incomplete



Wow, thanks!  Works very well. 

On Fri, Nov 25, 2016 at 1:12 PM, Juergen Gross <jgross@xxxxxxxx> wrote:
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



--
Yuming Wu
Institute of Parallel and Distributed Systems (IPADS),
Shanghai Jiao Tong University
_______________________________________________
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®.