Wow, thanks!  Works very well.

On Fri, Nov 25, 2016 at 1:12 PM, Juergen Gross <jgr...@suse.com> 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@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to