xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* gdbsx - xg_attach:Unable to pause domain:1; failed to attach to domain:1 errno:13
@ 2014-08-26  2:14 Pete Delaney
  2014-08-26 22:47 ` Mukesh Rathor
  0 siblings, 1 reply; 9+ messages in thread
From: Pete Delaney @ 2014-08-26  2:14 UTC (permalink / raw)
  To: mukesh.rathor@oracle.com, xen-devel@lists.xen.org
  Cc: Pete Delaney, piet.delaney@gmail.com, Elaine Huang


[-- Attachment #1.1.1: Type: text/plain, Size: 2199 bytes --]

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?

    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]

    root@piet-openxen:~# xl list
    Name                                        ID   Mem VCPUs  State   Time(s)
    Domain-0                                     0 14734    12     r-----    8562.9
    New_PV_Driver                                1  1023     4     -b----      50.3
    root@piet-openxen:~#

    root@piet-openxen-blade:~# xl pause 1

    root@piet-openxen-blade:~# ./gdbsx  -a 1 32 9999
    ERROR:xg_attach:Unable to pause domain:1
    ERROR: failed to attach to domain:1 errno:13            [Permission Denied]

    root@piet-openxen-blade:~# xl list
    Name                                        ID   Mem VCPUs  State   Time(s)
    Domain-0                                     0 14734    12     r-----    8651.7
    New_PV_Driver                                1  1023     4     --p---     242.8
    root@piet-openxen-blade:~#

    root@piet-openxen-blade:~# ./gdbsx  -a 1 32 9999 -d
    xg_init:E
    xg_init:X:fd:3
    xg_attach:E:domid:1
    _check_hyp:XENCAPS:xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
    ERROR:xg_attach:Unable to pause domain:1
    ERROR: failed to attach to domain:1 errno:13
    root@piet-openxen-blade:~#

-piet

--
Pete/Piet Delaney
O: +1 408 935-1813
C: +1 408 646-8557
H: +1 408 243-8872
Home Email: piet.delaney@gmail.com<mailto:piet.delaney@gmail.com>

[Unity_Email_Sig]



[-- Attachment #1.1.2: Type: text/html, Size: 11446 bytes --]

[-- Attachment #1.2: image001.jpg --]
[-- Type: image/jpeg, Size: 36608 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-09-23  0:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-09-17  3:21           ` Pete Delaney
2014-09-18  2:11           ` Pete Delaney
2014-09-23  0:10             ` Mukesh Rathor

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).