WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Logging xen dmesg

To: John Backes <john.backes@xxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Logging xen dmesg
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Fri, 19 Aug 2011 15:25:16 +0100
Cc:
Delivery-date: Fri, 19 Aug 2011 07:26:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=eQ4ScwOKx6xOT4HtBP82i+1eknWeGvkIHUfXbGVg8vY=; b=dQtuz6waMYHmRRY6P9A0BVdDDYUU2HBGFkpIVGecZBUyFEpZvCNO4JbdjZ3ADKKQ9m D8S8tqTMdTZebzD1lNf61YtTEMTLVNEQz6bEvXvcpnFtdkz/VXRqboh2svHYjbNbEpEC w78J0jWMQVF/6dOo/k9G2H0kBqBWdHUynbt00=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E4E6C00.10405@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acxee9CQtphcH8IFzUKpznC+BdEUzw==
Thread-topic: [Xen-devel] Logging xen dmesg
User-agent: Microsoft-Entourage/12.30.0.110427
On 19/08/2011 14:58, "John Backes" <john.backes@xxxxxxxxxxxxxxxxx> wrote:

> Hello,
> 
> I'm having a problem where the hypervisor is crashing when I call the
> verify_local_APIC() function and would like to see what the kernel
> prints out before it crashes.  I know I can use xm dmesg to see
> current/past kernel messages, but is there a way to view a log of the
> kernel messages so I can see what was printed before the hypervisor
> crashed?  Thanks in advance!

Options:
 1. Specify noreboot on Xen command line, and read last few lines of log off
the VGA text local console (if you have that set up rather than, say, an X
server).
 2. Set up a kdump crash kernel. I believe the kdump tools support reading
out things like the hypervisor console logs. I've never used kexec/kdump
myself however.
 3. Set up hypervisor logging over a serial line. Then all log data will be
dumped over the serial line before the hypervisor reboots itself.

 -- Keir

> - John
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel