All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Evans <andrewe@yahoo-inc.com>
To: xen-devel@lists.xensource.com
Subject: more xenoprof woes (active domains not working)
Date: Thu, 28 Jan 2010 17:25:17 -0800	[thread overview]
Message-ID: <4B6238FD.8090906@yahoo-inc.com> (raw)

(whoops, accidentally hit Ctrl-Enter while trying to paste, sorry!)

Hi,

I've been trying to get xenoprof working on a Xen 3.4.2 system running a
RHEL 5 dom0 kernel and RHEL 4 in the (only) domU.

I rebuilt Xen 3.4.2 with this patch as instructed in other messages to
this list:

http://lists.xensource.com/archives/html/xen-devel/2009-12/msg00709.html

That temporarily fixed the

(XEN) xenoprof: operation 9 failed for dom 0 (status : -1)

error seen in Xen dmesg when trying to start profiling an active domain.
Now that dreaded error is back, and I have no idea why: the version of
Xen that's booted hasn't changed, the patch has been applied to the
sources, the installed xen.gz in /boot matches the one built from the
patched sources byte-for-byte.

I'm following the instructions from
http://xenoprof.sourceforge.net/xenoprof_2.0.txt, specifically:

     1) On the initiator domain
         > opcontrol --reset
           (clear out any previous data of current session)
         > opcontrol --start-daemon
                     [--active-domains=<active_list>]
                     [--passive-domains=<passive_list>] ...
           (start OProfile daemon and specify the set of active and
           passive domains in the session)

     2) On each active domain
         > opcontrol --reset
         > opcontrol --start
         (indicates domain is ready to process performance events)
     3) On initiator
         > opcontrol --start
         (Multi-domain profiling session starts)
         (This is only successful if all active domains are ready)

I've rebooted the machine several times, but the error persists.

I'm going to try xen-unstable to see if that works, but is there
anything else I can try to get this working with 3.4.2? We have a number
of 3.3.1 systems that I'd like to be able to do active profiling of
domUs on.

thanks,

-Andrew

             reply	other threads:[~2010-01-29  1:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29  1:25 Andrew Evans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-01-29  1:17 more xenoprof woes (active domains not working) Andrew Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B6238FD.8090906@yahoo-inc.com \
    --to=andrewe@yahoo-inc.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.