From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Armbruster Subject: Re: Xenoprof errors with Xen-unstable Date: Fri, 26 May 2006 20:39:47 +0200 Message-ID: <871wug4olo.fsf@pike.pond.sub.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: (Padmashree K. Apparao's message of "Fri, 26 May 2006 11:13:04 -0700") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Apparao, Padmashree K" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org "Apparao, Padmashree K" writes: > I am running the latest xen-unstable on linux 2.6.16.13. I get the following > errors on trying to start Oprofile in the guest > > Operation 8 failed for domid 1 (sattus=-1). Could not open profiled device > > And operation 8 in xenoprof.h is enable_virq. > > > > I have debugged a bit and found that the active_index is returning -1 for the > guest domid. > > Renato suggests debugging the XENOPROF hypercall set_active as it may not be > adding the domain to the active list. Quick sanity check: what's the contents of /dev/oprofile/active_domains on your primary domain?