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: Tedi Tedijanto <ttedijanto@silver-peak.com>,
	"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, 16 Sep 2014 19:15:52 -0700	[thread overview]
Message-ID: <20140916191552.09758017@mantra.us.oracle.com> (raw)
In-Reply-To: <0c1d063160884df0b1ee207a82693276@BY2PR04MB173.namprd04.prod.outlook.com>

On Tue, 16 Sep 2014 22:58:37 +0000
Pete Delaney <pdelaney@silver-peak.com> wrote:

> Hi Mukesh:
> 
> 
> 
> Thanks for your help on enabling gdbsx...
> 
> 
> 
> > Hmm... that all seems ok then. Can you check your permissions on :
> 
> 
> 
> > /proc/xen/privcmd
> 
> 
> 
>   root@piet-openxen-blade:~# ls -l /proc/xen/privcmd
> 
>   -rw------- 1 root root 0 Aug 11 13:37 /proc/xen/privcmd
> 
> 
> 
> Privcmd seems to be a hypervisor call available from userland
> 
> For Xen developers:
> 
> 
> 
>       http://sanifool.com/2013/02/08/invoking-an-hypercall-from-userland-via-privcmd/
> 
> 
> 
> 
> 
> >  Other possibilities:
> 
> >   - do you have xsm enabled?
> 
> 
> 
> Don't  think so. I've heard this security stuff can get in the way.
> 
> Doing a  'xl list -Z' doesn't show any security
> labels.                                            [Wish I had
> Synergy Installed]
> 
> 
> 
> 
> 
> >-  can you put a printk in xen file common/domctl.c:
> 
> 
> 
> Sure but first I likely need to start using the openxen code that I
> compiled from src.
> 
> I'm currently using openxen installed via a Ubuntu 14.04 package.
> 
> 
> 
> Mind explaining the best way to proceed on switching to the openxen
> 
> That I compiled from source? I thought  some of it might be installed
> at /usr/local/
> 
> And perhaps just changing a search path or two will be sufficient.
> 
> 
> 
> I suspect I'll need to put a new xen kernel on /boot and update the
> grub config.

Correct. Just git clone xen tree to match your version, then edit the
file to add printk, then build xen. copy xen to target machine over
to /boot. Then edit grub kernel line to boot new xen.

Mukesh

  reply	other threads:[~2014-09-17  2:15 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
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 [this message]
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=20140916191552.09758017@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=ttedijanto@silver-peak.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).