xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Pete Delaney <pdelaney@silver-peak.com>
Cc: "piet.delaney@gmail.com" <piet.delaney@gmail.com>,
	Elaine Huang <ehuang@silver-peak.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: gdbsx - xg_attach:Unable to pause domain:1; failed to attach to domain:1 errno:13
Date: Tue, 26 Aug 2014 15:47:44 -0700	[thread overview]
Message-ID: <20140826154744.2f155cbc@mantra.us.oracle.com> (raw)
In-Reply-To: <6b706237be98403ea1b620d91dca71f7@BY2PR04MB173.namprd04.prod.outlook.com>

On Tue, 26 Aug 2014 02:14:30 +0000
Pete Delaney <pdelaney@silver-peak.com> wrote:

> Hi Mukesh:
> 
> I tried your gdbsx stub but hit a couple errors.
> I didn't find an explanation with google; nor on the xen-devel
> mailing list yet. Thought I'd ask ya.
> 
> I installed Ubuntu-14.04 Server with OpenXenManager on my Xenon
> workstation and have A Xenon blade also with Ubunto-14.04 and
> OpenXen. Seems to run about the same on both Machines.
> 
> This afternoon I pulled the Xen source with git from xenbits.xen.org
> and build it.
> 
> The version of gdbsx that I built on my workstation is having
> problems attaching to Domain-0. I tried this on the host. Do I need
> to create a shell to a Domain-0 instance or something?

gdbsx runs on dom0 and attaches to a domU.

>     root@piet-openxen:~# ./gdbsx -c 1 64
>     ERROR:xg_attach:Unable to pause domain:1
>     ERROR: failed to attach to domain:1 errno:13
> [Permission Denied]


Hmm... I just tried and it worked for me, so things are ok it seems
on latest xen/linux. The errno EPERM indicates something might not
be properly setup. Are you able to run other xen commands like xl list,
etc?  I see you are running as root, are you running gdbsx on dom0? 

Mukesh

  reply	other threads:[~2014-08-26 22:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-26  2:14 gdbsx - xg_attach:Unable to pause domain:1; failed to attach to domain:1 errno:13 Pete Delaney
2014-08-26 22:47 ` Mukesh Rathor [this message]
2014-08-27  3:02   ` Pete Delaney
2014-08-27 18:25     ` Mukesh Rathor
2014-09-16 22:58       ` Pete Delaney
2014-09-17  2:15         ` Mukesh Rathor
2014-09-17  3:21           ` Pete Delaney
2014-09-18  2:11           ` Pete Delaney
2014-09-23  0:10             ` Mukesh Rathor

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=20140826154744.2f155cbc@mantra.us.oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=ehuang@silver-peak.com \
    --cc=pdelaney@silver-peak.com \
    --cc=piet.delaney@gmail.com \
    --cc=xen-devel@lists.xen.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).