From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Gardner Subject: Re: XenMon failure to get trace buffers Date: Tue, 04 Apr 2006 08:49:42 -0600 Message-ID: <44328786.1040304@hp.com> References: <8e901aea0604040705u177b3198if30177fe4d588c5c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8e901aea0604040705u177b3198if30177fe4d588c5c@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: JP S Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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