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

[Xen-devel] Re: XenMon failure to get trace buffers

To: JP S <jpsanon@xxxxxxxxx>
Subject: [Xen-devel] Re: XenMon failure to get trace buffers
From: Rob Gardner <rob.gardner@xxxxxx>
Date: Tue, 04 Apr 2006 08:49:42 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 04 Apr 2006 07:50:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <8e901aea0604040705u177b3198if30177fe4d588c5c@xxxxxxxxxxxxxx>
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: <8e901aea0604040705u177b3198if30177fe4d588c5c@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
JP S wrote:

I am attempting to try out xenmon and am getting a error when I start it.
ERROR: Failure to get trace buffer pointer from Xen (22 = invalid argument) I also tried running "tbctl 1" but get "Enable/Disable hypercall failure: Invaid argument"



Sorry about the documentation; It leaves out an important step. You have to run "setsize" to allocate the trace buffer memory. The argument is in number of pages, ie, "setsize 20". Then you can run tbctl. This is one of the things I am fixing in the next release of xenmon- it will do this automatically.

Rob



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

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