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] Printing debug message from hypervisor

To: Sandesh <sandesh.ahiremath@xxxxxxxxx>
Subject: Re: [Xen-devel] Printing debug message from hypervisor
From: Grzegorz Miłoś <gm281@xxxxxxxxx>
Date: Tue, 10 Jun 2008 12:26:54 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 10 Jun 2008 04:27:24 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer:sender; bh=rWHLFcoOxIS7YFK3i6WQJjc9NWIgq6dydZkjr/tkPew=; b=h6GYZsqizEP7q/do45kYm6L/bbyrH71D993XSQ/ClgHT9MrO48OMyS8XpPe6z+FAmx rTKgOAMn221QI4JKMyHeAwPZ6VCA9Lt0J6QewtiBJpXsAi9FGnW8r3Uy4bjdM85Q9SgY rCXI5yOSTxBcZNkzKaVgM3Kg+0mGDtODchhkM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer:sender; b=h7cJh8ln6YzwiYLUPTiBr3OMsXUD645lXUds7jtnvHt1+cw7Zc8ELpdnTKYYcjdtUf keVA8ZYbv5s5y8DtiC9fJlh4lElfvlbjTnqNDD8tWpovabGIYybJJYMqDwh2ihMa/piI Xs5l3pgitPCzwvPfyyhbZJRckZHdUKV1du9BQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1213096883.12366.8.camel@ec4t16cg-1518809>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <17749116.post@xxxxxxxxxxxxxxx> <4cac40570806100338o3c900afam4693f3c981c5a336@xxxxxxxxxxxxxx> <1213096883.12366.8.camel@ec4t16cg-1518809>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Which log are you looking at? Does 'xm dmesg' show anything more?
dmesg dose'nt contain any of my messages!!!

I did really mean:
xm dmesg



code it seems like we cant directly use printk, because the guest checks the
'console I/O ring buffer after receving an event for the same from
hypervisor ' . I chekced the functions of drivers/char/console.c and it has the funciton printk which is does generate the event for console I/ O but the
console.h

printk prototype is in lib.h (include/xen/lib.h)

Are you able to see _any_ output from the hypervisor at all? I don't
think printk in do_domctl will be any different.
I get only the messages from xend and from xc_lib but none of the
hypervisor printks' are getting printed.
Atleast i dont know where they are getting printed?? Is it in the
xenstore..i think not!!!

Xen can be configured to output it's messages on the serial line, and it also puts it in a buffer (console ring) for Dom0's attention, xm dmesg should print all the hypervisors output.

Cheers
Gr(z)egor(z)



Cheers
Gr(z)egor(z)



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

<Prev in Thread] Current Thread [Next in Thread>